summaryrefslogtreecommitdiff
path: root/world/map/conf
diff options
context:
space:
mode:
authorVincent Petithory <vincent.petithory@gmail.com>2012-09-24 18:02:25 +0200
committerVincent Petithory <vincent.petithory@gmail.com>2012-12-17 13:25:08 +0100
commita6910cd696eccbef6f056fb0f7f4d0f2b72a2ede (patch)
tree82abd66fededf44e6cd44f43d697cf83d5b2b7b6 /world/map/conf
parent3556738b24848b62b47ed0226fa1b9e6d8e82fcb (diff)
downloadserverdata-a6910cd696eccbef6f056fb0f7f4d0f2b72a2ede.tar.gz
serverdata-a6910cd696eccbef6f056fb0f7f4d0f2b72a2ede.tar.bz2
serverdata-a6910cd696eccbef6f056fb0f7f4d0f2b72a2ede.tar.xz
serverdata-a6910cd696eccbef6f056fb0f7f4d0f2b72a2ede.zip
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)
Diffstat (limited to 'world/map/conf')
-rw-r--r--world/map/conf/magic.conf.template1
1 files changed, 1 insertions, 0 deletions
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) =>