public override void UpdateAction()
    {
        base.UpdateAction();

        if (NodeUtil.StateActionMacro(Owner))
        {
        }

        else
        {
            if (NodeUtil.IsLastFrame(Owner))
            {
                NodeUtil.TakeDamageBoth(NodeUtil.GetCharactersInRange(Owner, false, false, 300f), -20f);
                NodeUtil.ChangeAction(Owner, "GoblinPriestIdleAction");
            }

            else
            {
            }
        }
    }
Exemple #2
0
    void TimeLine_4()
    {
        if (NodeUtil.PlayerInSight(Owner, 2f, 65f))
        {
            NodeUtil.TakeDamageToPlayer(20f);

            if (NodeUtil.IsActivateAbility(Owner, 208))
            {
                foreach (var e in NodeUtil.GetCharactersInRange(Owner, false, true, 30f))
                {
                    e.AddState(new CharacterState(CharacterStateType.E_Invincibility, e, NodeUtil.GetMosterParameter(Owner, 0)).Init());
                }
            }

            else
            {
            }
        }

        else
        {
        }
    }
Exemple #3
0
 void TimeLine_2()
 {
     NodeUtil.TakeDamageBoth(NodeUtil.GetCharactersInRange(Owner, false, false, 5f), -20f);
     NodeUtil.ChangeAction(Owner, "DruidIdlection");
 }