summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2013-07-06 17:31:10 +0100
committerChris Campbell <chriscampbell89@gmail.com>2013-07-06 19:06:08 +0100
commit565aecc77c987c6b709a40f203a20a788dc8b11b (patch)
tree9cec6098f60bca098e80c8ea7867385c9ba589e8 /crawl-ref/source/spl-util.cc
parent49e87db66dca06b0602e5d1fdb43aedbb942d547 (diff)
downloadcrawl-ref-565aecc77c987c6b709a40f203a20a788dc8b11b.tar.gz
crawl-ref-565aecc77c987c6b709a40f203a20a788dc8b11b.zip
Make Dragon Form pure Tmut for all species
The massive difference in usefulness for the spell for Draconians and non-Draconians was pretty silly. Draconians even now still have the noticeable advantage of keeping their scale AC. Non-dracs still always turn into fire dragons, possibly this could be changed somehow but randomising it per-cast sounds annoying in situations where some resist is particularly desirable, and basing it on elemental skills seems fiddly.
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r--crawl-ref/source/spl-util.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc
index a402a0dd6c..77f7df0b5b 100644
--- a/crawl-ref/source/spl-util.cc
+++ b/crawl-ref/source/spl-util.cc
@@ -486,11 +486,7 @@ bool spell_typematch(spell_type which_spell, unsigned int which_discipline)
//jmf: next two for simple bit handling
unsigned int get_spell_disciplines(spell_type spell)
{
- unsigned int dis = _seekspell(spell)->disciplines;
- if (spell == SPELL_DRAGON_FORM && player_genus(GENPC_DRACONIAN))
- dis &= (~SPTYP_FIRE);
-
- return dis;
+ return (_seekspell(spell)->disciplines);
}
int count_bits(unsigned int bits)