瀏覽代碼

* 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://svn.code.sf.net/p/rathena/svn/trunk@13740 54d463be-8e91-2dee-dedb-b68131a5f0ec

Playtester 16 年之前
父節點
當前提交
5575c28e84
共有 2 個文件被更改,包括 8 次插入1 次删除
  1. 3 0
      Changelog-Trunk.txt
  2. 5 1
      src/map/skill.c

+ 3 - 0
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]

+ 5 - 1
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