summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-07 17:06:56 +0000
committerPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-07 17:06:56 +0000
commit0264aeae76c468e595563322b7a87d16eff4e00d (patch)
tree07a227275036f3bb97eb5ab205f8ddc3026f4406 /src/map/skill.c
parentf215e96049cc2e7398f4cea954ad52d9c04f57f6 (diff)
downloadhercules-0264aeae76c468e595563322b7a87d16eff4e00d.tar.gz
hercules-0264aeae76c468e595563322b7a87d16eff4e00d.tar.bz2
hercules-0264aeae76c468e595563322b7a87d16eff4e00d.tar.xz
hercules-0264aeae76c468e595563322b7a87d16eff4e00d.zip
* Fixed up the base success rate of normal strip skills
- normal strip skills: 5% + 5%*level - Full Strip: 5% + 2%*level git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13740 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index e65b87639..ab5d6cea6 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4327,7 +4327,11 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
int d = 0;
//Rate in percent
- i = 5 + 2*skilllv + (sstatus->dex - tstatus->dex)/5;
+ if ( skillid == ST_FULLSTRIP ) {
+ i = 5 + 2*skilllv + (sstatus->dex - tstatus->dex)/5;
+ } else {
+ i = 5 + 5*skilllv + (sstatus->dex - tstatus->dex)/5;
+ }
if (i < 5) i = 5; //Minimum rate 5%
//Duration in ms