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:
17
src/ball.c
17
src/ball.c
@@ -38,7 +38,8 @@ ballfall()
|
||||
} else if (flags.verbose)
|
||||
pline("%s does not protect you.", Yname2(uarmh));
|
||||
}
|
||||
losehp(dmg, "crunched in the head by an iron ball",
|
||||
losehp(Maybe_Half_Phys(dmg),
|
||||
"crunched in the head by an iron ball",
|
||||
NO_KILLER_PREFIX);
|
||||
}
|
||||
}
|
||||
@@ -677,8 +678,9 @@ xchar x, y;
|
||||
Your("%s %s is severely damaged.",
|
||||
(side == LEFT_SIDE) ? "left" : "right",
|
||||
body_part(LEG));
|
||||
losehp(2, "leg damage from being pulled out of a bear trap",
|
||||
KILLED_BY);
|
||||
losehp(Maybe_Half_Phys(2),
|
||||
"leg damage from being pulled out of a bear trap",
|
||||
KILLED_BY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -766,20 +768,23 @@ drag_down()
|
||||
if (forward) {
|
||||
if(rn2(6)) {
|
||||
pline_The("iron ball drags you downstairs!");
|
||||
losehp(rnd(6), "dragged downstairs by an iron ball",
|
||||
losehp(Maybe_Half_Phys(rnd(6)),
|
||||
"dragged downstairs by an iron ball",
|
||||
NO_KILLER_PREFIX);
|
||||
litter();
|
||||
}
|
||||
} else {
|
||||
if(rn2(2)) {
|
||||
pline_The("iron ball smacks into you!");
|
||||
losehp(rnd(20), "iron ball collision", KILLED_BY_AN);
|
||||
losehp(Maybe_Half_Phys(rnd(20)),
|
||||
"iron ball collision", KILLED_BY_AN);
|
||||
exercise(A_STR, FALSE);
|
||||
dragchance -= 2;
|
||||
}
|
||||
if( (int) dragchance >= rnd(6)) {
|
||||
pline_The("iron ball drags you downstairs!");
|
||||
losehp(rnd(3), "dragged downstairs by an iron ball",
|
||||
losehp(Maybe_Half_Phys(rnd(3)),
|
||||
"dragged downstairs by an iron ball",
|
||||
NO_KILLER_PREFIX);
|
||||
exercise(A_STR, FALSE);
|
||||
litter();
|
||||
|
||||
Reference in New Issue
Block a user