void TimeLine_4() { if (NodeUtil.PlayerInSight(Owner, 6f, 15f)) { NodeUtil.TakeDamageToPlayer(Owner.Status.CurrentDamage); if (NodeUtil.IsActivateAbility(Owner, 215)) { NodeUtil.GiveSilence(Player.CurrentPlayer, 2f); NodeUtil.BurnCard(); } //if (NodeUtil.IsActivateAbility(Owner, 207)) //{ // NodeUtil.GiveSilence(Player.CurrentPlayer, 2f); //} else { } } else { } Owner.NavAgent.Move(Owner.transform.forward); }
public override void StartAction(Character owner) { base.StartAction(owner); NodeUtil.BurnCard(); NodeUtil.DrawCard(); NodeUtil.TakeDamage(Owner, 10f); //Owner.Status; //Owner.AddState(new CharacterHitState(Owner, 1f).Init()); //if(NodeUtil.IsGoalDestination(Owner)) //{ // Owner.transform.position = new UnityEngine.Vector3(10f ,0f ,10f); // Owner.Status.CurrentHp = Mathf.Min(NodeUtil.FloatAdd(Owner.Status.CurrentHp ,10f) ,Owner.Status.Hp); //} }