diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-05-18 17:25:07 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-05-18 17:30:55 -0400 |
commit | 19c7863afd63d42bffcfd14290269aa5312ea619 (patch) | |
tree | 56a75930ce0afdf1f8c4800589561814e3106edb /crawl-ref/source/ability.cc | |
parent | 95380fa57b86281ddc8fc65de7cb7f9d2ad62181 (diff) | |
download | crawl-ref-19c7863afd63d42bffcfd14290269aa5312ea619.tar.gz crawl-ref-19c7863afd63d42bffcfd14290269aa5312ea619.zip |
Don't give red draconians two fire breath abilites (#8323).
Accidentally pushed to the wrong branch at first.
(cherry picked from commit d77aa5ac56878f5807438308b2d1026bd7bc1445)
Diffstat (limited to 'crawl-ref/source/ability.cc')
-rw-r--r-- | crawl-ref/source/ability.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/ability.cc b/crawl-ref/source/ability.cc index 5d6806235d..f15928537b 100644 --- a/crawl-ref/source/ability.cc +++ b/crawl-ref/source/ability.cc @@ -3492,10 +3492,10 @@ vector<talent> your_talents(bool check_confused, bool include_unusable) //jmf: Check for breath weapons - they're exclusive of each other, I hope! // Make better ones come first. - if ((you.form == TRAN_DRAGON - && dragon_form_dragon_type() == MONS_FIRE_DRAGON - && you.species != SP_RED_DRACONIAN) - || player_mutation_level(MUT_BREATHE_FLAMES)) + if (you.species != SP_RED_DRACONIAN && + ((you.form == TRAN_DRAGON + && dragon_form_dragon_type() == MONS_FIRE_DRAGON) + || player_mutation_level(MUT_BREATHE_FLAMES))) { _add_talent(talents, ABIL_BREATHE_FIRE, check_confused); } |