From 40fc1ff930002e0ca7301e0f2d575a40f784fb10 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 24 Sep 2007 17:06:58 +0000 Subject: - Changed Greed Scroll's type to 11 (all itemskill items should use this) - Ignore %MDef bonuses now only reduce target's base MDEF, not MDEF2. - Updated the 'skills that cause no damage are blocked now if the skill element is blocked by the target' to only apply if the skill has a status change associated (fixes Resurrection/Heal being blocked). - Reverted the opt_flag2 change in status_change_start (clif_changeoption2) since it never served its purpose. - Added a warning to prevent loading mobs with IDs that belong to the clone range. - Changed MAX_MOB_DB to 3000, updated the definitions of the clone range defines so they are updated automatically with the change of MAX_MOB_DB. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11287 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 58d9a216a..935bc52b9 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2340,7 +2340,7 @@ struct Damage battle_calc_magic_attack( { if (i > 100) i = 100; mdef -= mdef * i/100; - mdef2-= mdef2* i/100; + //mdef2-= mdef2* i/100; } } if(battle_config.magic_defense_type) -- cgit v1.2.3-70-g09d2