diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-05-18 19:50:01 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-05-18 19:50:01 -0400 |
commit | ddce04797bb75fef9909ccdea3b5818c9a4b6a44 (patch) | |
tree | 81281761570b55341df46881653dc170d109a68a /crawl-ref/source/ouch.cc | |
parent | 19c7863afd63d42bffcfd14290269aa5312ea619 (diff) | |
download | crawl-ref-ddce04797bb75fef9909ccdea3b5818c9a4b6a44.tar.gz crawl-ref-ddce04797bb75fef9909ccdea3b5818c9a4b6a44.zip |
Make cold-bloodedness go away in transformations (#8496).
This was accomplished by using a new mutation, MUT_COLD_BLOODED,
rather than a simple check for race. There's a bit of a hack to get
it to still be greyed out with rC but that's probably better than
the special case based on genus.
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index e6ed053c9b..772a9da604 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -616,7 +616,7 @@ bool expose_player_to_element(beam_type flavour, int strength, _maybe_melt_player_enchantments(flavour, strength ? strength : 10); qazlal_element_adapt(flavour, strength); - if (flavour == BEAM_COLD && slow_dracs && player_genus(GENPC_DRACONIAN) + if (flavour == BEAM_COLD && slow_dracs && you.innate_mutation[MUT_COLD_BLOODED] && you.res_cold() <= 0 && coinflip()) { you.slow_down(0, strength); |