diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c4a035f07..53a212465 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5440,9 +5440,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case GS_CRACKER: if (!dstsd) // according to latest patch, should not work on players [Reddozen] { - int rate=10+(skill_get_range2(src,skillid,skilllv)-distance_bl(src,bl))*20; + 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,(rate>100)?100:rate,skilllv,skill_get_time2(skillid,skilllv)); //New temp stun rate (by RockmanEXE) + sc_start(bl,SC_STUN, i,skilllv,skill_get_time2(skillid,skilllv)); } else if (sd) clif_skill_fail(sd,skillid,0,0); |