nethack.rankin
545239f4b1
fix M167 - hero lycanthrope vulnerable to level drain
...
From a bug report, player's character inflicted
with lycanthropy doesn't gain level drain resistance when in normal form
even though lycanthrope monsters do have it when in their human form. The
report claimed that the character didn't gain it when in beast form either,
but the code--and testing--suggests otherwise.
The same resist_drli() call used for monsters is used for the hero,
but the is_were() check there isn't able to recognize a lychanthrope hero
since youmonst->data doesn't track that when in human/normal form. This
adds another more specific check to handle that case.
2005-09-02 06:29:15 +00:00
..
2002-01-18 02:50:06 +00:00
2005-03-25 20:00:15 +00:00
2005-01-02 16:44:46 +00:00
2005-06-23 03:48:14 +00:00
2005-04-19 04:15:51 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-01-22 18:58:02 +00:00
2005-01-02 16:44:46 +00:00
2005-05-12 03:16:05 +00:00
2005-06-23 03:48:14 +00:00
2005-01-22 15:28:15 +00:00
2005-06-23 03:48:14 +00:00
2005-06-04 05:25:28 +00:00
2005-06-18 04:38:50 +00:00
2005-01-02 16:44:46 +00:00
2005-07-16 04:14:20 +00:00
2005-03-18 20:59:29 +00:00
2005-06-26 05:10:49 +00:00
2005-03-20 05:23:33 +00:00
2005-06-23 03:48:14 +00:00
2005-06-23 03:48:14 +00:00
2005-06-21 18:51:48 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-06-19 04:38:30 +00:00
2005-03-13 06:48:35 +00:00
2005-06-23 03:48:14 +00:00
2005-01-18 15:01:10 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-01-23 14:34:29 +00:00
2005-06-23 03:48:14 +00:00
2005-06-04 05:25:28 +00:00
2005-01-02 16:44:46 +00:00
2005-06-04 05:25:28 +00:00
2005-01-02 16:44:46 +00:00
2005-06-04 05:25:28 +00:00
2005-01-02 16:44:46 +00:00
2005-07-17 05:00:25 +00:00
2005-01-02 16:44:46 +00:00
2005-03-25 18:00:00 +00:00
2005-04-19 04:15:51 +00:00
2005-07-17 05:00:25 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-04-21 05:27:15 +00:00
2005-03-13 05:29:01 +00:00
2005-07-26 04:55:57 +00:00
2005-09-02 06:29:15 +00:00
2005-06-26 04:02:24 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-06-19 04:38:30 +00:00
2005-01-08 14:37:36 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-02-01 05:35:34 +00:00
2005-06-01 04:11:55 +00:00
2005-06-18 04:38:50 +00:00
2005-06-04 05:25:28 +00:00
2005-06-23 03:48:14 +00:00
2005-06-19 04:38:30 +00:00
2005-06-19 04:38:30 +00:00
2005-09-02 06:00:44 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-04-23 05:07:32 +00:00
2005-01-02 16:44:46 +00:00
2005-01-23 19:59:21 +00:00
2005-01-22 15:28:15 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-01-15 14:01:47 +00:00
2005-01-02 16:44:46 +00:00
2005-01-22 15:28:15 +00:00
2005-07-07 04:53:52 +00:00
2005-03-13 06:48:35 +00:00
2005-06-04 05:25:28 +00:00
2005-08-30 05:14:07 +00:00
2005-01-02 16:44:46 +00:00
2005-03-25 18:00:00 +00:00
2005-07-15 02:57:21 +00:00
2005-01-02 16:44:46 +00:00
2005-01-23 19:59:21 +00:00
2005-06-23 03:48:14 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-06-23 03:48:14 +00:00
2005-01-02 16:44:46 +00:00
2005-06-19 04:38:30 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-06-16 03:37:25 +00:00
2005-01-02 16:44:46 +00:00
2005-01-02 16:44:46 +00:00
2005-04-19 04:15:51 +00:00
2005-01-02 16:44:46 +00:00
2005-03-20 05:05:06 +00:00
2005-07-17 05:00:25 +00:00
2005-04-09 03:23:17 +00:00
2005-01-02 16:44:46 +00:00
2005-06-23 03:48:14 +00:00