diff options
author | Jesusaves <cpntb1@ymail.com> | 2025-03-22 13:38:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2025-03-22 13:38:17 -0300 |
commit | 729109fa1252cdbe794da42364b9ee8fe00c9fca (patch) | |
tree | 362d9b9889630dea211a1cc1341bd34a92e9267e | |
parent | f9e02d601025f249f2a696e0689ace1220bfc4f3 (diff) | |
download | serverdata-729109fa1252cdbe794da42364b9ee8fe00c9fca.tar.gz serverdata-729109fa1252cdbe794da42364b9ee8fe00c9fca.tar.bz2 serverdata-729109fa1252cdbe794da42364b9ee8fe00c9fca.tar.xz serverdata-729109fa1252cdbe794da42364b9ee8fe00c9fca.zip |
Bugfix at Kamelot
-rw-r--r-- | npc/042-3/jail.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt index d41c33e67..7ce2d30d0 100644 --- a/npc/042-3/jail.txt +++ b/npc/042-3/jail.txt @@ -10,7 +10,8 @@ end; OnKillSlime: - debugmes "Slime slain"; + if ($@GM_OVERRIDE || debug) + debugmes "Slime slain"; if (!playerattached()) { consolewarn "[ERROR] Player not Attached on Slime Death D:"; debugmes "[ERROR] Cannot retrieve coordinates!!"; @@ -27,7 +28,10 @@ OnKillSlime: OnFirstSlime: // Yes, we just hope it works out of box - explode(.@map$, .map$, "@"); + if (playerattached()) + explode(.@map$, getmap(), "@"); + else + explode(.@map$, .map$, "@"); .@g=atoi(.@map$[1]); if (.@g < 1) { consolewarn "[ERROR] [KAMELOT] Unable to spawn for Kamelot %s", .map$; |