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

        if (NodeUtil.HitDeadLogicMacro(Owner, "WoodTotemHitAction", "WoodTotemDeadAction"))
        {
            return;
        }
    }
예제 #2
0
    public override void UpdateAction()
    {
        base.UpdateAction();

        if (NodeUtil.HitDeadLogicMacro(Owner, "EnemyHitAction", "EnemyIdleAction"))
        {
        }

        else
        {
        }
    }
예제 #3
0
    public override void UpdateAction()
    {
        base.UpdateAction();

        if (NodeUtil.HitDeadLogicMacro(Owner, "EnemyHitAction", "EnemyDeadAction"))
        {
        }

        else
        {
            if (NodeUtil.IsLastFrame(Owner))
            {
                NodeUtil.ChangeAction(Owner, "EnemyIdleAction");
            }

            else
            {
            }
        }
    }
예제 #4
0
    public override void UpdateAction()
    {
        base.UpdateAction();

        if (NodeUtil.HitDeadLogicMacro(Owner, "CSlimeHitAction", "CSlimeDeadAction"))
        {
        }

        else
        {
            if (NodeUtil.PlayerInRange(Owner, 7f))
            {
                NodeUtil.ChangeAction(Owner, "CSlimeMoveAction");
            }

            else
            {
            }
        }
    }
예제 #5
0
    public override void UpdateAction()
    {
        base.UpdateAction();

        if (NodeUtil.HitDeadLogicMacro(Owner, "CSlimeHitAction", "CSlimeDeadAction"))
        {
        }

        else
        {
            NodeUtil.LookPlayer(Owner);
            NodeUtil.RotationAnim(Owner, "run");

            if (NodeUtil.PlayerInRange(Owner, 0.7f))
            {
                NodeUtil.ChangeAction(Owner, "CSlimeAttackAction");
            }

            else
            {
                NodeUtil.MoveToPlayer(Owner);
            }
        }
    }