Code: Select all
Sub Spellcast
:recast
/doevents
/if @Casteagle_Flag=="1" {
/cast "Eagle Eye"
/varset Casteagle_Flag 0
}
/if @CastsoE_Flag=="1" {
/press tab
/cast "Spirit of Eagle"
/varset CastsoE_Flag 0
}
/if @Nalot_Flag=="1" {
/cast item "Eyepatch of Plunder"
/varset Nalot_Flag 0
}
/goto :recast
/return
| --> EVENTS DONE by #EVENT
Sub Event_EAGLEEYE
/Echo (re)casting Eagle Eye
/varset Casteagle_Flag 1
/return
Sub Event_SPIRITOF
/Echo (re)casting Spirit of Eagle
/varset CastsoE_Flag 1
/return
Sub Event_FIZZLE
/ECHO You Fizzle.
/varset Fizz_Flag 1
/return
| -->The 4 haste events is to ensure you to keep haste 100% of the time on yourself.
| -->Only when you begin with selfbuffs
Sub Event_HASTE
/Echo (re)casting Captain Nalot's Quickening
/varset Nalot_Flag 1
/call Spellcast
/return
| -->These #Events are described as: E = Enchanter S = Shaman S2 = Shaman
| -->When these spells fade, it checks whether you are still targetting an NPC (hopefully while in battle)
| -->When the haste fades during battle it will trigger an event and cast your selfhaste item on you
| -->This minimizes the dramatic loss of DPS during the fight.
Sub Event_HASTE_E
/if $target(type)=="NPC" {
/Echo (re)casting Captain Nalot's Quickening
/varset Nalot_Flag 1
/call Spellcast
}
/return
Sub Event_HASTE_S
/if $target(type)=="NPC" {
/Echo (re)casting Captain Nalot's Quickening
/varset Nalot_Flag 1
/call Spellcast
}
/return
Sub Event_HASTE_S2
/if $target(type)=="NPC" {
/Echo (re)casting Captain Nalot's Quickening
/varset Nalot_Flag 1
/call Spellcast
}
/return
Sub Event_SLAINBY
/Echo Slained Event Entered
/endmacro
/return

