summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-08 13:29:22 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-08 13:29:22 -0300
commitf9fa076a03993157898f8c8121963fbaecb2a167 (patch)
tree72a0fbfa73e90c12c956528e67af882ae7e584c7
parent1f386add4d1f1b3ee082f657ba9884323bfaab57 (diff)
downloadserverdata-f9fa076a03993157898f8c8121963fbaecb2a167.tar.gz
serverdata-f9fa076a03993157898f8c8121963fbaecb2a167.tar.bz2
serverdata-f9fa076a03993157898f8c8121963fbaecb2a167.tar.xz
serverdata-f9fa076a03993157898f8c8121963fbaecb2a167.zip
Fix respawn code in 042-10
-rw-r--r--npc/042-10/ctrl.txt2
-rw-r--r--npc/functions/util.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/npc/042-10/ctrl.txt b/npc/042-10/ctrl.txt
index bf7a9d2d7..97996bc29 100644
--- a/npc/042-10/ctrl.txt
+++ b/npc/042-10/ctrl.txt
@@ -542,7 +542,7 @@ OnRespawn:
debugmes "[ERROR] [KAMELOT] Unable to respawn for Kamelot %s", .map$;
.@g=0;
}
- KamelotCaveSpawn(1, 20, 20, 160, 140, $KAMELOT_MX[.@g]+10);
+ KamelotCaveSpawn(1, 20, 20, 160, 140, $KAMELOT_MX[.@g]+10, .@map$[0]);
end;
OnInstanceInit:
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index f8593723f..98d96336e 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -808,6 +808,7 @@ function script abizit {
// anyloot( {item 1, amount 1, chance 1}, {item 2, amount 2, chance 2}... )
// Give chance (standard 1~10000 roll) to obtain item, capped at amount.
+// TODO: Fill an array, then inventoryplace() and getitem()
function script anyloot {
if (getargcount() < 3 || getargcount() % 3 != 0)
return Exception("Faulty anyloot skill command invoked - error");