diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/042-10/ctrl.txt | 2 | ||||
-rw-r--r-- | npc/functions/util.txt | 1 |
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"); |