summaryrefslogtreecommitdiff
path: root/npc/021-4/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-22 20:23:12 -0200
committerJesusaves <cpntb1@ymail.com>2018-10-22 20:23:12 -0200
commit93eabc44301c41ef96a18a64fb7a7d3785e99610 (patch)
treec67911578fab578ed6d04978ed2d602f830053c5 /npc/021-4/main.txt
parent659dad9dd937ff985cde34e186e9f98591525cf9 (diff)
downloadserverdata-93eabc44301c41ef96a18a64fb7a7d3785e99610.tar.gz
serverdata-93eabc44301c41ef96a18a64fb7a7d3785e99610.tar.bz2
serverdata-93eabc44301c41ef96a18a64fb7a7d3785e99610.tar.xz
serverdata-93eabc44301c41ef96a18a64fb7a7d3785e99610.zip
Correct coordinates after map resize
Diffstat (limited to 'npc/021-4/main.txt')
-rw-r--r--npc/021-4/main.txt22
1 files changed, 15 insertions, 7 deletions
diff --git a/npc/021-4/main.txt b/npc/021-4/main.txt
index ab7a7bf6d..6190b2417 100644
--- a/npc/021-4/main.txt
+++ b/npc/021-4/main.txt
@@ -27,16 +27,17 @@ function script CindySwitch_Check_214 {
if (.@st5 > 0) .@i++;
return .@i;
}
-021-4,77,25,0 duplicate(#CindySwitch_01) #CindySwitch_06 NPC_SWITCH_OFFLINE
-021-4,66,71,0 duplicate(#CindySwitch_01) #CindySwitch_07 NPC_SWITCH_OFFLINE
-021-4,25,57,0 duplicate(#CindySwitch_01) #CindySwitch_08 NPC_SWITCH_OFFLINE
-021-4,23,13,0 duplicate(#CindySwitch_01) #CindySwitch_09 NPC_SWITCH_OFFLINE
-021-4,56,41,0 duplicate(#CindySwitch_01) #CindySwitch_10 NPC_SWITCH_OFFLINE
+
+021-4,101,33,0 duplicate(#CindySwitch_01) #CindySwitch_06 NPC_SWITCH_OFFLINE
+021-4,90,79,0 duplicate(#CindySwitch_01) #CindySwitch_07 NPC_SWITCH_OFFLINE
+021-4,49,65,0 duplicate(#CindySwitch_01) #CindySwitch_08 NPC_SWITCH_OFFLINE
+021-4,47,21,0 duplicate(#CindySwitch_01) #CindySwitch_09 NPC_SWITCH_OFFLINE
+021-4,80,49,0 duplicate(#CindySwitch_01) #CindySwitch_10 NPC_SWITCH_OFFLINE
// Cindy
// Global Variable: $@CINDY_STATE
-021-4,42,41,0 script Cindy#Outside NPC_CINDY_CAGE,{
+021-4,66,49,0 script Cindy#Outside NPC_CINDY_CAGE,{
if (getq(NivalisQuest_Cindy) < 5)
goto L_Cheat;
if ($@CINDY_STATE > 150000) goto L_Reset;
@@ -85,8 +86,15 @@ L_Begin:
enablenpc "#CindySwitch_08";
enablenpc "#CindySwitch_09";
enablenpc "#CindySwitch_10";
+
+ .@pl = getmapusers("021-4");
+ areamonster "021-4", 20, 20, 100, 80, "Yeti", Yeti, .@pl, "Cindy#Outside::OnPetDeath";
+ monster "021-4", 66, 49, "Yeti", Yeti, 1, "Cindy#Outside::OnPetDeath";
close;
+OnPetDeath:
+ end;
+
L_Cleanup:
.lifetime=0;
$@CINDY_HERO="";
@@ -100,7 +108,7 @@ L_Cleanup:
OnInit:
.distance=5;
- .lifetime=0;
+ .lifetime=0; // Controls Yeti Wave
$@CINDY_HERO="";
disablenpc "#CindySwitch_06";
disablenpc "#CindySwitch_07";