diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-22 15:59:03 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-22 15:59:03 +0000 |
commit | 46a6c5db992755dc617813597b7202fe4a2060ca (patch) | |
tree | 723beab45dc2f0b08de99d731016ec5751c43683 /crawl-ref/source/spells2.cc | |
parent | af45612708d4fddee3ec3a5d31053624d7658c1a (diff) | |
download | crawl-ref-46a6c5db992755dc617813597b7202fe4a2060ca.tar.gz crawl-ref-46a6c5db992755dc617813597b7202fe4a2060ca.zip |
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
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |