From 55ac5bbc1fc165f7bd82ac9136283a416027119a Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 20 Mar 2008 21:17:47 +0000 Subject: 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 --- crawl-ref/source/transfor.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/transfor.cc') 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) { -- cgit v1.2.3-54-g00ecf