From cfb86d24b4f89563c8cbe9d539d86a02bd86a1f9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 8 Aug 2021 17:07:41 -0300 Subject: Fix typos at Illia Janitors --- npc/052-1/janitor.txt | 2 +- npc/052-2/janitor.txt | 2 +- npc/functions/main.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/052-1/janitor.txt b/npc/052-1/janitor.txt index cae999e5..3ff30075 100644 --- a/npc/052-1/janitor.txt +++ b/npc/052-1/janitor.txt @@ -5,7 +5,7 @@ end; OnCommandClean: // Kill all monsters (that includes the spawned Demonic Spirits and Azul Slimes) // Note that the loot the slimes may have picked will be deleted at the same time. - killmonster "052-1", "All"; + killmonster "052-1", "all"; // Delete the magic stones that are still laying around. // FIXME Syntax error happens if not setting a variable... set $@dummy_var, getareadropitem("052-1", 1, 1, 98, 78, 873, 1) + diff --git a/npc/052-2/janitor.txt b/npc/052-2/janitor.txt index 7583f4e4..fa1664b7 100644 --- a/npc/052-2/janitor.txt +++ b/npc/052-2/janitor.txt @@ -3,7 +3,7 @@ end; OnCommandClean: // For security, kill all. - killmonster "052-2", "All"; + killmonster "052-2", "all"; npcwarp 1, 1, "Luvia?"; end; diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 763a1c40..0b89ae72 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -699,7 +699,7 @@ function script fakenpcname { function script npcwarp { if (getargcount() > 2) - .@id=getnpcid(getarg(3)); + .@id=getnpcid(getarg(2)); else .@id=getnpcid(); -- cgit v1.2.3-60-g2f50