Beispiel #1
0
 public override string Attack(Organism opponent)
 {
     opponent.Health -= Strength;
     return(messages[RandomUtils.Number(0, 2)] + "\n");
 }
Beispiel #2
0
 public override string Attack(Organism opponent)
 {
     opponent.Health -= Strength;
     return($"{Name} sat on {opponent.Name}! {opponent.Name} lose {Strength} hp\n");
 }
Beispiel #3
0
 public override string Attack(Organism opponent)
 {
     opponent.Health -= Strength;
     return($"{Name} hit {opponent.Name} for {Strength} hp!\n");
 }