From b12dd9a0fe5c15ff1f655252ef07e03fdf0d4943 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Wed, 7 Jan 2009 15:47:02 +0000 Subject: 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 --- crawl-ref/source/fight.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/fight.cc') 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; -- cgit v1.2.3-54-g00ecf