summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/skill.c6
2 files changed, 8 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 1ff24936c..bd03cc246 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
09/05/07
+ * Fixed up the base success rate of normal strip skills [Playtester]
+ - normal strip skills: 5% + 5%*level
+ - Full Strip: 5% + 2%*level
* Fixed splash damage from Baphomet Card might miss. [Inkfish]
* Check if group unit is expired before processing it. (bugreport:3054) [Inkfish]
* Fixed Grand Corss outdated behavior (bugreport:1590) [Inkfish]
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