From d74e2a1e8a487287289c76a98893d6688c972bbe Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 2 Mar 2009 19:24:52 +0000 Subject: Partial revert of r13556. The client doesn't handle active skills with 0 sp correctly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13558 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/skill_require_db.txt | 2 +- src/map/skill.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/skill_require_db.txt b/db/skill_require_db.txt index 2d575c2b6..57503b618 100644 --- a/db/skill_require_db.txt +++ b/db/skill_require_db.txt @@ -135,7 +135,7 @@ 142,0,0,3,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NV_FIRSTAID#?急手?# 143,0,0,5,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NV_TRICKDEAD#死んだふり# -146,0,0,0,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SM_AUTOBERSERK#オ?トバ?サ?ク# +146,0,0,1,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //SM_AUTOBERSERK#オ?トバ?サ?ク# 147,0,0,10,0,0,0,99,0,0,recover_weight_rate,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //AC_MAKINGARROW#矢作成# 148,0,0,15,0,0,0,11,1,1,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //AC_CHARGEARROW#チャ?ジアロ?# 149,0,0,9,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //TF_SPRINKLESAND#砂まき# diff --git a/src/map/skill.c b/src/map/skill.c index cb8fb986d..159f445ea 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1306,7 +1306,7 @@ int skill_blown(struct block_list* src, struct block_list* target, int count, in break; case BL_SKILL: su = (struct skill_unit *)target; - if( su->group->skill_id == HT_ANKLESNARE ) + if( su->group->unit_id == UNT_ANKLESNARE ) return 0; // ankle snare cannot be knocked back break; } -- cgit v1.2.3-60-g2f50