Half_physical_damage 04

- [fixed in trunk] iron-ball-pulling yourself out of a bear trap
- [fixed in trunk] Hitting your foot with a bullwhip
- [fixed in trunk] Hooking yourself with a grappling hook
- [fixed in trunk] Being thwacked by an iron ball chained to you
- [fixed in trunk] A crystal ball exploding on being applied
- [fixed in trunk] Hitting yourself with your pick-axe
- [fixed in trunk] Molten lava (entering or being splashed)
- [fixed in trunk] Getting squished in a pit under a boulder
- [fixed in trunk] Kicking something that makes you go "Ouch!"
This commit is contained in:
nethack.allison
2003-10-21 18:49:57 +00:00
parent 1369d5831a
commit d3316e0436
8 changed files with 36 additions and 23 deletions

View File

@@ -91,7 +91,7 @@ dosit()
/* Must have fire resistance or they'd be dead already */
You("sit in the lava!");
u.utrap += rnd(4);
losehp(d(2,10), "sitting in lava", KILLED_BY);
losehp(Maybe_Half_Phys(d(2,10)), "sitting in lava", KILLED_BY);
} else if(u.utraptype == TT_INFLOOR || u.utraptype == TT_BURIEDBALL) {
You_cant("maneuver to sit!");
u.utrap++;
@@ -145,7 +145,7 @@ dosit()
return 1;
}
pline_The("lava burns you!");
losehp(d((Fire_resistance ? 2 : 10), 10),
losehp(Maybe_Half_Phys(d((Fire_resistance ? 2 : 10), 10)),
"sitting on lava", KILLED_BY);
} else if (is_ice(u.ux, u.uy)) {