summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-12-27 05:22:39 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-12-27 05:22:39 +0000
commit5beff994088c64437c0ba23afb04bf4ae9f65956 (patch)
treed0ea1fc4f8a8216a32a42baea80b4c8bcac1eb18 /src
parent6b3e3bb6101e8e6e6b284084f341d11afe9ca059 (diff)
downloadhercules-5beff994088c64437c0ba23afb04bf4ae9f65956.tar.gz
hercules-5beff994088c64437c0ba23afb04bf4ae9f65956.tar.bz2
hercules-5beff994088c64437c0ba23afb04bf4ae9f65956.tar.xz
hercules-5beff994088c64437c0ba23afb04bf4ae9f65956.zip
Fixed Meteor Assault and Spread Attack have twice the chance to trigger AutoSpellOnSkill.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14215 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 864aa3b7d..52b96383f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3967,8 +3967,13 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case ASC_METEORASSAULT:
case GS_SPREADATTACK:
- case NPC_EARTHQUAKE:
+ skill_area_temp[1] = 0;
clif_skill_nodamage(src,bl,skillid,skilllv,1);
+ map_foreachinrange(skill_area_sub, bl, skill_get_splash(skillid, skilllv), splash_target(src),
+ src, skillid, skilllv, tick, flag|BCT_ENEMY|SD_SPLASH|1, skill_castend_damage_id);
+ break;
+
+ case NPC_EARTHQUAKE:
case NPC_VAMPIRE_GIFT:
case NPC_HELLJUDGEMENT:
case NPC_PULSESTRIKE: