From a6910cd696eccbef6f056fb0f7f4d0f2b72a2ede Mon Sep 17 00:00:00 2001 From: Vincent Petithory Date: Mon, 24 Sep 2012 18:02:25 +0200 Subject: Prevent players to warp from the Illia island (map 052 only): * Update the warp towels conditions * Update dark petal related spell. (#S00 or #alonzialonzo). (requires running build-magic.sh) --- world/map/conf/magic.conf.template | 1 + 1 file changed, 1 insertion(+) (limited to 'world/map/conf') diff --git a/world/map/conf/magic.conf.template b/world/map/conf/magic.conf.template index 5f459fd1..90ba4c7f 100644 --- a/world/map/conf/magic.conf.template +++ b/world/map/conf/magic.conf.template @@ -1475,6 +1475,7 @@ 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 + (map_nr(location(caster)) != 52) && # Do not allow if player is in Illia island (map_nr(location(caster)) != 5698) # Do not allow if player is in botcheck area ) => ((REQUIRE rdistance(location(caster), @("028-1.gat", 69, 70)) < 5) => -- cgit v1.2.3-70-g09d2