diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-26 16:52:19 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-26 16:52:19 +0000 |
commit | 4106eaccbac4348b78e33fd1ef3c6c85400f6f53 (patch) | |
tree | 7b96a3563b1c4671f71e3ef86f1c17df0b7667d0 | |
parent | 310b6e6168caeb48b6879352031c1977c64a6ecb (diff) | |
download | crawl-ref-4106eaccbac4348b78e33fd1ef3c6c85400f6f53.tar.gz crawl-ref-4106eaccbac4348b78e33fd1ef3c6c85400f6f53.zip |
Gave Tiamat resistance to whatever her current colour is (I prefer
this to the omni-immune approach.) Darshan, seeing as I don't have a
clue how attack strength is actually coded, can you boost up her
melee attack?
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1104 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/mon-util.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 4eb797b81f..3b41b62469 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -285,8 +285,9 @@ unsigned long get_mons_class_resists(int mc) unsigned long get_mons_resists(const monsters *mon) { unsigned long resists = get_mons_class_resists(mon->type); - if (mons_genus(mon->type) == MONS_DRACONIAN - && mon->type != MONS_DRACONIAN) + if ((mons_genus(mon->type) == MONS_DRACONIAN && + mon->type != MONS_DRACONIAN) || + mon->type == MONS_TIAMAT) { monster_type draco_species = draco_subspecies(mon); if (draco_species != mon->type) |