public override void UpdateAction() { base.UpdateAction(); if (NodeUtil.HitDeadLogicMacro(Owner, "WoodTotemHitAction", "WoodTotemDeadAction")) { return; } }
public override void UpdateAction() { base.UpdateAction(); if (NodeUtil.HitDeadLogicMacro(Owner, "EnemyHitAction", "EnemyIdleAction")) { } else { } }
public override void UpdateAction() { base.UpdateAction(); if (NodeUtil.HitDeadLogicMacro(Owner, "EnemyHitAction", "EnemyDeadAction")) { } else { if (NodeUtil.IsLastFrame(Owner)) { NodeUtil.ChangeAction(Owner, "EnemyIdleAction"); } else { } } }
public override void UpdateAction() { base.UpdateAction(); if (NodeUtil.HitDeadLogicMacro(Owner, "CSlimeHitAction", "CSlimeDeadAction")) { } else { if (NodeUtil.PlayerInRange(Owner, 7f)) { NodeUtil.ChangeAction(Owner, "CSlimeMoveAction"); } else { } } }
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); } } }