From a0ac34cf122f46d8864fb21f881e0df9e478f84e Mon Sep 17 00:00:00 2001 From: Vincent Petithory Date: Mon, 3 Sep 2012 23:42:24 +0200 Subject: Do not allow players to teleport from botcheck using the easter 2010 teleport spell. --- world/map/conf/magic.conf.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'world/map') diff --git a/world/map/conf/magic.conf.template b/world/map/conf/magic.conf.template index 372f0204..e77039fc 100644 --- a/world/map/conf/magic.conf.template +++ b/world/map/conf/magic.conf.template @@ -1469,7 +1469,9 @@ CONST E10_FLAG_USED_FREE_WARP_SHIFT = 17 NONMAGIC SILENT SPELL world-shift : "#S00" = (REQUIRE (script_int(caster, "Easter_2010_QuestState") >> 16) & 1 == 1 && (script_int(caster, "Easter_2010_QuestState") >> 7) & 3 == 2) => # Travel only works when you have both helped the doctor at least thrice and have defeated the invader - top level requirement. - ( (REQUIRE count_item(caster, "DarkPetal")) # Allow unlimited travel with the petal + ( (REQUIRE (count_item(caster, "DarkPetal")) && # Allow unlimited travel with the petal + (map_nr(location(caster)) != 5698) # Do not allow if player is in botcheck area + ) => ((REQUIRE rdistance(location(caster), @("028-1.gat", 63, 67)) < 5) => EFFECT sfx(location(caster), SFX_TELEPORT, 200); WAIT 8000; -- cgit v1.2.3-60-g2f50