瀏覽代碼

Fixed a typo in Pressure causing it to deduct sp from the caster, and remove its sp_rate requirement

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1019 54d463be-8e91-2dee-dedb-b68131a5f0ec
(no author) 20 年之前
父節點
當前提交
d530bc485d
共有 3 個文件被更改,包括 4 次插入2 次删除
  1. 2 0
      Changelog.txt
  2. 1 1
      db/skill_require_db.txt
  3. 1 1
      src/map/skill.c

+ 2 - 0
Changelog.txt

@@ -1,6 +1,8 @@
 Date	Added
 
 01/31
+        * Fixed a typo in Pressure causing it to deduct sp from the caster, and remove
+          its sp_rate requirement [celest]
         * Updated skill_range_leniency code when casting a ground targetting spell      
           ( as in Revision 968) [celest]
         * Added Karma and Manner to const.txt

+ 1 - 1
db/skill_require_db.txt

@@ -252,7 +252,7 @@
 
 365,0,0,8,0,0,0,99,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HW_MAGICCRASHER#マジッククラッシャ?#
 366,0,0,14:18:22:26:30:34:38:42:46:50,0,0,0,99,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HW_MAGICPOWER#魔法力?幅#
-367,0,0,30:35:40:45:50,0,20:25:30:35:40,0,99,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PA_PRESSURE#プレッシャ?#
+367,0,0,30:35:40:45:50,0,0,0,99,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PA_PRESSURE#プレッシャ?#
 368,0,0,100,0,0,0,99,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PA_SACRIFICE#サクリファイス#
 369,0,0,80:80:80:80:80:100:100:100:100:100,0,0,0,99,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PA_GOSPEL#ゴスペル#
 370,0,0,2:4:6:8:10,0,0,0,99,explosionspirits,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//CH_PALMSTRIKE#猛虎硬派山#

+ 1 - 1
src/map/skill.c

@@ -2303,7 +2303,7 @@ int skill_castend_damage_id( struct block_list* src, struct block_list *bl,int s
 			sp = tsd->status.max_sp * 10 * skilllv / 100;
 			if (sp > tsd->status.sp) sp = tsd->status.sp;
 			tsd->status.sp -= sp;
-			pc_heal(sd,0,-sp);
+			pc_heal(tsd,0,-sp);
 		}
 		break;
 	case NPC_DARKBREATH: