diff options
author | cookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-17 22:58:04 +0000 |
---|---|---|
committer | cookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-17 22:58:04 +0000 |
commit | 722ace312d06d3c9ee3d9f21703795844c8542b9 (patch) | |
tree | 73c88d6cd149997f6eac40d7bc47d5b2029cfea1 /src/map/skill.c | |
parent | b28048043028b491ecf21129f9a6c79669d41915 (diff) | |
download | hercules-722ace312d06d3c9ee3d9f21703795844c8542b9.tar.gz hercules-722ace312d06d3c9ee3d9f21703795844c8542b9.tar.bz2 hercules-722ace312d06d3c9ee3d9f21703795844c8542b9.tar.xz hercules-722ace312d06d3c9ee3d9f21703795844c8542b9.zip |
Fixed bugreport:2101 and bugreport:4216 where Cracker doesn't stun players. Per official standards it does.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16659 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index fff7902d9..f15c972aa 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7162,15 +7162,14 @@ 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] + /* per official standards, this skill works on players and mobs. */ + if (sd && (dstsd || dstmd)) { 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,USESKILL_FAIL_LEVEL,0); break; case AM_CALLHOMUN: //[orn] |