Trying to deal with spells that are in flight and PE recasting them. I can see the below, but does this work like
!spell.casted(Sunfire) ??
Is there a last casted function ??Code:ProbablyEngine.condition.register("spell.casted", function(target, spell) return ProbablyEngine.module.player.casted(GetSpellName(spell)) end)