Browse Source

Include leftover coinflips following conflict resolution

pull/4936/head
ephphatha 4 years ago committed by Anders Jenbo
parent
commit
7a8fa64e69
  1. 2
      Source/levels/drlg_l4.cpp
  2. 2
      Source/player.cpp

2
Source/levels/drlg_l4.cpp

@ -274,7 +274,7 @@ void FirstRoom()
}
MapRoom(room);
GenerateRoom(room, GenerateRnd(2));
GenerateRoom(room, !FlipCoin());
}
void MakeDungeon()

2
Source/player.cpp

@ -1300,7 +1300,7 @@ void DamageArmor(Player &player)
return;
}
bool targetHead = GenerateRnd(3);
bool targetHead = FlipCoin(3);
if (!player.InvBody[INVLOC_CHEST].isEmpty() && player.InvBody[INVLOC_HEAD].isEmpty()) {
targetHead = false;
}

Loading…
Cancel
Save