diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-08 18:45:45 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-08 18:45:45 -0600 |
commit | 61a3e40c9b96c8ea1947ca0d7ad3a3272e844211 (patch) | |
tree | dde0973cc373dff1265b267ac36c70890af3afb9 /crawl-ref/source/mon-data.h | |
parent | a7fa0ac3f13aa0198276e348e58700e872987247 (diff) | |
download | crawl-ref-61a3e40c9b96c8ea1947ca0d7ad3a3272e844211.tar.gz crawl-ref-61a3e40c9b96c8ea1947ca0d7ad3a3272e844211.zip |
Fix a few more ghost_demon struct issues with dancing weapons.
Remove unneeded reset() in the initialization function, and set
resistances properly to avoid crashes when e.g. checking poison
resistance when trying to place them in poison clouds.
Diffstat (limited to 'crawl-ref/source/mon-data.h')
-rw-r--r-- | crawl-ref/source/mon-data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-data.h b/crawl-ref/source/mon-data.h index f2ce0349cf..ae37b3fe68 100644 --- a/crawl-ref/source/mon-data.h +++ b/crawl-ref/source/mon-data.h @@ -3528,7 +3528,7 @@ static monsterentry mondata[] = { { MONS_DANCING_WEAPON, '(', BLACK, "dancing weapon", M_FIGHTER, - mrd(MR_RES_POISON | MR_RES_FIRE | MR_RES_COLD, 1) | MR_RES_ELEC, + MR_RES_POISON | MR_RES_FIRE | MR_RES_COLD | MR_RES_ELEC, 0, 10, MONS_DANCING_WEAPON, MONS_DANCING_WEAPON, MH_NONLIVING, MAG_IMMUNE, { {AT_HIT, AF_PLAIN, 30}, AT_NO_ATK, AT_NO_ATK, AT_NO_ATK }, { 15, 0, 0, 15 }, |