Code: Select all
Sub Patchheal
/if n @Param0==$char(id) {
/if @Param0!=$target(id) /target myself
}
/if @Param0!=$char(id) {
/if $target(id)!=@Param0 /target id @Param0
}
/delay 1
/stand
/if n @CastMsgTimer1<=0 {
/if n @ReportAutoHeal==1 /g @PatchhealMsg
/varset CastMsgTimer1 50
}
/if n $char(gem,"@PatchhealSpell")>0 /cast "@PatchhealSpell"
/if n @SitAfterCast==1 /varset SitTimer @DelayBeforeSit
/press esc
/return Corrected section below:
Code: Select all
Sub Patchheal
/if n @Param0==$char(id) {
/if @Param0!=$target(id) /target myself
}
/if @Param0!=$char(id) {
/if $target(id)!=@Param0 /target id @Param0
}
/delay 1
/stand
/if n @CastMsgTimer1<=0 {
/if n @ReportAutoHeal==1 /g @PatchHealMsg
/varset CastMsgTimer1 50
}
/if n $char(gem,"@PatchSpell")>0 /cast "@PatchSpell"
/if n @SitAfterCast==1 /varset SitTimer @DelayBeforeSit
/press esc
/return Great work!!



