summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-20 18:07:23 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-20 18:07:23 +0000
commit87e712cf0293ed4ffc8d117c69316c8facb69a02 (patch)
tree972078d85cb09713b760385bbf298ccc94713e42 /src/map
parentc6ef4ba85df1bd56851c25e8f39ad69b9c6615c8 (diff)
downloadhercules-87e712cf0293ed4ffc8d117c69316c8facb69a02.tar.gz
hercules-87e712cf0293ed4ffc8d117c69316c8facb69a02.tar.bz2
hercules-87e712cf0293ed4ffc8d117c69316c8facb69a02.tar.xz
hercules-87e712cf0293ed4ffc8d117c69316c8facb69a02.zip
- Fixed Earthquake not clearing out the target-count before counting targets.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11052 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index b8abc15c8..a67eb9d70 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4125,14 +4125,13 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case NPC_EARTHQUAKE:
+ case ASC_METEORASSAULT:
+ case GS_SPREADATTACK:
+ skill_area_temp[0] = 0;
if (skill_get_nk(skillid)&NK_SPLASHSPLIT)
map_foreachinrange(skill_area_sub, bl,
skill_get_splash(skillid, skilllv), BL_CHAR,
src, skillid, skilllv, tick, BCT_ENEMY, skill_area_sub_count);
- else
- skill_area_temp[0] = 0;
- case ASC_METEORASSAULT:
- case GS_SPREADATTACK:
clif_skill_nodamage(src,bl,skillid,skilllv,1);
case NPC_HELLJUDGEMENT:
case NPC_PULSESTRIKE: