예제 #1
0
 /// <summary>
 /// Метод, описывающий лечение
 /// </summary>
 /// <returns></returns>
 public void Healing(HeroBase hero)
 {
     if (this.mp - casting >= 0)
     {
         this.mp -= casting;
         hero.ToBeHealed(HeroStrength.r.Next(10, 20));
     }
 }
예제 #2
0
 public void Healing(HeroBase hero)
 {
     hero.ToBeHealed(10);
     base.ToBeHealed(2);
 }