Code: Select all
<onSkillCast>
if( 15 > player.HP/player.MaxHP*100 ) then
player:cast("PRIEST_SOUL_SOURCE");
elseif( 25 > player.HP/player.MaxHP*100 ) then
player:cast("PRIEST_HOLY_AURA");
player:cast("PRIEST_URGENT_HEAL");
player:cast("PRIEST_URGENT_HEAL");
end;
</onSkillCast>
If I find a little more time, I would/will try to look for a solution.
btw: I couldn't get that coding to work with the '<' symbol. So I turn it around as '>' query.