public override void Execute(Chara _target) { base.Execute(_target); TrueCure = GetCure();//取得實際治癒量 Debug.Log(string.Format("{0}對{1}恢復{2}點{3}", Self.Name, _target.Name, TrueCure, ExecuteComType));//ex:勇者施放治癒隊友造成46點恢復 _target.ReceiveCure(TrueCure, true, HitTextType.Cure, ShowDelay); }
public override void Execute(Chara _target) { base.Execute(_target); TrueCure = GetCure(); //取得實際治癒量 Debug.Log(string.Format("{0}對{1}恢復{2}點{3}", Self.Name, _target.Name, TrueCure, ExecuteComType)); //ex:勇者施放治癒隊友造成46點恢復 _target.ReceiveCure(TrueCure, true, HitTextType.Cure, ShowDelay); }
/// <summary> /// 複寫Cure傳入目標的Execute方法,狀態引發的治癒目標是初始化時就給予了,不能再執行Execute時給予 /// </summary> public override void Execute(Chara _target) { TrueCure = GetCure(); //取得實際治癒量 Debug.Log(string.Format("{0}受到{1}點{2}", Self.Name, TrueCure, ExecuteComType)); //ex:勇者受到祝福狀態影響,造成56點治癒 _target.ReceiveCure(TrueCure, false, HitTextType.Cure, ShowDelay); }
/// <summary> /// 複寫Cure傳入目標的Execute方法,狀態引發的治癒目標是初始化時就給予了,不能再執行Execute時給予 /// </summary> public override void Execute(Chara _target) { TrueCure = GetCure();//取得實際治癒量 Debug.Log(string.Format("{0}受到{1}點{2}", Self.Name, TrueCure, ExecuteComType));//ex:勇者受到祝福狀態影響,造成56點治癒 _target.ReceiveCure(TrueCure, false, HitTextType.Cure, ShowDelay); }