Half_physical_damage 06

- [fixed in trunk] Alchemical explosion
- [fixed in trunk] Artifacts' blasting
- [fixed in trunk] Boiling/freezing potions
- [fixed in trunk] Chest/door/tin traps
- [fixed in trunk] Falling rocks/boulders (trap, digging, scroll of earth)
- [fixed in trunk] Mixing water and acid
- [fixed in trunk] Thrown potion (acid)

This is my last patch on this today.
This commit is contained in:
nethack.allison
2003-10-22 03:02:11 +00:00
parent cdf982e478
commit 8467ab1515
14 changed files with 36 additions and 28 deletions

View File

@@ -1525,8 +1525,7 @@ lootcont:
You("carefully open the bag...");
pline("It develops a huge set of teeth and bites you!");
tmp = rnd(10);
if (Half_physical_damage) tmp = (tmp+1) / 2;
losehp(tmp, "carnivorous bag", KILLED_BY_AN);
losehp(Maybe_Half_Phys(tmp), "carnivorous bag", KILLED_BY_AN);
makeknown(BAG_OF_TRICKS);
timepassed = 1;
continue;