summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 04:55:11 +0000
committerprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 04:55:11 +0000
commit4aea4bbffef37d1a28855ac8ba413098deaf6bce (patch)
tree2203466adb7d33180147151a8d0e4e7d47a04d79 /src
parent2d2835e5fa41dc96f5dd23e2d1723eafc5e46a1e (diff)
downloadhercules-4aea4bbffef37d1a28855ac8ba413098deaf6bce.tar.gz
hercules-4aea4bbffef37d1a28855ac8ba413098deaf6bce.tar.bz2
hercules-4aea4bbffef37d1a28855ac8ba413098deaf6bce.tar.xz
hercules-4aea4bbffef37d1a28855ac8ba413098deaf6bce.zip
* Fixed Cracker (GS_CRACKER) not work the stun effect.
* Correct the use of Snap (MO_BODYRELOCATION) in battlegrounds. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15175 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 97d9b9ab7..1bb733c44 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6349,17 +6349,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
}
break;
- case GS_CRACKER:
- if (!dstsd) // according to latest patch, should not work on players [Reddozen]
- {
- i =65 -5*distance_bl(src,bl); //Base rate
- if (i < 30) i = 30;
- clif_skill_nodamage(src,bl,skillid,skilllv,1);
- sc_start(bl,SC_STUN, i,skilllv,skill_get_time2(skillid,skilllv));
- }
- else if (sd)
- clif_skill_fail(sd,skillid,0,0);
- break;
+ case GS_CRACKER:
+ i =65 -5*distance_bl(src,bl); //Base rate
+ if (i < 30) i = 30;
+ clif_skill_nodamage(src,bl,skillid,skilllv,1);
+ sc_start(bl,SC_STUN, i,skilllv,skill_get_time2(skillid,skilllv));
+ break;
case AM_CALLHOMUN: //[orn]
if (sd && !merc_call_homunculus(sd))