… | |
… | |
2040 | tmp->stats.Dex = MAX (-(dam / 6 + 1), -10); |
2040 | tmp->stats.Dex = MAX (-(dam / 6 + 1), -10); |
2041 | tmp->stats.Int = MAX (-dam / 7, -10); |
2041 | tmp->stats.Int = MAX (-dam / 7, -10); |
2042 | SET_FLAG (tmp, FLAG_APPLIED); |
2042 | SET_FLAG (tmp, FLAG_APPLIED); |
2043 | op->update_stats (); |
2043 | op->update_stats (); |
2044 | new_draw_info (NDI_UNIQUE, 0, op, "You suddenly feel very ill."); |
2044 | new_draw_info (NDI_UNIQUE, 0, op, "You suddenly feel very ill."); |
|
|
2045 | op->play_sound (tmp->sound); |
2045 | } |
2046 | } |
2046 | |
2047 | |
2047 | if (hitter->type == PLAYER) |
2048 | if (hitter->type == PLAYER) |
2048 | new_draw_info_format (NDI_UNIQUE, 0, hitter, "You poison %s.", &op->name); |
2049 | new_draw_info_format (NDI_UNIQUE, 0, hitter, "You poison %s.", &op->name); |
2049 | else if (hitter->owner != NULL && hitter->owner->type == PLAYER) |
2050 | else if (hitter->owner != NULL && hitter->owner->type == PLAYER) |