diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-28 05:35:05 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-28 05:35:05 +0000 |
commit | 24ae84fd70124f57a94da489588df39ea09f3d00 (patch) | |
tree | 78fb9c5f7f73501f99b583c49cc66fe2f2d7c81f /src/map/skill.c | |
parent | 3b518ff7cc8546064a62a7da3f258cb424f204b0 (diff) | |
download | hercules-24ae84fd70124f57a94da489588df39ea09f3d00.tar.gz hercules-24ae84fd70124f57a94da489588df39ea09f3d00.tar.bz2 hercules-24ae84fd70124f57a94da489588df39ea09f3d00.tar.xz hercules-24ae84fd70124f57a94da489588df39ea09f3d00.zip |
Fixed bugreport:5516 Royal Guard's Pinpoint Attack formula was updated and fixed.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15812 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 22061a312..e4f75ddcc 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1212,7 +1212,7 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int sc_start(bl, SC_STUN, 30 + 8 * skilllv, skilllv, skill_get_time(skillid,skilllv)); break; case LG_PINPOINTATTACK: - rate = 12 + (10 * skilllv + (sstatus->agi / 100) ) * 140 / 100; + rate = 30 + (((5 * (sd?pc_checkskill(sd,LG_PINPOINTATTACK):skilllv)) + (sstatus->agi + status_get_lv(src))) / 10); switch( skilllv ) { case 1: sc_start(bl,SC_BLEEDING,rate,skilllv,skill_get_time(skillid,skilllv)); @@ -1222,7 +1222,7 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int pc_delspiritball(dstsd, dstsd->spiritball, 0); break; default: - skill_break_equip(bl,(skilllv == 3) ? EQP_SHIELD : (skilllv == 4) ? EQP_ARMOR : EQP_WEAPON,rate,BCT_ENEMY); + skill_break_equip(bl,(skilllv == 3) ? EQP_SHIELD : (skilllv == 4) ? EQP_ARMOR : EQP_WEAPON,rate * 100,BCT_ENEMY); break; } break; |