public void ActivateTrap(DungeonCharacter player) { Controller.Log($"{player.Name} fell into a spike pit."); Random rand = new Random(); player.TakeDamage(rand.Next(5, 21)); }
public void ActivateTrap(DungeonCharacter player) { Controller.Log($"{player.Name} walked into a bear trap."); Random rand = new Random(); player.TakeDamage(rand.Next(15) + 1); }
public void ActivateTrap(DungeonCharacter player) { Controller.Log($"{player.Name} got hit by a poison dart trap."); Random rand = new Random(); player.TakeDamage(rand.Next(15, 35)); }