bw.mac (Bind Wound)
Posted: Mon Jun 21, 2004 5:53 pm
It's a macro, it binds your wounds... what else can I say?
[edit] Changed it so if target is too far away you will target yourself to check if you need bandaged.
[edit2] Left out a /return, works perfectly now.
[edit] Changed it so if target is too far away you will target yourself to check if you need bandaged.
[edit2] Left out a /return, works perfectly now.
Code: Select all
|---bw.mac
|
|---Written by TheWarden
|
|---This macro binds your wounds until you hit 70% HP
#Event player "#*#You must target a player to bandage.#*#"
#Event bandaid "#*#You can't bandage without bandages, go buy some.#*#"
#Event toofar "#*#You must be closer to bandage #*#"
Sub Main
:Loop
/if (${Me.Combat}) {
/echo In combat is NOT the best time to Bind Wounds!
/endmacro
}
/if (!${Target.ID}) {
/echo No target selected to Bind Wounds! Targeting self.
/target
}
/if (${Target.PctHPs}<69) {
/if (${Me.AbilityReady[Bind Wound]}) {
/delay 3
/do "Bind Wound"
}
/doevents
}
/if (${Target.PctHPs}>=70) {
/echo Target has 70%hp or more! Ending Macro.
/endmacro
}
/goto :Loop
/return
Sub Event_bandaid
/echo No bandages! Ending Macro.
/endmacro
Sub Event_player
/echo You have an NPC targeted! Targeting self.
/target
/return
Sub Event_toofar
/echo Target too far away. Targeting self.
/target
/return