From 46a6c5db992755dc617813597b7202fe4a2060ca Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 22 Feb 2009 15:59:03 +0000 Subject: Change Transmutation -> Transmutations for consistency with Translocations and because it sounds a bit better. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9150 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells2.cc') diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 1f6e008d1b..7e46afc98d 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1040,7 +1040,7 @@ bool cast_sticks_to_snakes(int pow, god_type god) monster_type mon = MONS_PROGRAM_BUG; const int dur = std::min(3 + random2(pow) / 20, 5); - int how_many_max = 1 + random2(1 + you.skills[SK_TRANSMUTATION]) / 4; + int how_many_max = 1 + random2(1 + you.skills[SK_TRANSMUTATIONS]) / 4; const bool friendly = (!item_cursed(wpn)); const beh_type beha = (friendly) ? BEH_FRIENDLY : BEH_HOSTILE; @@ -1186,7 +1186,7 @@ bool cast_summon_swarm(int pow, god_type god, MONS_BUTTERFLY, MONS_YELLOW_WASP, MONS_GIANT_ANT, MONS_GIANT_ANT, MONS_GIANT_ANT }; - + const monster_type mon = RANDOM_ELEMENT(swarmers); const bool friendly = force_hostile ? false : (random2(pow) > 7); -- cgit v1.2.3-54-g00ecf