… | |
… | |
72 | case 2: |
72 | case 2: |
73 | if (rndm (0, 2) == 0) |
73 | if (rndm (0, 2) == 0) |
74 | { |
74 | { |
75 | new_draw_info_format (NDI_UNIQUE | NDI_RED, 0, above, "You are down to your NECK in the dangerous %s.", &op->name); |
75 | new_draw_info_format (NDI_UNIQUE | NDI_RED, 0, above, "You are down to your NECK in the dangerous %s.", &op->name); |
76 | op->stats.food = 3; |
76 | op->stats.food = 3; |
77 | sprintf (above->contr->killer, "drowning in a %s", &op->name); |
77 | above->contr->killer = op; |
78 | above->stats.hp--; |
78 | above->stats.hp--; |
79 | above->speed_left -= op->move_slow_penalty; |
79 | above->speed_left -= op->move_slow_penalty; |
80 | } |
80 | } |
81 | break; |
81 | break; |
82 | |
82 | |
… | |
… | |
88 | /* player is ready to drown - only woodsman skill can save him */ |
88 | /* player is ready to drown - only woodsman skill can save him */ |
89 | if (!woodsman) |
89 | if (!woodsman) |
90 | { |
90 | { |
91 | op->stats.food = 0; |
91 | op->stats.food = 0; |
92 | new_draw_info_format (NDI_UNIQUE | NDI_ALL, 1, NULL, "%s disappeared into a %s.", &above->name, &op->name); |
92 | new_draw_info_format (NDI_UNIQUE | NDI_ALL, 1, NULL, "%s disappeared into a %s.", &above->name, &op->name); |
93 | sprintf (above->contr->killer, "drowning in a %s", &op->name); |
93 | above->contr->killer = op; |
94 | |
94 | |
95 | above->stats.hp = -1; |
95 | above->stats.hp = -1; |
96 | kill_player (above); /* player dies in the swamp */ |
96 | kill_player (above); /* player dies in the swamp */ |
97 | } |
97 | } |
98 | else |
98 | else |