Exemple #1
0
 /// <summary>
 /// 用於腳色施法執行狀態時,傳入目標,對目標賦予此狀態
 /// </summary>
 public override void Execute(Chara _target)
 {
     base.Execute(_target);
     Debug.Log(string.Format("{0}施放對{1}附加{2}效果", Self.Name, _target.Name, TheBufferType));//ex:勇者施放砍殺對大惡魔附加流血狀態
     _target.ReceiveBuffer(this);
 }
Exemple #2
0
 /// <summary>
 /// 用於腳色施法執行狀態時,傳入目標,對目標賦予此狀態
 /// </summary>
 public override void Execute(Chara _target)
 {
     base.Execute(_target);
     Debug.Log(string.Format("{0}施放對{1}附加{2}效果", Self.Name, _target.Name, TheBufferType));//ex:勇者施放砍殺對大惡魔附加流血狀態
     _target.ReceiveBuffer(this);
 }