Index: scripts/globals/magic.lua =================================================================== --- scripts/globals/magic.lua (revision 4236) +++ scripts/globals/magic.lua (working copy) @@ -490,10 +490,6 @@ --Applies resistance for additional effects function applyResistanceAddEffect(player,target,element,bonus) - -- resist everything if magic shield is active - if(target:hasStatusEffect(EFFECT_MAGIC_SHIELD, 0)) then - return 0; - end local resist = 1.0; local magicaccbonus = 0; @@ -923,13 +919,6 @@ dmg = math.floor(dmg); - -- Applies "Damage Taken" and "Magic Damage Taken" mods. - -- The formulas look crazy because SE. - -- Note that MOD_DMGMAGIC is stored in item_mods in amount/256 format - - dmg = utils.dmgTaken(target, dmg); - dmg = utils.magicDmgTaken(target, dmg); - -- print(affinityBonus); -- print(speciesReduction); -- print(dayWeatherBonus); @@ -1018,13 +1007,6 @@ dmg = math.floor(dmg * mab); - -- Applies "Damage Taken" and "Magic Damage Taken" mods. - -- The formulas look crazy because SE. - -- Note that MOD_DMGMAGIC is stored in item_mods in amount/256 format - - dmg = utils.dmgTaken(target, dmg); - dmg = utils.magicDmgTaken(target, dmg); - -- print(affinityBonus); -- print(speciesReduction); -- print(dayWeatherBonus);