Example #1
0
 public void Steal(Human target)
 {
     target.Health -= 5;
     Health        += 5;
     Console.WriteLine($"{Name} stole 5 hp from {target.Name}!");
 }
Example #2
0
 public void UseWeapon(Human victim)
 {
     _weapon.Attack(victim);
 }
Example #3
0
 public virtual int Attack(Human target)
 {
     target.health = target.health - (3 * Strength);
     return(target.health);
 }