summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2016-03-26 12:32:33 -0500
committerwushin <pasekei@gmail.com>2016-03-26 21:12:00 -0500
commitd374cb9af05ebc44bb6ff66e9fbc024c90345a0d (patch)
tree70930d89c418fa401eadb67328cce481bb16f456 /world
parent5c63870c5723216cc3efca7077ff4a322036de21 (diff)
downloadserverdata-d374cb9af05ebc44bb6ff66e9fbc024c90345a0d.tar.gz
serverdata-d374cb9af05ebc44bb6ff66e9fbc024c90345a0d.tar.bz2
serverdata-d374cb9af05ebc44bb6ff66e9fbc024c90345a0d.tar.xz
serverdata-d374cb9af05ebc44bb6ff66e9fbc024c90345a0d.zip
Add range check
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/008-1/annualeaster.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/world/map/npc/008-1/annualeaster.txt b/world/map/npc/008-1/annualeaster.txt
index 1030fcd3..6af6f8d0 100644
--- a/world/map/npc/008-1/annualeaster.txt
+++ b/world/map/npc/008-1/annualeaster.txt
@@ -115,6 +115,9 @@ L_End1:
008-1,65,40,0|script|#TestEgg0|375
{
+ callfunc "PCtoNPCRange";
+ if(@npc_check) end;
+
set @EasterEggID, 0;
callfunc("AnnualEasterEvent");
end;
@@ -122,6 +125,9 @@ L_End1:
008-1,65,40,0|script|#TestEgg1|375
{
+ callfunc "PCtoNPCRange";
+ if(@npc_check) end;
+
set @EasterEggID, 1;
callfunc("AnnualEasterEvent");
end;
@@ -129,6 +135,9 @@ L_End1:
008-1,65,40,0|script|#TestEgg2|375
{
+ callfunc "PCtoNPCRange";
+ if(@npc_check) end;
+
set @EasterEggID, 2;
callfunc("AnnualEasterEvent");
end;