All pastes #570521 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-16 19:02 UTC
rendered paste body
    {
        variable int i=0
	while ${i:Inc}<=${Me.Ability}
	{
	    if !${Me.TargetEffect[${Dot${i}}](exists)} 
	    {
		face
		waitframe
		Me.Ability[${Dot${i}}]:Use
		call MeCasting
		return
	    }
	    elseif ${Me.Ability[${CombatA${i}}].IsReady}
	    {
		Me.Ability[${CombatA${i}}]:Use
		call MeCasting
		return
	    }
        }
    }