From d530bc485d2c1dfc4344bcc77074fb2ca6bb6fd8 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Tue, 1 Feb 2005 14:51:58 +0000 Subject: [PATCH] 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 --- Changelog.txt | 2 ++ db/skill_require_db.txt | 2 +- src/map/skill.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 5c311e78f2..2ca3509482 100644 --- a/Changelog.txt +++ b/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 diff --git a/db/skill_require_db.txt b/db/skill_require_db.txt index ec109af855..eab1782313 100644 --- a/db/skill_require_db.txt +++ b/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#猛虎硬派山# diff --git a/src/map/skill.c b/src/map/skill.c index b57b2d2aa9..ed6cf3436d 100644 --- a/src/map/skill.c +++ b/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: