summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-27 12:58:34 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-27 12:58:34 +0000
commit395bfacc10078820430c0fcdf2d3b7059440c8ad (patch)
tree4cfba2a08b4214d91ba8ff8f39d4156d26863d17 /src/map
parent0ccaa850059dc60f52896ee86935f02e6d087780 (diff)
downloadhercules-395bfacc10078820430c0fcdf2d3b7059440c8ad.tar.gz
hercules-395bfacc10078820430c0fcdf2d3b7059440c8ad.tar.bz2
hercules-395bfacc10078820430c0fcdf2d3b7059440c8ad.tar.xz
hercules-395bfacc10078820430c0fcdf2d3b7059440c8ad.zip
- 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
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
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