Code: Select all
| bindwound.mac by ddh
| Syntax: /macro bindwound.mac
| Binds the targets wounds to your limit and then ends.
| If no target is present, it assumes you want to bind yourself.
| bindwound contains the number required for /doability
| limit is how much you can bind
#event NoBandages "You can't bandage without bandages, go buy some."
#define limit 50
Sub Main
/stand
/if $target()==FALSE /press f1
/delay 1s
/if n $target(hp,pct)>limit {
/sit
/return
}
:BindLoop
/doability "Bind Wound"
:BindUnfinished
/doevents
/if n $char(ability,"Bind Wound")<0 /goto :BindUnfinished
/if n $target(hp,pct)<limit /goto :BindLoop
/return
Sub Event_NoBandages
/endmacro
/return