diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-20 21:17:47 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-20 21:17:47 +0000 |
commit | 55ac5bbc1fc165f7bd82ac9136283a416027119a (patch) | |
tree | 655527c92c0e3fc7e5e258a2f01c2d47d16a0167 /crawl-ref/source/transfor.cc | |
parent | 54d8ea2eb8b8836a6ec8e8a7eb29549c9df80fb9 (diff) | |
download | crawl-ref-55ac5bbc1fc165f7bd82ac9136283a416027119a.tar.gz crawl-ref-55ac5bbc1fc165f7bd82ac9136283a416027119a.zip |
Another one of those mixed commits.
* Fix 1915277: Blade Hands time-out removing bardings.
* Ely's Lesser Healing costs range(0,1) piety (avg. 0.5)
* Allow synonym for "yes" in yesnoquit(), and use it for eating (e=y).
Also, in preparation for 0.4 (yes, I can't wait) finally disallow random
generation of weapons of orc slaying. Demon lords use a check of their
own and as a randart property it's also allowed, which I think is fine.
Allow random generation of nets and increase shop prices for nets and
javelins.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3766 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r-- | crawl-ref/source/transfor.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc index 3bdb081fe8..3e28135e9d 100644 --- a/crawl-ref/source/transfor.cc +++ b/crawl-ref/source/transfor.cc @@ -588,8 +588,12 @@ void untransform(void) // Removed barding check, no transformed creatures can wear barding // anyway. - if (you.species == SP_NAGA || you.species == SP_CENTAUR) + // *coughs* Ahem, blade hands... -- jpeg + if ((you.species == SP_NAGA || you.species == SP_CENTAUR) + && you.inv[you.equip[EQ_BOOTS]].sub_type == ARM_BOOTS) + { remove_one_equip(EQ_BOOTS); + } if (hp_downscale != 10 && you.hp != you.hp_max) { |