-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdru.inc
718 lines (611 loc) · 26.3 KB
/
dru.inc
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
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
|----------------------------------------------------------------------------
|- SUB: Druid
|----------------------------------------------------------------------------
|**
https://docs.google.com/document/d/1XQK_4SpSfrRjlZLt9CC_oKQPoF_D14CNJHDDZlf_lO0/edit#
Single-target heals
Revitalization -> Adrenaline Barrage-> Curavida
Group Heals
Lunasalve
Survival of the Auspicious
Wildtender's Survival
Debuffs
There are several debuffs that need to be placed on every single “main” boss NPC the raid encounters.
Frostreave Breath - The primary cold debuff.
Frostreave breath dramatically reduces armor class and increases cold damage taken by the target.
It also heals the target’s target.
Skin to Sumac - Increases fire damage taken by the target. Does not work on all NPCs.
Glistening Frost - Dramatically decreases the target’s Attack and Armor Class stats.
Blessing of Ro (AA)/Vortex of Ro(AA) - Casts the highest rank of Cowl of Ro you have scribed.
Massive fire debuff/damage increase/debuff. Vortex casts an AE version of the same spell.
All Druids can cast Blessing of Ro on whatever the raid encounters (including add trash).
Save the larger debuffs for bosses and assign one to each Druid to spread the work out.
Nukes
You can multibind this lineup (in this order):
Dicho -> Remote Sunblaze -> Cyclonic Roar -> Anabatic Roar -> Winter’s Wildblaze
Take note that the first two spells in this lineup provide a massive heal as well as top nuke damage for the class.
Making frequent use of them essentially fulfills two of your roles perfectly.
Offensive Casts (DoTs)
Druids have four extremely powerful DoTs that can be utilized during burns.
You want to cast as many of these as possible during spell twincast (not ITC).
Once spell twincast has faded you can hit ITC and finish your rotation:
Nature’s Blistering Wrath - Always cast this first
Horde of Polybiads
Sunflame
Chill of the Wildtender - This is a large “doom dot” that triggers a larger DoT when it fades
You can maintain these on large boss target(s) for as long as your mana/group survivability will allow.
Note that these DoTs are incredibly mana intensive and learning to balance your mana usage so you have something left over for healing is key.
Burning
Twincast (Spell) -> Nature’s Blistering Wrath -> Horde -> Sunflame -> Chill of the Wildtender -> Improved Twincast -> Nuke Weave -> DoT refresh as needed
TODO:
AAs:
Vortex of Ro
Wall of Wind
Wildtender's Unity
Spells:
Frostreave Breath
Skin to Sumac
Glistening Frost
Add SpellSet for Dots vs Nukes
Raid
Rotation for Spirit of Bear (and Swam of Fireflies)
Cures
**|
Sub dru_main
/if (!${Me.XTarget}) /call check_for_corpse FALSE
/if (!${doNotBuff} && !${timeForBuffs} && !${Me.XTarget}) /call dru_group_buffs
/if (!${doNotBuff} && !${Me.XTarget}) /call dru_combat_tank_buffs
/if (!${Me.XTarget}) /call dru_self_buffs
/if (!${Me.XTarget}) /call dru_heal_spam
/if (!${Me.XTarget}) /call dru_mana_check
/if (!${Me.XTarget}) {
/if (${validate_cast[FALSE, alt, "Wrath of the Wild", ${Group.MainTank.ID}]}) {
/call core_cast2 "Wrath of the Wild" alt ${Group.MainTank.ID} FALSE
}
}
/if (${Me.XTarget}) {
|**
/if (!${Me.Buff[Spirit of the Great Wolf].ID}) {
/if (${validate_cast[FALSE, alt, "Group Spirit of the Great Wolf", ${Me.ID}]}) {
/call core_cast2 "Group Spirit of the Great Wolf" alt 0 FALSE
}
} else /if (!${Me.Buff["Group Spirit of the Great Wolf"].ID}) {
/if (${validate_cast[FALSE, alt, "Spirit of the Great Wolf", ${Me.ID}]}) {
/call core_cast2 "Spirit of the Great Wolf" alt 0 FALSE
}
}
**|
/if (${validate_cast[FALSE, alt, "Group Spirit of the Great Wolf", ${Me.ID}]}) {
/call core_cast2 "Group Spirit of the Great Wolf" alt 0 FALSE
}
/if (${validate_cast[FALSE, alt, "Spirit of the Great Wolf", ${Me.ID}]}) {
/call core_cast2 "Spirit of the Great Wolf" alt 0 FALSE
}
} else {
/return
}
/while (${Me.XTarget} && ${Mode} == 3) {
/call get_target
/if (${check_for_named[FALSE]} || ${Me.XTarget}>=${BurnMobCount}) /call dru_burn_routine
/if (!${Target.Buff[${Me.AltAbility[Season's Wrath].Rank}].ID} && ${Target.Type.Equal[NPC]}) {
/if (${validate_cast[FALSE, alt, "Season's Wrath", ${Target.ID}]}) {
/call core_cast2 "Season's Wrath" alt ${Target.ID} FALSE
}
}
/if (${Target.Named}) {
/if (!${Target.Buff[${SingleFrostAtkDebuff}].ID} && ${Target.Type.Equal[NPC]}) {
/if (${validate_cast[FALSE, spell, "${SingleFrostAtkDebuff}", ${Target.ID}]}) {
/call core_cast2 "${SingleFrostAtkDebuff}" spell ${Target.ID} FALSE
}
}
}
/if (!${Target.Buff[${SingleFireAtkDebuff}].ID} && !${Target.Buff[${SingleFireAtkDebuffName}].ID} && !${immuneSet.Contains[${Target.ID}]} && ${Target.Type.Equal[NPC]}) {
/if (${validate_cast[FALSE, FIND, "${SingleFireAtkDebuffSpell}", ${Target.ID}]}) {
/call core_cast2 "${SingleFireAtkDebuffSpell}" FIND ${Target.ID} FALSE
/call check_cast_events "${SingleFireAtkDebuffSpell}" CAST_IMMUNE ${Target.ID}
}
}
/call dru_rotation
/if (${Me.XTarget} > 1) /call dru_debuff_xtarget
/if (${Me.PctMana} < 80) /call dru_mana_check
/call move_to_camp
/call pet_attack ${Target.ID}
/call check_state
}
/doevents
/return
sub dru_rotation
/declare _worstHurtId int local 0
/declare _hurtCount int local 0
/call check_hurt FALSE group 45 1
/varset _hurtCount ${Macro.Return}
/if (${_hurtCount}) {
|** EMERGENCY HEALS **|
/if (${validate_cast[FALSE, spell, "${Survival}", ${Me.ID}]}) {
/call core_cast2 "${Survival}" spell ${Me.ID} FALSE
/return
} else {
/if (${validate_cast[FALSE, alt, "Forceful Rejuvenation", ${Me.ID}]}) {
/call core_cast2 "Forceful Rejuvenation" alt 0 FALSE
/call core_cast2 "${Survival}" spell ${Me.ID} FALSE
/return
}
}
/if (${validate_cast[FALSE, alt, "Wildtender's Survival", ${Me.ID}]}) {
/call core_cast2 "Wildtender's Survival" alt ${Me.ID} FALSE
/return
}
}
/call check_hurt FALSE group 70 3
/varset _hurtCount ${Macro.Return}
/if (${_hurtCount}) {
|** GROUP HEALS **|
/if (${validate_cast[FALSE, alt, "Blessing of Tunare", ${Me.ID}]}) {
/call core_cast2 "Blessing of Tunare" alt ${Me.ID} FALSE
/return
}
/if (${validate_cast[FALSE, spell, "${Lunasalve}", ${Me.ID}]}) {
/call core_cast2 "${Lunasalve}" spell ${Me.ID} FALSE
/return
}
}
/call get_heal_target 80
/varset _worstHurtId ${Macro.Return}
/if (${_worstHurtId}) {
|**
Revitalization -> Adrenaline Barrage-> Curavida -> Convergence of Spirit
**|
|** SINGLE HEALS **|
/if (${validate_cast[FALSE, alt, "Convergence of Spirit", ${_worstHurtId}]}) {
/call core_cast2 "Convergence of Spirit" alt ${_worstHurtId} FALSE
}
/if (${validate_cast[FALSE, spell, "${Revitalization}", ${_worstHurtId}]}) {
/call core_cast2 "${Revitalization}" spell ${_worstHurtId} FALSE
/return
}
/if (${validate_cast[FALSE, spell, "${Adrenaline}", ${_worstHurtId}]}) {
/call core_cast2 "${Adrenaline}" spell ${_worstHurtId} FALSE
/return
}
/if (${validate_cast[FALSE, spell, "${Curavida}", ${_worstHurtId}]}) {
/call core_cast2 "${Curavida}" spell ${_worstHurtId} FALSE
/return
}
} else /if (${Me.XTarget}) {
/if (${Me.PctMana} < ${hybridManaLimit}) /return
/call get_target
/if (!${Target.Type.Equal[NPC]}) /call get_target
/if (!${Target.Type.Equal[NPC]}) /return
/if (!${validate_combat[${Target.ID}]}) /return
/if (${druDoSnare}) {
/if (!${Target.Snared.ID} && !${immuneSet.Contains[${Target.ID}]}) {
/if (${validate_cast[FALSE, FIND, "${SnareSpell}", ${Target.ID}]}) {
/call core_cast2 "${SnareSpell}" FIND ${Target.ID} FALSE
/call check_cast_events "${SnareSpell}" CAST_IMMUNE ${Target.ID}
/return
}
}
}
|**
Spell Twincast -> Nature’s Blistering Wrath -> Horde of Polybiads -> Sunflame -> Chill of the Wildtender
**|
/if (!${Me.Buff[Improved Twincast].ID}) {
/if (${Target.PctHPs} > 50) {
/if (${validate_cast[FALSE, spell, "${TwincastSpell}", ${Me.ID}]}) {
/call core_cast2 "${TwincastSpell}" spell 0 FALSE
}
/if (!${Target.Buff[${NBW}].ID}) {
/if (${validate_cast[FALSE, spell, "${NBW}", ${Target.ID}]}) {
/call core_cast2 "${NBW}" spell ${Target.ID} FALSE
/return
}
}
/if (!${Target.Buff[${DoTSpell1}].ID}) {
/if (${validate_cast[FALSE, spell, "${DoTSpell1}", ${Target.ID}]}) {
/call core_cast2 "${DoTSpell1}" spell ${Target.ID} FALSE
/return
}
}
/if (!${Target.Buff[${Sunflame}].ID}) {
/if (${validate_cast[FALSE, spell, "${Sunflame}", ${Target.ID}]}) {
/call core_cast2 "${Sunflame}" spell ${Target.ID} FALSE
/return
}
}
/if (!${Target.Buff[${Chill}].ID}) {
/if (${validate_cast[FALSE, spell, "${Chill}", ${Target.ID}]}) {
/call core_cast2 "${Chill}" spell ${Target.ID} FALSE
/return
}
}
}
}
|**
ITC -> Dicho -> Remote Sunblaze -> Cyclonic Roar -> Anabatic Roar -> Winter's Wildblaze
**|
/if (!${Me.Song[Twincast Effect].ID} && !${Me.Buff[${TwincastSpell}].ID} && !${Me.Buff[Improved Twincast ${ImprovedTwincastRank}].ID}) {
/if (${validate_cast[FALSE, alt, "Improved Twincast", ${Me.ID}]}) {
/call core_cast2 "Improved Twincast" alt 0 FALSE
}
}
/if (${validate_cast[FALSE, spell, "${DichoSpell}", ${Target.ID}]}) {
/call core_cast2 "${Adrenaline}" spell ${Target.ID} FALSE
/return
}
/if (${validate_cast[FALSE, spell, "${RemoteSun}", ${Target.ID}]}) {
/call core_cast2 "${RemoteSun}" spell ${Target.ID} FALSE
/return
}
/if (${validate_cast[FALSE, spell, "${Cyclonic}", ${Target.ID}]}) {
/call core_cast2 "${Cyclonic}" spell ${Target.ID} FALSE
/return
}
/if (${validate_cast[FALSE, spell, "${LowerCyclonic}", ${Target.ID}]}) {
/call core_cast2 "${LowerCyclonic}" spell ${Target.ID} FALSE
/return
}
/if (${validate_cast[FALSE, spell, "${Winter}", ${Target.ID}]}) {
/call core_cast2 "${Winter}" spell ${Target.ID} FALSE
/return
}
}
/return
|----------------------------------------------------------------------------
|- SUB: combat_tank_buffs
|----------------------------------------------------------------------------
Sub dru_heal_spam
|**
(Convergence of Spirit) -> Revitalization -> Adrenaline Barrage-> Curavida
**|
/call get_heal_target 80
/varset worstHurtId ${Macro.Return}
/if (${worstHurtId} > 0) {
/if (${validate_cast[FALSE, spell, "${Revitalization}", ${worstHurtId}]}) {
/call core_cast2 "${Revitalization}" spell ${worstHurtId} FALSE
}
}
/call get_heal_target 80
/varset worstHurtId ${Macro.Return}
/if (${worstHurtId} > 0) {
/if (${validate_cast[FALSE, spell, "${Curavida}", ${worstHurtId}]}) {
/call core_cast2 "${Curavida}" spell ${worstHurtId} FALSE
}
}
/return
|----------------------------------------------------------------------------
|- SUB: combat_tank_buffs
|----------------------------------------------------------------------------
Sub dru_combat_tank_buffs
/declare CastCheck int local 0
/if (${Group.Member[${Group.MainTank}].OtherZone}) /return
/if (!${Me.XTarget} && ${SpawnCount[pccorpse group radius ${setMaxRezRange}]}) /return
/if (!${Me.XTarget} && ${SpawnCount[pccorpse raid radius ${setMaxRezRange}]}) /return
/if (${Group.Member[${Group.MainTank}].Type.Equal[Mercenary]}) {
/if (${Mercenary.State.Equal[DEAD]} || ${Mercenary.State.Equal[SUSPENDED]}) /return
}
/if (${Target.ID} != ${Group.MainTank.ID}) {
/target id ${Group.MainTank.ID}
/delay 1s ${Target.ID} == ${Group.MainTank.ID}
}
/delay 5
/if (!${Target.Buff[${Reptile}].ID} && ${Target.PctHPs} > 70) {
/if (${validate_cast[FALSE, spell, ${Reptile}, ${Group.MainTank.ID}]}) {
/call core_cast2 "${Reptile}" spell ${Group.MainTank.ID} FALSE
/varset CastCheck 1
}
}
/if (${CastCheck}) {
/call ${Me.Class.ShortName.Lower}_load_spellbar
}
/return
|----------------------------------------------------------------------------
|- SUB: combat
|----------------------------------------------------------------------------
Sub dru_burn_routine
/if (${validate_cast[FALSE, alt, "Destructive Vortex", ${Me.ID}]}) {
/call core_cast2 "Destructive Vortex" alt 0 FALSE
}
/if (${validate_cast[FALSE, alt, "Distant Conflagration", ${Me.ID}]}) {
/call core_cast2 "Distant Conflagration" alt 0 FALSE
}
/if (${validate_cast[FALSE, alt, "Swarm of Fireflies", ${Group.MainTank.ID}]}) {
/call core_cast2 "Swarm of Fireflies" alt ${Group.MainTank.ID} FALSE
}
/call dru_heal_spam
| ADD MGB HERE IF IN RAID
/if (${validate_cast[FALSE, alt, "Spirit of the Wood", ${Group.MainTank.ID}]}) {
/call core_cast2 "Spirit of the Wood" alt ${Group.MainTank.ID} FALSE
}
/if (${validate_cast[FALSE, alt, "Spirit of the Bear", ${Group.MainTank.ID}]}) {
/call core_cast2 "Spirit of the Bear" alt ${Group.MainTank.ID} FALSE
}
/if (${validate_cast[FALSE, alt, "Spire of Nature", ${Group.MainTank.ID}]}) {
/call core_cast2 "Spire of Nature" alt ${Group.MainTank.ID} FALSE
}
/if (${validate_cast[FALSE, alt, "Nature's Fury", ${Me.ID}]}) {
/call core_cast2 "Nature's Fury" alt 0 FALSE
}
/call dru_heal_spam
/if (${validate_cast[FALSE, alt, "Nature's Boon", ${Me.ID}]}) {
/call core_cast2 "Nature's Boon" alt 0 FALSE
}
/if (${validate_cast[FALSE, alt, "Focus of Arcanum", ${Me.ID}]}) {
/call core_cast2 "Focus of Arcanum" alt 0 FALSE
}
/if (${validate_cast[FALSE, alt, "Improved Twincast", ${Me.ID}]}) {
/call core_cast2 "Improved Twincast" alt 0 FALSE
}
/if (${validate_cast[FALSE, alt, "Nature's Blessing", ${Me.ID}]}) {
/call core_cast2 "Nature's Blessing" alt 0 FALSE
}
/return
|----------------------------------------------------------------------------
|- SUB: debuff_xtarget
|----------------------------------------------------------------------------
Sub dru_debuff_xtarget
/declare _count int local 1
/if (!${Me.XTarget}) /return
/for _count 1 to ${Me.XTarget}
/if (${immuneSet.Contains[${Me.XTarget[${_count}].ID}]}) /continue
/if (${Me.XTarget[${_count}].ID} != ${Target.ID}) {
/target id ${Me.XTarget[${_count}].ID}
/delay 1s ${Me.XTarget[${_count}].ID} == ${Target.ID}
/delay 5
}
/if (${Target.Distance} > 200) /return
/if (!${Target.Type.Equal[NPC]}) /return
/if (!${Target.Buff[${SingleFireAtkDebuff}].ID}) {
/if (${validate_cast[FALSE, FIND, "${SingleFireAtkDebuffSpell}", ${Target.ID}]}) {
/if (${verbose${Me.Class.ShortName}}) /docommand /dgt Attack debuff \ar ${Target.Name} \ax with =>> \ag ${SingleFireAtkDebuffSpell} \ax <<=
/call core_cast2 "${SingleFireAtkDebuffSpell}" FIND ${Target.ID} FALSE
/call check_cast_events "${SingleFireAtkDebuffSpell}" CAST_IMMUNE ${Target.ID}
}
}
/if (${Target.Named}) {
/if (!${Target.Buff[${SingleFrostAtkDebuff}].ID}) {
/if (${validate_cast[FALSE, spell, "${SingleFrostAtkDebuff}", ${Target.ID}]}) {
/call core_cast2 "${SingleFrostAtkDebuff}" spell ${Target.ID} FALSE
}
}
}
/delay 1s
/next _count
/return
|----------------------------------------------------------------------------
|- SUB: group_buffs
|----------------------------------------------------------------------------
Sub dru_self_buffs
/declare CastCheck int local 0
/if (!${Me.Book[${SelfUnity}]}) {
|/if (!${Me.Buff[${Mask}].ID}) {
/if (${validate_cast[FALSE, spell, "${Mask}", ${Me.ID}]}) {
/call core_cast2 "${Mask}" spell ${Me.ID} FALSE
/varset CastCheck 1
}
|}
|/if (!${Me.Buff[${SelfDamageShield}].ID}) {
/if (${validate_cast[FALSE, spell, "${SelfDamageShield}", ${Me.ID}]}) {
/call core_cast2 "${SelfDamageShield}" spell ${Me.ID} FALSE
/varset CastCheck 1
}
|}
} else {
/if (!${Me.Buff[${SelfDamageShield}].ID} || !${Me.Buff[${Mask}].ID}) {
/if (${validate_cast[FALSE, spell, "${SelfUnity}", ${Me.ID}]}) {
/call core_cast2 "${SelfUnity}" spell ${Me.ID} FALSE
/varset CastCheck 1
}
}
}
/if (${validate_cast[FALSE, alt, "Protection of the Direwood", ${Me.ID}]}) {
/call core_cast2 "Protection of the Direwood" alt 0 FALSE
}
/if (${validate_cast[FALSE, alt, "Preincarnation", ${Me.ID}]}) {
/call core_cast2 "Preincarnation" alt 0 FALSE
}
/if (!${Me.Buff[Spirit of Eagles].ID} && !${Me.Buff[Flight of Eagles].ID}) {
/if (${validate_cast[FALSE, alt, "Spirit of Eagles", ${Me.ID}]}) {
/call core_cast2 "Spirit of Eagles" alt 0 FALSE
}
}
/if (${CastCheck}) {
/call ${Me.Class.ShortName.Lower}_load_spellbar
/if (${verbose${Me.Class.ShortName}}) /docommand /dgt \aw Done Buffing
}
/return
|----------------------------------------------------------------------------
|- SUB: group_buffs
|----------------------------------------------------------------------------
Sub dru_group_buffs
/declare _count int local 0
/declare CastCheck int local 0
/if (!${Group}) /return
/if (${Me.XTarget}) /return
/if (${Me.Casting.ID}) /return
/if (${SpawnCount[pccorpse group radius ${setMaxRezRange}]}) /return
/if (${SpawnCount[pccorpse raid radius ${setMaxRezRange}]}) /return
/if (${Group.Member[${Group.MainTank}].OtherZone}) /return
/if (${useMerc}) {
/if (${Mercenary.State.Equal[DEAD]} || ${Mercenary.State.Equal[SUSPENDED]}) /return
}
/for _count 0 to ${Group}
/if (${Group.Member[${_count}].OtherZone}) /continue
/if (${Group.Member[${_count}].Type.Equal[Corpse]}) /continue
/if (${Me.XTarget}) {
/call ${Me.Class.ShortName.Lower}_load_spellbar
/return
}
/if (${Mode} != 3) /return
/if (!${Me.Book[${GroupSkin}]}) {
/if (${Group.Member[${_count}].Type.Equal[PC]}) {
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Buff[${Skin}].ID" "tmpbuffid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Skin.ID" "tmpskinid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Aego.ID" "tmpaegoid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Spell[${Skin}].Stacks" "tmpstackcheck" "bool"
/if (${tmpstackcheck} && !${tmpaegoid} && !${tmpbuffid} && !${tmpskinid}) {
/if (${validate_cast[FALSE, spell, ${Skin}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${Skin}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
} else /if (${Group.Member[${_count}].Type.Equal[Mercenary]} && ${Group.Member[${_count}].ID} == ${Group.MainTank.ID} && !${Group.HealerMercCount} && !${Group.Cleric}) {
/if (${Group.Member[${_count}].ID} != ${Target.ID}) /target ${Group.Member[${_count}]}
/delay 1s
/if (!${Target.Buff[${Skin}].ID}) {
/if (${validate_cast[FALSE, spell, ${Skin}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${Skin}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
} else {
/if (${Group.Member[${_count}].Type.Equal[PC]}) {
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Buff[${GroupSkin}].ID" "tmpbuffid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Skin.ID" "tmpskinid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Aego.ID" "tmpaegoid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Spell[${GroupSkin}].Stacks" "tmpstackcheck" "bool"
/if (${tmpstackcheck} && !${tmpaegoid} && !${tmpbuffid} && !${tmpskinid}) {
/if (${validate_cast[FALSE, spell, ${GroupSkin}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${GroupSkin}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
} else /if (${Group.Member[${_count}].Type.Equal[Mercenary]} && ${Group.Member[${_count}].ID} == ${Group.MainTank.ID} && !${Group.HealerMercCount} && !${Group.Cleric}) {
/if (${Group.Member[${_count}].ID} != ${Target.ID}) /target ${Group.Member[${_count}]}
/delay 1s
/if (!${Target.Buff[${GroupSkin}].ID}) {
/if (${validate_cast[FALSE, spell, ${GroupSkin}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${GroupSkin}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
}
/if (!${druDoNotBuffShm}) {
/if (${Group.Member[${_count}].Type.Equal[PC]}) {
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Buff[${SoW}].ID" "tmpbuffid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Spell[${SoW}].Stacks" "tmpstackcheck" "bool"
/if (!${tmpbuffid} && ${tmpstackcheck}) {
/if (${validate_cast[FALSE, spell, ${SoW}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${SoW}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
} else /if (${Group.Member[${_count}].Type.Equal[Mercenary]} && ${Group.Member[${_count}].ID} == ${Group.MainTank.ID}) {
/if (${Group.Member[${_count}].ID} != ${Target.ID}) /target ${Group.Member[${_count}]}
/delay 1s
/if (!${Target.Buff[${SoW}].ID}) {
/if (${validate_cast[FALSE, spell, ${SoW}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${SoW}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
/if (${Group.Member[${_count}].Type.Equal[PC]}) {
|- This is done becasue a shaman or another druid could have given the buff with a different rank
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Me.Buff[${ShmAllianceBuff}].ID" "ShmAllianceRkI" "int"
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Me.Buff[${ShmAllianceBuff} Rk. II].ID" "ShmAllianceRkII" "int"
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Me.Buff[${ShmAllianceBuff} Rk. III].ID" "ShmAllianceRkIII" "int"
/if (!${ShmAllianceRkI} && !${ShmAllianceRkII} && !${ShmAllianceRkIII}) {
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Me.Buff[${AllianceBuff}].ID" "tmpbuffid" "int"
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Spell[${AllianceBuff}].Stacks" "tmpstackcheck" "bool"
/if (!${tmpbuffid} && ${tmpstackcheck}) {
/if (${validate_cast[FALSE, spell, ${AllianceBuff}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${AllianceBuff}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
} else /if (${Group.Member[${_count}].Type.Equal[Mercenary]}) {
/if (${Group.Member[${_count}].ID} != ${Target.ID}) /target ${Group.Member[${_count}]}
/delay 1s
/if (!${Target.Buff[${AllianceBuff}].ID} && !${Target.Buff[${ShmAllianceBuff}].ID} && !${Target.Buff[${ShmAllianceBuff} Rk. II].ID} && !${Target.Buff[${ShmAllianceBuff} Rk. III].ID}) {
/if (${validate_cast[FALSE, spell, ${AllianceBuff}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${AllianceBuff}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
/if (${Group.Member[${_count}].Type.Equal[PC]}) {
|- This is done becasue a shaman or another druid could have given the buff with a different rank
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Me.Buff[${GrowthBuff}].ID" "GrowthBuffRkI" "int"
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Me.Buff[${GrowthBuff} Rk. II].ID" "GrowthBuffRkII" "int"
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Me.Buff[${GrowthBuff} Rk. III].ID" "GrowthBuffRkIII" "int"
/if (!${GrowthBuffRkI} && !${GrowthBuffRkII} && !${GrowthBuffRkIII}) {
/call Gquery ${EverQuest.Server.Lower}_${Group.Member[${_count}].Name.Lower} "Spell[${GrowthBuff}].Stacks" "tmpstackcheck" "bool"
/if (${tmpstackcheck}) {
/if (${validate_cast[FALSE, spell, ${GrowthBuff}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${GrowthBuff}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
} else /if (${Group.Member[${_count}].Type.Equal[Mercenary]}) {
/if (${Group.Member[${_count}].ID} != ${Target.ID}) /target ${Group.Member[${_count}]}
/delay 1s
/if (!${Target.Buff[${GrowthBuff}].ID}) {
/if (${validate_cast[FALSE, spell, ${GrowthBuff}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${GrowthBuff}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
}
/if (${Mode} != 3) /return
/if (${Group.Member[${_count}].ID} == ${Group.MainTank.ID}) {
/if (${Group.Member[${_count}].Type.Equal[PC]}) {
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Buff[${DamageShield}].ID" "tmpbuffid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Spell[${DamageShield}].Stacks" "tmpstackcheck" "bool"
/if (!${tmpbuffid} && ${tmpstackcheck}) {
/if (${validate_cast[FALSE, spell, ${DamageShield}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${DamageShield}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
} else /if (${Group.Member[${_count}].Type.Equal[Mercenary]}) {
/if (${Group.Member[${_count}].ID} != ${Target.ID}) /target ${Group.Member[${_count}]}
/delay 1s
/if (!${Target.Buff[${DamageShield}].ID}) {
/if (${validate_cast[FALSE, spell, ${DamageShield}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${DamageShield}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
/if (${Group.Member[${_count}].Type.Equal[PC]}) {
/call Gquery ${Group.Member[${_count}].Name.Lower} "Me.Buff[${Reptile}].ID" "tmpbuffid" "int"
/call Gquery ${Group.Member[${_count}].Name.Lower} "Spell[${Reptile}].Stacks" "tmpstackcheck" "bool"
/if (!${tmpbuffid} && ${tmpstackcheck}) {
/if (${validate_cast[FALSE, spell, ${Reptile}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${Reptile}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
} else /if (${Group.Member[${_count}].Type.Equal[Mercenary]}) {
/if (${Group.Member[${_count}].ID} != ${Target.ID}) /target ${Group.Member[${_count}]}
/delay 1s
/if (!${Target.Buff[${Reptile}].ID}) {
/if (${validate_cast[FALSE, spell, ${Reptile}, ${Group.Member[${_count}].ID}]}) {
/call core_cast2 "${Reptile}" spell ${Group.Member[${_count}].ID} FALSE
/varset CastCheck 1
}
}
}
}
/next _count
|- Delete variable's
/if (${Defined[tmpbuffid]}) /deletevar tmpbuffid
/if (${Defined[tmpskinid]}) /deletevar tmpskinid
/if (${Defined[tmpsymbolid]}) /deletevar tmpsymbolid
/if (${Defined[tmpaegoid]}) /deletevar tmpaegoid
/if (${Defined[tmpstackcheck]}) /deletevar tmpstackcheck
/if (${CastCheck}) {
/call ${Me.Class.ShortName.Lower}_load_spellbar
/if (${verbose${Me.Class.ShortName}}) /docommand /dgt \aw Done Buffing
}
/call set_timers
/return
Sub dru_mana_check
/call bag_mod_rod
/call use_mod_rod
/return