| AFNECRO.mac initial version v04.01.08
| by Bearcub & Meta53
| modify mainassist to be your tank.
| Uncomment/Comment what you want to cast, then go to the Event_Attack
| call loop and modify what you want there.
#include spell_routines.inc
#Event AttackCall "#*#necroattack#*#"
Sub Main
|------------READ THIS SECTION AND EDIT IF NEEDED-----------|
|-- Set spell casting order here
/declare mainassist string outer xxxxx
|====poison
|/declare spell_1 string outer Venonscale Venom
|/declare spell_2 string outer Vakk'dra's Sickly Mists Rk. II
|/declare spell_3 string outer Corath Venom
|/declare spell_4 string outer Kedgefish Venom Rk. II
|/declare spell_5 string outer Chaos Venom
|====fire
/declare spell_1 string outer Dread Pyre
/declare spell_2 string outer Pyre of the Lifeless
/declare spell_3 string outer Reaver's Pyre Rk. II
/declare spell_4 string outer Searing Shadow Rk. II
/declare spell_5 string outer Ashengate Pyre Rk. III
|====magic
/declare spell_6 string outer Auroral Darkness Rk. II
|-- Set to use FD here
/declare autoFD int outer 1
|-- Am I spammy about being OOM?
/declare lomspam int outer 1
|------------END EDITING------------------------------------|
/echo AFNecro Active
:manawatchloop
/if ((${Me.PctMana}<=20)&&(${announce}==1)&&(${lomspam}==1)) {
/g ${Me.PctMana}m
/varset lomspam 0
/timed 300 /varset lomspam 1
}
/if (${GameState.Equal[CHARSELECT]}) /end
/call CheckEvents
/goto :manawatchloop
/return
Sub CheckEvents
/delay 1
/doevents
/return
Sub Event_AttackCall
/assist ${mainassist}
/delay 1s
/echo Attack Called!
/if (${!Me.Standing}) /stand
/pet attack
/call Cast "${spell_1}" gem2 3.5s
/call Cast "${spell_4}" gem4 3.5s
/call Cast "${spell_6}" gem5 3.5s
/call Cast "${spell_3}" gem6 3.5s
/call Cast "${spell_5}" gem7 3.5s
/if (${autoFD}==1) /keypress 2
/delay 5s
/stand
/delay 1s
/if (${autoFD}==1) /keypress 2
/delay 1s
/stand
/delay 1s
/sit
/return