Beispiel #1
0
    public override bool ApplyInstant(FormationUnit performer, FormationUnit target, Effect effect)
    {
        if (target == null)
        {
            return(false);
        }

        var markStatus = (StunStatusEffect)target.Character.GetStatusEffect(StatusType.Stun);

        if (markStatus.IsApplied)
        {
            markStatus.StunApplied = false;
            target.ResetHalo();
            return(true);
        }
        return(false);
    }