diff options
author | protimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-20 04:55:11 +0000 |
---|---|---|
committer | protimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-20 04:55:11 +0000 |
commit | 4aea4bbffef37d1a28855ac8ba413098deaf6bce (patch) | |
tree | 2203466adb7d33180147151a8d0e4e7d47a04d79 | |
parent | 2d2835e5fa41dc96f5dd23e2d1723eafc5e46a1e (diff) | |
download | hercules-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
-rw-r--r-- | db/skill_nocast_db.txt | 1 | ||||
-rw-r--r-- | src/map/skill.c | 17 |
2 files changed, 6 insertions, 12 deletions
diff --git a/db/skill_nocast_db.txt b/db/skill_nocast_db.txt index fe7702560..34ea55706 100644 --- a/db/skill_nocast_db.txt +++ b/db/skill_nocast_db.txt @@ -47,7 +47,6 @@ 87,8 //WZ_ICEWALL 150,8 //TF_BACKSLIDING 219,8 //RG_INTIMIDATE -264,8 //MO_BODYRELOCATION 336,8 //WE_CALLPARTNER 361,8 //HP_ASSUMPTIO 362,8 //HP_BASILICA 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)) |