diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-12 13:09:35 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-13 01:22:31 +0100 |
commit | 2744e81ddbcce133bca18baee0e58e2da8c90d8c (patch) | |
tree | 9bca28e685600c50dbce9da13565b628533c5096 /crawl-ref/source/player.cc | |
parent | 49e75c23ea32823b21baba3dcc13465726877aa5 (diff) | |
download | crawl-ref-2744e81ddbcce133bca18baee0e58e2da8c90d8c.tar.gz crawl-ref-2744e81ddbcce133bca18baee0e58e2da8c90d8c.zip |
Remove Qazlal's permanent resistance gift
A simple resistance is a very boring capstone gift, especially compared
to Qazlal's existing temporary resistances which have much more
interesting interactions, and the powerful active abilities. Allowing a
choice of resistance also resulted in AC almost always being the best
option.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index c471392f38..a33a36fb8c 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1616,13 +1616,6 @@ int player_res_fire(bool calc_unid, bool temp, bool items) rf -= player_mutation_level(MUT_HEAT_VULNERABILITY, temp); rf += player_mutation_level(MUT_MOLTEN_SCALES, temp) == 3 ? 1 : 0; - // divine intervention: - if (you.attribute[ATTR_DIVINE_FIRE_RES] - && !player_under_penance(GOD_QAZLAL)) - { - rf++; - } - // spells: if (temp) { @@ -1788,13 +1781,6 @@ int player_res_cold(bool calc_unid, bool temp, bool items) rc += player_mutation_level(MUT_ICY_BLUE_SCALES, temp) == 3 ? 1 : 0; rc += player_mutation_level(MUT_SHAGGY_FUR, temp) == 3 ? 1 : 0; - // divine intervention: - if (you.attribute[ATTR_DIVINE_COLD_RES] - && !player_under_penance(GOD_QAZLAL)) - { - rc++; - } - if (rc < -3) rc = -3; else if (rc > 3) @@ -1882,13 +1868,6 @@ int player_res_electricity(bool calc_unid, bool temp, bool items) re += player_mutation_level(MUT_SHOCK_RESISTANCE, temp); re -= player_mutation_level(MUT_SHOCK_VULNERABILITY, temp); - // divine intervention: - if (you.attribute[ATTR_DIVINE_ELEC_RES] - && !player_under_penance(GOD_QAZLAL)) - { - re++; - } - if (temp) { if (you.attribute[ATTR_DIVINE_LIGHTNING_PROTECTION]) @@ -6493,9 +6472,6 @@ int player::armour_class() const if (duration[DUR_QAZLAL_AC]) AC += 300; - if (you.attribute[ATTR_DIVINE_AC] && !player_under_penance(GOD_QAZLAL)) - AC += 300; - if (you.duration[DUR_CORROSION]) AC -= 500 * you.props["corrosion_amount"].get_int(); |