All pastes #388789 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-10 08:53 UTC
rendered paste body
Every time there's something like this in Routine() :

       if ${Spell["Lay on Hands"](exists)}
                {
                        if ${Me.PctHPs} <= ${This.HandsHpPct} && ${Me.Action["Lay on Hands"].Usable}
                        {
                                cast "Lay on Hands"
                                This:Echo["[Heal] Emergency LOH Heal"]
                        }
                }


Combine the nested if statement into the out if statement, like this:

if ${Spell["Lay on Hands"](exists)} && ${Me.PctHPs} <= ${This.HandsHpPct} && ${Me.Action["Lay on Hands"].Usable}
                {
                           cast "Lay on Hands"
                           This:Echo["[Heal] Emergency LOH Heal"]
                }