ソースを参照

Fixed Teleport through Hocus-Pocus skips menu. (bugreport:3513)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14020 54d463be-8e91-2dee-dedb-b68131a5f0ec
Inkfish 15 年 前
コミット
8b3aeaa2ee
2 ファイル変更3 行追加1 行削除
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+09/08/21
+	* Fixed Teleport through Hocus-Pocus skips menu. (bugreport:3513) [Inkfish]
 09/08/20
 	* Added bMagicHPGainValue and bMagicSPGainValue. [Inkfish]
 	* Fixed the wrong packet length makes client choke when add_quest packets are sent. [Inkfish]

+ 1 - 1
src/map/skill.c

@@ -4408,7 +4408,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 				break;
 			}
 
-			if( sd->state.autocast || sd->skillitem == AL_TELEPORT || (battle_config.skip_teleport_lv1_menu && skilllv == 1) || skilllv > 2 )
+			if( sd->state.autocast || ( (sd->skillitem == AL_TELEPORT || battle_config.skip_teleport_lv1_menu) && skilllv == 1 ) || skilllv == 3 )
 			{
 				if( skilllv == 1 )
 					pc_randomwarp(sd,3);