From ea78e3b88da2c70285b09f34c9c5d8230280405b Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 22 Jun 2008 21:57:35 +0000 Subject: Swap '.' and '!' in the targetting interface. Forbid bats wearing hats/caps or rings. (That makes amulets the only type of equipment Vampires can keep on when transforming.) To make up for it, increase their damage stats again. Also fix it being possible to (un)equip the allowed items in Tiles while in bat form. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6055 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 2b1e89e019..1c702548ac 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -3038,7 +3038,7 @@ int melee_attack::player_calc_base_unarmed_damage() damage = 5; break; case TRAN_BAT: - damage = (you.species == SP_VAMPIRE ? 1 : coinflip()); + damage = (you.species == SP_VAMPIRE ? 2 : 1); break; case TRAN_ICE_BEAST: damage = 12; @@ -3075,7 +3075,7 @@ int melee_attack::player_calc_base_unarmed_damage() if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT) { // Bats really don't do a lot of damage. - damage += random2(you.skills[SK_UNARMED_COMBAT]/5 + 1); + damage += you.skills[SK_UNARMED_COMBAT]/5; } else damage += you.skills[SK_UNARMED_COMBAT]; -- cgit v1.2.3-54-g00ecf