summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-13 19:34:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-13 19:34:15 +0000
commitb98ac4ade5d7a6f4eaac148b8126dc0af8f081e8 (patch)
treed43681075717f18dd809165b2f72eb22e12ede1f /src
parent9354836004f7017fae110a005b81b56ead5f1716 (diff)
downloadhercules-b98ac4ade5d7a6f4eaac148b8126dc0af8f081e8.tar.gz
hercules-b98ac4ade5d7a6f4eaac148b8126dc0af8f081e8.tar.bz2
hercules-b98ac4ade5d7a6f4eaac148b8126dc0af8f081e8.tar.xz
hercules-b98ac4ade5d7a6f4eaac148b8126dc0af8f081e8.zip
- HW_GRAVITATION now ignores elemental modifiers.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5591 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index e7bb20588..7ef94a4ea 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2571,8 +2571,11 @@ struct Damage battle_calc_magic_attack(
case WZ_FIREPILLAR:
flag.imdef = 1;
break;
- case PR_ASPERSIO:
case HW_GRAVITATION:
+ flag.imdef = 1;
+ flag.elefix = 0;
+ break;
+ case PR_ASPERSIO:
case ASC_BREAKER:
flag.imdef = 1;
case PF_SOULBURN: //Does not ignores mdef