From 85f2b46fe93adb240ea9939fc99f91cab0a1e9e2 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Sun, 16 Feb 2014 23:58:18 -0500 Subject: [PATCH] Fix mod_spell_resist to be no-op by default ... --- zone/mod_functions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zone/mod_functions.cpp b/zone/mod_functions.cpp index 31aa32d75..0a9a66537 100644 --- a/zone/mod_functions.cpp +++ b/zone/mod_functions.cpp @@ -183,8 +183,7 @@ int Mob::mod_spell_stack(uint16 spellid1, int caster_level1, Mob* caster1, uint1 //Sum of various resists rolled against a value of 200. int Mob::mod_spell_resist(int resist_chance, int level_mod, int resist_modifier, int target_resist, uint8 resist_type, uint16 spell_id, Mob* caster) { - int final = resist_chance + level_mod + resist_modifier + target_resist; - return(final); + return(resist_chance); } //Spell is cast by this on spelltar, called from spellontarget after the event_cast_on NPC event