summaryrefslogtreecommitdiff
path: root/npc/042-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-30 04:50:27 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-30 04:50:27 -0300
commita8e09c2df195dd4bf95c33de14eccb1494de2619 (patch)
treec0558ff52f32d73ab29a3fcbcf0e4f2f10be57d9 /npc/042-3
parent0b822b68cfa79cedd4f5ea21b1d8e78f5d998a12 (diff)
downloadserverdata-a8e09c2df195dd4bf95c33de14eccb1494de2619.tar.gz
serverdata-a8e09c2df195dd4bf95c33de14eccb1494de2619.tar.bz2
serverdata-a8e09c2df195dd4bf95c33de14eccb1494de2619.tar.xz
serverdata-a8e09c2df195dd4bf95c33de14eccb1494de2619.zip
For some reason
There are bugs with mobs
Diffstat (limited to 'npc/042-3')
-rw-r--r--npc/042-3/jail.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt
index 19c346a6c..199ab05a0 100644
--- a/npc/042-3/jail.txt
+++ b/npc/042-3/jail.txt
@@ -13,6 +13,10 @@
OnKillSlime:
.@label$=instance_npcname(.name$)+"::OnKillSlime";
+ if (!playerattached()) {
+ debugmes "[ERROR] Player not Attached on Slime Death D:";
+ debugmes "[ERROR] Cannot retrieve coordinates!!";
+ }
if (@lockpicks)
end;
if (rand2(10000) > 1000) {
@@ -24,6 +28,10 @@ OnKillSlime:
end;
OnFirstSlime:
+ if (!playerattached()) {
+ debugmes "[ERROR] Player not Attached on Slime Spawn D:";
+ debugmes "[ERROR] Cannot retrieve coordinates!!";
+ }
getmapxy(.@m$, .@x, .@y, 0);
sleep2(1800);
.@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, 1, .@label$);
@@ -34,11 +42,12 @@ OnFirstSlime:
// Spawn Siege Towers
OnInstanceInit:
- .@m$=instance_mapname(.map$);
+ .@m$=instance_mapname("042-3");
+ debugmes "Kamelot Init: Original %s Target %s", .map$, .@m$; // Fun fact
monster(.@m$, 89, 133, strmobinfo(1, SiegeTower), SiegeTower, 1);
monster(.@m$, 67, 114, strmobinfo(1, SiegeTower), SiegeTower, 1);
monster(.@m$, 30, 121, strmobinfo(1, SiegeTower), SiegeTower, 1);
- monster(.@m$, 23, 136, strmobinfo(1, SiegeTower), SiegeTower, 1);
+ monster(.@m$, 23, 137, strmobinfo(1, SiegeTower), SiegeTower, 1);
monster(.@m$, 29, 103, strmobinfo(1, SiegeTower), SiegeTower, 1);
monster(.@m$, 61, 91, strmobinfo(1, SiegeTower), SiegeTower, 1);
monster(.@m$, 75, 69, strmobinfo(1, SiegeTower), SiegeTower, 1);
@@ -125,7 +134,7 @@ OnKamelotSlide:
OnTouch:
.@g=getcharid(2);
- warp "042-3@"+.@g, 41, 23;
+ warp "042-2@"+.@g, 41, 23;
end;
}