diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-21 19:47:20 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-21 19:47:20 +0000 |
commit | 11414d1e6ba30951ca99071255d479b64858464f (patch) | |
tree | 0c97d84fda3076595e6033cf1b6ac71c4c2f1661 /src/map/skill.c | |
parent | f1f903e398fc76d8286bc0ea8aaee97fb32d8bee (diff) | |
download | hercules-11414d1e6ba30951ca99071255d479b64858464f.tar.gz hercules-11414d1e6ba30951ca99071255d479b64858464f.tar.bz2 hercules-11414d1e6ba30951ca99071255d479b64858464f.tar.xz hercules-11414d1e6ba30951ca99071255d479b64858464f.zip |
- Corrected TripleAction's damage. It should do 150%*3 instead of 100*3% damage.
- Updated GS_CRACKER's stun chance using Doddler's info as reference.
- GS_FLING won't reduce armor defense when used on players.
- Added constant MAX_STEAL_DROP to determine up to which slot you can steal.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9286 54d463be-8e91-2dee-dedb-b68131a5f0ec
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); |