From 7d9a2511382e90bc468602fec78f1f473cacf637 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 16 Oct 2006 19:16:16 +0000 Subject: - 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9000 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 5e1a87606..6a4993ec8 100644 --- a/src/map/skill.c +++ b/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; -- cgit v1.2.3-60-g2f50