summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-31 19:09:19 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-31 19:09:19 +0000
commit3846460d200480f3af4c345c4137f9bbee818b24 (patch)
treeeb6b79180b45751bc973523a2c6b76235bcf15d0 /crawl-ref/source/fight.cc
parent900c6efcaf6fb292d518249ffe65abf92a01afc2 (diff)
downloadcrawl-ref-3846460d200480f3af4c345c4137f9bbee818b24.tar.gz
crawl-ref-3846460d200480f3af4c345c4137f9bbee818b24.zip
Give monsters better natural regeneration increasing with HD. Monsters will still never heal more than 1 hp per turn.
Increase royal jelly movement speed, hp and attack damage. The royal jelly now spits out high-level jellies when it takes a high-damage hit of any kind. No experience for the expelled jellies, given that they're technically part of the royal jelly, and the royal jelly already gives a heap of xp. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3985 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 62a4c9f76b..f6d5ae9471 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -728,8 +728,6 @@ bool melee_attack::player_attack()
bleed_onto_floor(where.x, where.y, defender->id(), blood, true);
}
- player_hurt_monster();
-
if (damage_done > 0 || !defender_visible)
player_announce_hit();
else if (!shield_blocked && damage_done <= 0)
@@ -738,6 +736,8 @@ bool melee_attack::player_attack()
make_stringf("You %s %s.", attack_verb.c_str(),
defender->name(DESC_NOCAP_THE).c_str());
}
+
+ player_hurt_monster();
if (damage_done)
player_exercise_combat_skills();