Przeglądaj źródła

- Emergency call &16 (disable skill from nowarpto maps) will now NOT block Emergency Call if that map is also a gvg-castle map. Makes it safe to turn on this option to prevent usage from special maps (like Lhz3) without crippling the skill during WoE.
- Added &16 to the default of the emergency_call setting.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9000 54d463be-8e91-2dee-dedb-b68131a5f0ec

skotlex 18 lat temu
rodzic
commit
9860974ef6
4 zmienionych plików z 10 dodań i 3 usunięć
  1. 4 0
      Changelog-Trunk.txt
  2. 3 0
      conf-tmpl/Changelog.txt
  3. 2 2
      conf-tmpl/battle/skill.conf
  4. 1 1
      src/map/skill.c

+ 4 - 0
Changelog-Trunk.txt

@@ -4,6 +4,10 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/10/16
+	* Emergency call &16 (disable skill from nowarpto maps) will now NOT block
+	  Emergency Call if that map is also a gvg-castle map. Makes it safe to turn
+	  on this option to prevent usage from special maps (like Lhz3) without
+	  crippling the skill during WoE. [Skotlex]
 	* Applied most of Mpeg's work on Ninja Skills. For information see:
 	  http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt [Skotlex]
 	* When reinvoking a combo-time, the previous combo time will be terminated.

+ 3 - 0
conf-tmpl/Changelog.txt

@@ -1,5 +1,8 @@
 Date	Added
 
+2006/10/16
+	* Added &16 to the default of the emergency_call setting (skill.conf)
+	  [Skotlex]
 2006/10/12
 	* Added Homunculus atcommands [Playtester]
 2006/10/11

+ 2 - 2
conf-tmpl/battle/skill.conf

@@ -232,8 +232,8 @@ max_heal_lv: 11
 // 4: Skill is usable outside of GvG grounds
 // 8: Skill is usable on GvG grounds
 //16: Disable skill from "nowarpto" maps
-//    (note that by default all Castles have the nowarpto flag)
-emergency_call: 15
+//    (it will work on GVG castles even if they are set to nowarpto, though)
+emergency_call: 31
 
 // Guild Aura Skills setting (add as appropiate).
 // (This affects GD_LEADERSHIP, GD_GLORYWOUNDS, GD_SOULCOLD and GD_HAWKEYES)

+ 1 - 1
src/map/skill.c

@@ -907,7 +907,7 @@ int skillnotok (int skillid, struct map_session_data *sd)
 				!(battle_config.emergency_call&(agit_flag?2:1)) ||
 				!(battle_config.emergency_call&
 					(map[m].flag.gvg || map[m].flag.gvg_castle?8:4)) ||
-				(battle_config.emergency_call&16 && map[m].flag.nowarpto)
+				(battle_config.emergency_call&16 && map[m].flag.nowarpto && !map[m].flag.gvg_castle)
 			)	{
 				clif_skill_fail(sd,skillid,0,0);
 				return 1;