diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-01-09 21:11:46 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-01-10 11:27:24 -0700 |
commit | 571dd195bbc7a084b21f076b5810ec51aba60026 (patch) | |
tree | ecfeef0782787465816865b67d38cc85024fb336 /crawl-ref/source/player-act.cc | |
parent | c961fcdee648c1d4480faa3625dd4e7946c9a1ed (diff) | |
download | crawl-ref-571dd195bbc7a084b21f076b5810ec51aba60026.tar.gz crawl-ref-571dd195bbc7a084b21f076b5810ec51aba60026.zip |
Shadow god: Shadow Form.
For 9 MP, 10 piety, and skill drain, you transform into a swirling mass
of dark shadows with immunity to poison, draining, torment, and hostile
enchantments as well as 50% damage reduction and a transformation of
your bled smoke into miasma (guaranteed on hit). However, you also only
deal 50% melee damage and suffer a double-strength spell anti-enhancer.
Diffstat (limited to 'crawl-ref/source/player-act.cc')
-rw-r--r-- | crawl-ref/source/player-act.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/player-act.cc b/crawl-ref/source/player-act.cc index 0c37b66a00..f95f86904f 100644 --- a/crawl-ref/source/player-act.cc +++ b/crawl-ref/source/player-act.cc @@ -140,6 +140,7 @@ bool player::extra_balanced() const && (species == SP_NAGA // tails, not feet || body_size(PSIZE_BODY) >= SIZE_LARGE) && (form == TRAN_LICH || form == TRAN_STATUE + || form == TRAN_SHADOW || !form_changed_physiology()); } @@ -195,6 +196,7 @@ int player::body_weight(bool base) const weight *= 2; break; case TRAN_LICH: + case TRAN_SHADOW: weight /= 2; break; default: @@ -432,6 +434,7 @@ string player::hand_name(bool plural, bool *can_plural) const else if (form == TRAN_JELLY) str = "bump"; // not even pseudopods... else if (form == TRAN_LICH || form == TRAN_STATUE + || form == TRAN_SHADOW || !form_changed_physiology()) { if (species == SP_FELID) @@ -469,6 +472,7 @@ string player::foot_name(bool plural, bool *can_plural) const else if (form == TRAN_JELLY) str = "underside", *can_plural = false; else if (form == TRAN_LICH || form == TRAN_STATUE + || form == TRAN_SHADOW || !form_changed_physiology()) { if (player_mutation_level(MUT_HOOVES) >= 3) @@ -527,6 +531,8 @@ string player::arm_name(bool plural, bool *can_plural) const if (form == TRAN_LICH) adj = "bony"; + else if (form == TRAN_SHADOW) + adj = "shadowy"; if (!adj.empty()) str = adj + " " + str; |