public Result Affect(Hero hero) { int x, y; do { x = R.Next(map.Width); y = R.Next(map.Height); } while (map.IsWall(x, y) && map.Cell(x, y).Monster == null); hero.X = x; hero.Y = y; return(Result.Action("The room spins around you and when it stops you feel relocated")); }
public static Weapon Dagger() => Dagger(R.Dice(2) * 10);
public static StackableItem Coins() => Coin(R.Dice(10, 2));
public static Weapon Sword() => Sword(R.Dice(4, 2) * 10);