From 395bfacc10078820430c0fcdf2d3b7059440c8ad Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 27 Nov 2007 12:58:34 +0000 Subject: - Overpowered some more NPC_EARTHQUAKE as per Gravity retardation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11822 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/battle.c b/src/map/battle.c index 13740edb7..ada30c949 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2335,6 +2335,8 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list //mdef2-= mdef2* i/100; } } + if (skill_num == NPC_EARTHQUAKE) + mdef>>=1; //Halves MDEF (stupid overpowered skill) if(battle_config.magic_defense_type) ad.damage = ad.damage - mdef*battle_config.magic_defense_type - mdef2; else -- cgit v1.2.3-70-g09d2