summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-02 19:24:52 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-02 19:24:52 +0000
commitd74e2a1e8a487287289c76a98893d6688c972bbe (patch)
tree5cb536a368e79edf098102287ec8ebfbf2842267
parent9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf (diff)
downloadhercules-d74e2a1e8a487287289c76a98893d6688c972bbe.tar.gz
hercules-d74e2a1e8a487287289c76a98893d6688c972bbe.tar.bz2
hercules-d74e2a1e8a487287289c76a98893d6688c972bbe.tar.xz
hercules-d74e2a1e8a487287289c76a98893d6688c972bbe.zip
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
-rw-r--r--db/skill_require_db.txt2
-rw-r--r--src/map/skill.c2
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;
}