diff options
author | wushin <pasekei@gmail.com> | 2016-03-26 12:32:33 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2016-03-26 21:12:00 -0500 |
commit | d374cb9af05ebc44bb6ff66e9fbc024c90345a0d (patch) | |
tree | 70930d89c418fa401eadb67328cce481bb16f456 /world/map | |
parent | 5c63870c5723216cc3efca7077ff4a322036de21 (diff) | |
download | serverdata-d374cb9af05ebc44bb6ff66e9fbc024c90345a0d.tar.gz serverdata-d374cb9af05ebc44bb6ff66e9fbc024c90345a0d.tar.bz2 serverdata-d374cb9af05ebc44bb6ff66e9fbc024c90345a0d.tar.xz serverdata-d374cb9af05ebc44bb6ff66e9fbc024c90345a0d.zip |
Add range check
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/008-1/annualeaster.txt | 9 |
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; |