… | |
… | |
226 | |
226 | |
227 | symptom->destroy (); |
227 | symptom->destroy (); |
228 | } |
228 | } |
229 | |
229 | |
230 | if (victim) |
230 | if (victim) |
231 | fix_player (victim); |
231 | victim->update_stats (); |
232 | return 0; |
232 | return 0; |
233 | } |
233 | } |
234 | |
234 | |
235 | /* argument is a disease */ |
235 | /* argument is a disease */ |
236 | object * |
236 | object * |
… | |
… | |
524 | symptom->msg = disease->msg; |
524 | symptom->msg = disease->msg; |
525 | symptom->attacktype = disease->attacktype; |
525 | symptom->attacktype = disease->attacktype; |
526 | symptom->other_arch = disease->other_arch; |
526 | symptom->other_arch = disease->other_arch; |
527 | } |
527 | } |
528 | SET_FLAG (symptom, FLAG_APPLIED); |
528 | SET_FLAG (symptom, FLAG_APPLIED); |
529 | fix_player (victim); |
529 | victim->update_stats (); |
530 | return 1; |
530 | return 1; |
531 | } |
531 | } |
532 | |
532 | |
533 | |
533 | |
534 | /* grants immunity to plagues we've seen before. */ |
534 | /* grants immunity to plagues we've seen before. */ |