Paste #15079: The full script

Date: 2015/04/14 16:25:00 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676


#    - if <player.has_flag[loop_running]> queue clear  
#    - flag player loop_running 
rustung:
  type: world  
  events:  
    on player equips armor:   
    - announce "World Script startet" 
    - define item <context.armor.scriptname||false> 
    - if %item% == false queue clear 
    - if li@AST1_1|AST1_2|AST1_3|AST1_4|AST2_1|AST2_2|AST2_3|AST2_4|VX_1|VX_2|VX_3|VX_4|VX2_1|VX2_2|VX2_3|VX2_4|BA_1|BA_2|BA_3|BA_4|BA2_1|BA2_2|BA2_3|BA2_4 contains %item% {   
      - if !<player.has_flag[L_%item%]> 
      - announce 'Starting Loop' 
      - flag player L_%item% 
      - run s@T_%item% 
      }  
    - queue clear

#Assasinenset T-0_1
AST1_1:
    type: item  
    debug: true  
    material: diamond_helmet  
    display name: Diamand Helm
    lore:  
    - Name 1
    enchantments:
    - DURABILITY:2
    - PROTECTION_FIRE:1
    - OXYGEN:2

AST1_2:
    type: item  
    debug: true  
    material: diamond_chestplate
    display name: Diamant Brustplatte  
    lore:  
    - Name 2
    enchantments:
    - DURABILITY:2

AST1_3:
    type: item  
    debug: true  
    material: diamond_leggings
    display name: Diamant Hose
    lore:  
    - Name 3
    enchantments:
    - DURABILITY:2
    - PROTECTION_PROJECTILE:5

AST1_4:
    type: item 
    debug: true
    material: diamond_boots
    display name: Diamant Schuhe 
    lore: 
    - Name 4
    enchantments:
    - DURABILITY:2
    - PROTECTION_FALL:2
#Assasinenset T-1_1

AST2_1:
    type: item
    material: diamond_helmet
    display name: Diamant Schuhe 2
    lore:
    - Name 5
    enchantments:
    - DURABILITY:10
    - PROTECTION_FIRE:10
    - OXYGEN:10

AST2_2:
    type: item
    material: diamond_chestplate
    display name: Diamant Harnisch
    lore:
    - name 6
    enchantments:
    - DURABILITY:10

AST2_3:
    type: item
    material: diamond_leggings
    display name: Diamant Hose
    lore:
    - name 7
    enchantments:
    - DURABILITY:10
    - PROTECTION_PROJECTILE:10

AST2_4:
    type: item
    material: diamond_boots
    display name: Diamant Schuhe
    lore:
    - name 8
    enchantments:
    - DURABILITY:10
    - PROTECTION_FALL:10
# Vortex T-0

VX_1:
    type: item  
    debug: true  
    material: diamond_helmet  
    display name: Diamand Helm
    lore:  
    - Name 1
    enchantments:
    - DURABILITY:2
    - PROTECTION_FIRE:1
    - PROTECTION_ENVIRONMENTAL:2

VX_2:
    type: item  
    debug: true  
    material: diamond_chestplate
    display name: Diamant Brustplatte  
    lore:  
    - Name 2
    enchantments:
    - DURABILITY:2
    - PROTECTION_PROJECTILE:5
    - PROTECTION_ENVIRONMENTAL:2

VX_3:
    type: item  
    debug: true  
    material: diamond_leggings
    display name: Diamant Hose
    lore:  
    - Name 3
    enchantments:
    - DURABILITY:2
    - PROTECTION_ENVIRONMENTAL:2

VX_4:
    type: item 
    debug: true
    material: diamond_boots
    display name: Diamant Schuhe 
    lore: 
    - Name 4
    enchantments:
    - DURABILITY:2
    - THORNS:2
    - PROTECTION_EXPLOSIONS:2
    - PROTECTION_ENVIRONMENTAL:2

# Vortex T-1
VX2_1:
    type: item  
    debug: true  
    material: diamond_helmet  
    display name: Diamand Helm
    lore:  
    - Name 1
    enchantments:
    - DURABILITY:10
    - PROTECTION_FIRE:10
    - PROTECTION_ENVIRONMENTAL:4

VX2_2:
    type: item  
    debug: true  
    material: diamond_chestplate
    display name: Diamant Brustplatte  
    lore:  
    - Name 2
    enchantments:
    - DURABILITY:10
    - PROTECTION_ENVIRONMENTAL:4
    - PROTECTION_PROJECTILE: 10

VX2_3:
    type: item  
    debug: true  
    material: diamond_leggings
    display name: Diamant Hose
    lore:  
    - Name 3
    enchantments:
    - DURABILITY:10
    - PROTECTION_ENVIRONMENTAL:4

VX2_4:
    type: item 
    debug: true
    material: diamond_boots
    display name: Diamant Schuhe 
    lore: 
    - Name 4
    enchantments:
    - DURABILITY:10
    - PROTECTION_ENVIRONMENTAL:4
    - THORNS:4
    - PROTECTION_EXPLOSIONS:10
# Balbador T-0

BA_1:
    type: item  
    debug: true  
    material: diamond_helmet  
    display name: Diamand Helm
    lore:  
    - Name 1
    enchantments:
    - DURABILITY:2
    - PROTECTION_ENVIRONMENTAL:2

BA_2:
    type: item  
    debug: true  
    material: diamond_chestplate
    display name: Diamant Brustplatte  
    lore:  
    - Name 2
    enchantments:
    - DURABILITY:2
    - PROTECTION_ENVIRONMENTAL:2

BA_3:
    type: item  
    debug: true  
    material: diamond_leggings
    display name: Diamant Hose
    lore:  
    - Name 3
    enchantments:
    - DURABILITY:2
    - PROTECTION_ENVIRONMENTAL:2

BA_4:
    type: item 
    debug: true
    material: diamond_boots
    display name: Diamant Schuhe 
    lore: 
    - Name 4
    enchantments:
    - DURABILITY:2
    - PROTECTION_ENVIRONMENTAL:2
    - PROTECTION_EXPLOSIONS:2
    - PROTECTION_FIRE:1
# Balbador T-1

BA2_1:
    type: item  
    debug: true  
    material: diamond_helmet  
    display name: Diamand Helm
    lore:  
    - Name 1
    enchantments:
    - DURABILITY:10
    - PROTECTION_ENVIRONMENTAL:4

BA2_2:
    type: item  
    debug: true  
    material: diamond_chestplate
    display name: Diamant Brustplatte  
    lore:  
    - Name 2
    enchantments:
    - DURABILITY:10
    - PROTECTION_ENVIRONMENTAL:4

BA2_3:
    type: item  
    debug: true  
    material: diamond_leggings
    display name: Diamant Hose
    lore:  
    - Name 3
    enchantments:
    - DURABILITY:10
    - PROTECTION_ENVIRONMENTAL:4

BA2_4:
    type: item 
    debug: true
    material: diamond_boots
    display name: Diamant Schuhe 
    lore: 
    - Name 4
    enchantments:
    - DURABILITY:10
    - PROTECTION_ENVIRONMENTAL:4
    - PROTECTION_EXPLOSIONS:10
    - PROTECTION_FIRE:10

#Assasinenset T-0_1
T_AST1_1:
  type: task  
  script:  
# - announce " Task script starting. Castion potion to <player.name>. "  
  - cast FAST_DIGGING duration:6s power:1 
  - wait 3s  
  - flag player L_AST1_1:!  
  - if <player.equipment.helmet.scriptname||null> == AST1_1 {
    #- announce " If case running "  
    - run s@T_AST1_1  
    }  
  #- announce " Script is closing now" 

T_AST1_2:
  type: task  
  script:  
# - announce " Task script 2 starting. Castion potion to <player.name>. "  
  - cast SPEED duration:6s power:1
  - wait 3s  
  - flag player L_AST1_2:!  
  - if <player.equipment.chestplate.scriptname||null> == AST1_2 {   
    #- announce " If case2 running "  
    - run s@T_AST1_2 
    }  
  #- announce " Script2 is closing now" 

T_AST1_3:
  type: task  
  script:  
# - announce " Task script 3 starting. Castion potion to <player.name>. "  
  - cast JUMP duration:6s power:1  
  - wait 3s  
  - flag player L_AST1_3:!    
  - if <player.equipment.leggings.scriptname||null> == AST1_3 { 
    #- announce " If case3 running "  
    - run s@T_AST1_3 
    }  
  #- announce " Script3 is closing now" 

T_AST1_4:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - adjust <player> max_health:22  
  - wait 3s  
  - flag player L_AST1_4:!   
  - if <player.equipment.boots.scriptname||null> == AST1_4 {  
    #- announce " If case4 running "  
    - run s@T_AST1_4 
    }  
    else {
    - adjust <player> max_health:20
    }
  #- announce " Script4 is closing now" 

#T_AST2
T_AST2_1:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SATURATION duration:6s power:1  
  - cast NIGHT_VISION duration:6s power:1
  - cast FAST_DIGGING duration:6s power:2
  - wait 3s  
  - flag player L_AST2_1:!   
  - if <player.equipment.helmet.scriptname||null> == AST2_1 {  
    #- announce " If case4 running "  
    - run s@T_AST2_1 
    }   
  #- announce " Script4 is closing now"

T_AST2_2:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SPEED duration:6s power:3  
  - wait 3s  
  - flag player L_AST2_2:!   
  - if <player.equipment.chestplate.scriptname||null> == AST2_2 {  
    #- announce " If case4 running "  
    - run s@T_AST2_2 
    }  
  #- announce " Script4 is closing now"

T_AST2_3:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast JUMP duration:6s power:3  
  - wait 3s  
  - flag player L_AST2_3:!   
  - if <player.equipment.leggings.scriptname||null> == AST2_3 {  
    #- announce " If case4 running "  
    - run s@T_AST2_3 
    }  
  #- announce " Script4 is closing now"

T_AST2_4:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast INVISIBILITY duration:6s power:1
  - adjust <player> max_health:24  
  - wait 3s  
  - flag player L_AST2_4:!   
  - if <player.equipment.boots.scriptname||null> == AST2_4 {  
    #- announce " If case4 running "  
    - run s@T_AST2_4 
    }
    else {
    - adjust <player> max_health:20
    }
  #- announce " Script4 is closing now" 

#VX ------------------------------------------------------------------------------ 
T_VX_1:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SLOW duration:6s power:2  
  - cast DAMAGE_RESISTANCE duration:6s power:1
  - wait 3s  
  - flag player L_VX_1:!   
  - if <player.equipment.helmet.scriptname||null> == VX_1 {  
    #- announce " If case4 running "  
    - run s@T_VX_1 
    }  
  #- announce " Script4 is closing now" 

T_VX_2:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SLOW duration:6s power:2  
  - adjust <player> max_health:23
  - wait 3s  
  - flag player L_VX_2:!   
  - if <player.equipment.chestplate.scriptname||null> == VX_2 {  
    #- announce " If case4 running "  
    - run s@T_VX_2 
    }
    else {
    - adjust <player> max_health:20
    }
  #- announce " Script4 is closing now" 

T_VX_3:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SLOW duration:6s power:2   
  - cast REGENERATION duration:6s power:1
  - wait 3s  
  - flag player L_VX_3:!   
  - if <player.equipment.leggings.scriptname||null> == VX_3 {  
    #- announce " If case4 running "  
    - run s@T_VX_3 
    }  
  #- announce " Script4 is closing now" 

T_VX_4:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SLOW duration:6s power:2   
  - wait 3s  
  - flag player L_VX_4:!   
  - if <player.equipment.boots.scriptname||null> == VX_4 {  
    #- announce " If case4 running "  
    - run s@T_VX_4 
    }  
  #- announce " Script4 is closing now" 

#VX 2 --------------------------------------------------------------------------
T_VX2_1:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SLOW duration:6s power:1  
  - cast RESISTANCE duration:6s power:3
  - wait 3s  
  - flag player L_VX2_1:!   
  - if <player.equipment.helmet.scriptname||null> == VX2_1 {  
    #- announce " If case4 running "  
    - run s@T_VX2_1 
    }  
  #- announce " Script4 is closing now" 

T_VX2_2:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SLOW duration:6s power:1 
  - adjust <player> max_health:27
  - wait 3s
  - flag player L_VX2_2:!
  - if <player.equipment.chestplate.scriptname||null> == VX2_2 {  
    #- announce " If case4 running "  
    - run s@T_VX2_2 
    }
    else {
    - adjust <player> max_health:20
    }
  #- announce " Script4 is closing now" 

T_VX2_3:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SLOW duration:6s power:1  
  - cast REGENERTION duration:6s power:3
  - wait 3s  
  - flag player L_VX2_3:!   
  - if <player.equipment.leggings.scriptname||null> == VX2_3 {  
   # - announce " If case4 running "  
    - run s@T_VX2_3 
    }  
  #- announce " Script4 is closing now" 

T_VX2_4:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast SLOW duration:6s power:1 
  - cast SURATION duration:6s power:1
  - wait 3s  
  - flag player L_VX2_4:!   
  - if <player.equipment.boots.scriptname||null> == VX2_4 {  
    #- announce " If case4 running "  
    - run s@T_VX2_4 
    }  
  #- announce " Script4 is closing now" 

# Baldor T-0
T_BA_1:
  type: task  
  script:
# - announce " Balder T-0 n to <player.name>. "  
  - cast INCREASE_DAMAGE duration:6s power:1
  - wait 3s  
  - flag player L_BA_1:!   
  - if <player.equipment.helmet.scriptname||null> == BA_1 {  
    #- announce " If case4 running "  
    - run s@T_BA_1 
    }  
  #- announce " Script4 is closing now" 

T_BA_2:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast REGENERATION duration:6s power:2
  - wait 3s  
  - flag player L_BA_2:!   
  - if <player.equipment.chestplate.scriptname||null> == BA_2 {  
    #- announce " If case4 running "  
    - run s@T_BA_2 
    }  
  #- announce " Script4 is closing now" 

T_BA_3:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - adjust <player> max_health:22 
  - wait 3s  
  - flag player L_BA_3:!   
  - if <player.equipment.leggings.scriptname||null> == BA_3 {  
   #- announce " If case4 running "  
    - run s@T_BA_3 
    }  
    else {
    - adjust <player> max_health:20
    }
  #- announce " Script4 is closing now" 

T_BA_4:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "   
  - cast SATURATION duration:6s power:1
  - wait 3s  
  - flag player L_BA_4:!   
  - if <player.equipment.boots.scriptname||null> == BA_4 {  
    #- announce " If case4 running "  
    - run s@T_BA_4 
    }  
  #- announce " Script4 is closing now" 

#Baldor T-1
T_BA2_1:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast INCREASE_DAMAGE duration:6s power:2 
  - wait 3s  
  - flag player L_BA2_1:!   
  - if <player.equipment.helmet.scriptname||null> == BA2_1 {  
    #- announce " If case4 running "  
    - run s@T_BA2_1 
    }  
  #- announce " Script4 is closing now"

T_BA2_2:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast REGENERATION duration:6s power:5 
  - wait 3s  
  - flag player L_BA2_2:!   
  - if <player.equipment.chestplate.scriptname||null> == BA2_2 {  
    #- announce " If case4 running "  
    - run s@T_BA2_2 
    }  
  #- announce " Script4 is closing now"

T_BA2_3:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - adjust <player> max_health:25 
  - wait 3s  
  - flag player L_BA2_3:!   
  - if <player.equipment.leggings.scriptname||null> == BA2_3 {  
    #- announce " If case4 running "  
    - run s@T_BA2_3 
    }  
    else {
    - adjust <player> max_health:20
    }
  #- announce " Script4 is closing now"

T_BA2_4:
  type: task  
  script:  
# - announce " Task script 4 starting. Castion potion to <player.name>. "  
  - cast DAMAGE_RESISTANCE duration:6s power:1 
  - cast SURATION duration:6s power:1
  - wait 3s  
  - flag player L_BA2_4:!   
  - if <player.equipment.boots.scriptname||null> == BA2_4 {  
    #- announce " If case4 running "  
    - run s@T_BA2_4 
    }  
  #- announce " Script4 is closing now"

#armortask:  
#  type: task  
#  script:  
#  - announce " Armortask startet hier. " 
#  - if <player.has_flag[loop_running]> queue clear 
#  - flag player loop_running 
#  - announce " Komme durch den FLag engage. " 
# - if <player.equipment.boots.scriptname||null> == eisenschuhe {  
#    - announce " Subscript 1 running by <player.name>. "  
#    - cast JUMP duration:6s power:3  
#    - wait 3s 
#    - run s@armortask 
#    }  
#  - if <player.equipment.leggings.scriptname||null> == eisenhose {  
#    - announce " Subscript 2 running by <player.name> "  
#    - cast CONFUSION duration:6s power:3  
#    - wait 3s  
#    - run s@armortask 
#    }  
#  - if <player.equipment.chestplate.scriptname||null> == eisenbrust {  
#    - announce " Subscript 3 running by <player.name> " 
#    - cast INVISIBILITY duration:6s power:3 
#    - wait 3s  
#    - run s@armortask 
#    }  
#  - if <player.equipment.helmet.scriptname||null> == eisenhelm {  
#    - announce " Subscript 4 running by <player.name>. "  
#    - cast SPEED duration:6s power:3  
#    - wait 3s 
#    - run s@armortask 
#    }  
# - announce " Am Ende angekommen. " 
#  - flag player loop_running:! 
#  - queue clear