Example #1
0
 /// <summary>
 /// 治疗
 /// </summary>
 /// <param name="healValue">治疗值</param>
 /// <param name="healMode">治疗类型</param>
 /// <param name="HealSource">治疗源</param>
 public void BeHeal(int healValue, HealMode healMode, Bot HealSource)
 {
     if (OnHealing != null)
     {
         HealEventArgs e = new HealEventArgs(HealSource, healValue, healMode);
         healValue  = e.HealValue;
         HealSource = e.HealSource;
         healMode   = e.HealMode;
     }
 }
Example #2
0
 void hd(object sender, HealEventArgs e)
 {
     Debug.Log("A");
 }