shaman bot having problems
Posted: Tue Jun 01, 2004 2:33 pm
Code: Select all
#include spellcast.inc
#Event resistslow "Your target resisted the Turgur's#*#"
#chat group
sub Main
/echo "Go smoke you fuck, Macro running."
/declare malospct int outer ${Param0}
/declare slowpct int outer ${Param1}
/declare assper string outer ${Param2}
/declare slowed int outer 0
/declare resslow int outer 0
/declare malos int outer 0
/declare debuff string outer malo
/declare slowps string outer turgur's insects
/declare cann string outer cannibalize IV
/declare focusing string outer khura's focusing
/declare stam string outer talisman of the boar
/declare haste string outer talisman of alacrity
/declare fos string outer focus of soul
:start
/doevents
/if (${Me.PctMana}<100 && ${Me.PctHPs}>90) /call canni
/goto :start
/return
Sub Event_Chat(ChatType,Sender,ChatText)
/if (${ChatText.Equal[assist]}) {
/assist ${assper}
/delay 10
/call malosm
/call slow
}
/return
Sub malosm
/if (${Target.PctHPs}<=${malospct} && malos==0 && ${Target.Distance}<=200){
/call cast "${debuff}"
/g Casting Malos on < %t >
/varset malos 1
/delay 23
/pet attack
}
/return
Sub slow
/if (${Target.PctHPs}<=${slowpct}&&slowed==0 && ${Target.Distance}<=200){
/call cast "${slowps}"
/g Casting Slow on < %t >
/varset slowed 1
/doevents
/delay 60
}
/return
Sub canni
/call cast "${cann}"
/delay 31
/return