Sfoglia il codice sorgente

Partial revert of r13556. The client doesn't handle active skills with 0 sp correctly.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13558 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 16 anni fa
parent
commit
6a33ab38d2
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      db/skill_require_db.txt
  2. 1 1
      src/map/skill.c

+ 1 - 1
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#砂まき#

+ 1 - 1
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;
 	}