From 3fdf3ab24ea63ecde6537ea122e2ab1cd6b8d4f1 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sun, 18 Mar 2007 07:05:07 +0000 Subject: Banished uniques (including ghosts) will now be sent to the Abyss. Banished non-uniques may also get the Abyss treatment if they clear a HD roll. Crawl tries very hard not to lose banished monsters, preserving them across Abyss shifts and teleports, and saving them on the transit list when the player escapes the Abyss. Breaks savefile compatibility. Toned down Vehumet and wizardry boosts a touch. Fixed bugginess where player could get aux unarmed attacks on a monster that just teleported away (by weapon of distortion). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1052 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-cast.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/spl-cast.cc') diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index ec0873abde..0eade5c58e 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -249,7 +249,7 @@ static int apply_vehumet_wizardry_boost(int spell, int chance) { int wizardry = player_mag_abil(false); int fail_reduce = 100; - int wiz_factor = 86; + int wiz_factor = 87; if (you.religion == GOD_VEHUMET && you.duration[DUR_PRAYER] @@ -258,8 +258,8 @@ static int apply_vehumet_wizardry_boost(int spell, int chance) || spell_typematch(spell, SPTYP_SUMMONING))) { // [dshaligram] Fail rate multiplier used to be .5, scaled - // back to 60%. - fail_reduce = fail_reduce * 60 / 100; + // back to 67%. + fail_reduce = fail_reduce * 67 / 100; } // [dshaligram] Apply wizardry factor here, rather than mixed into the @@ -267,12 +267,12 @@ static int apply_vehumet_wizardry_boost(int spell, int chance) while (wizardry-- > 0) { fail_reduce = fail_reduce * wiz_factor / 100; - wiz_factor += (100 - wiz_factor) / 5; + wiz_factor += (100 - wiz_factor) / 3; } // Hard cap on fail rate reduction. - if (fail_reduce < 40) - fail_reduce = 40; + if (fail_reduce < 50) + fail_reduce = 50; return (chance * fail_reduce / 100); } -- cgit v1.2.3-54-g00ecf