summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 3d9e73d91..7e99c2f49 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2009/12/27
+ * Fixed Meteor Assault and Spread Attack have twice the chance to trigger AutoSpellOnSkill. [Inkfish]
2009/12/03
* Prevented online user count from going negative. (bugreport:3913) [Paradox924X]
2009/12/02
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: