diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-07 15:47:02 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-07 15:47:02 +0000 |
commit | b12dd9a0fe5c15ff1f655252ef07e03fdf0d4943 (patch) | |
tree | 0b3a28070cabb5735c47b7656b748bfda6dc5ca1 /crawl-ref/source/fight.cc | |
parent | 289e5541661b8bc7a6fa955356357655b7e5146a (diff) | |
download | crawl-ref-b12dd9a0fe5c15ff1f655252ef07e03fdf0d4943.tar.gz crawl-ref-b12dd9a0fe5c15ff1f655252ef07e03fdf0d4943.zip |
Add two more uniques: Nessos and the Lernaean hydra, also implemented by
castamir.
Nessos still needs to be buffed (he's a normal centaur with fixed
equipment) and is also in need of speech.
The Lernaean hydra shouldn't be generated randomly but instead be placed
via vaults (which will favour spoiled players, but you can't have
everything).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8307 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 583e73d2d2..04e985a1b1 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -3076,12 +3076,16 @@ bool melee_attack::chop_hydra_head( int dam, // Only living hydras get to regenerate heads. if (defender->holiness() == MH_NATURAL) { + unsigned int limit = 20; + if (def->type == MONS_LERNAEAN_HYDRA) + limit = 27; + if (wpn_brand == SPWPN_FLAMING) { if (defender_visible) mpr( "The flame cauterises the wound!" ); } - else if (def->number < 19) + else if (def->number < limit - 1) { simple_monster_message( def, " grows two more!" ); def->number += 2; |