summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/debug.txt2
-rw-r--r--npc/items/launcher_ammo.txt19
-rw-r--r--npc/scripts.conf1
3 files changed, 2 insertions, 20 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt
index c02472ea..975470ee 100644
--- a/npc/commands/debug.txt
+++ b/npc/commands/debug.txt
@@ -7,6 +7,8 @@ L_Begin:
@debug_shift = 0;
@mexp = ((MAGIC_EXPERIENCE & @debug_mask) >> @debug_shift);
mes "What do you want to do?";
+ mes "Your range: "+readbattleparam(getcharid(3), UDT_ATKRANGE);
+ mes "Bow range: "+getiteminfo(Bow, ITEMINFO_RANGE);
menu
"Reset stat points.", L_Level,
"Change my level.", L_Level,
diff --git a/npc/items/launcher_ammo.txt b/npc/items/launcher_ammo.txt
deleted file mode 100644
index 4c84e950..00000000
--- a/npc/items/launcher_ammo.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-
-function script CheckLauncher {
- if (getequipid(equip_arrow) == -1)
- @LauncherType = 0;
- return;
-}
-
-function script CheckAmmo {
- if ((@LauncherType == @AmmoType) || (!@LauncherType))
- goto L_Return;
-
- callfunc "UnequipLater";
- goto L_Return;
-
-L_Return:
- @LauncherType = 0;
- @AmmoType = 0;
- return;
-}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 5d6d995d..55a337b4 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -59,7 +59,6 @@
"npc/items/restricted_item.txt",
"npc/items/warpTowels.txt",
"npc/items/unequipcb.txt",
-"npc/items/launcher_ammo.txt",
"npc/items/check_wand.txt",
"npc/items/mirror.txt",
"npc/items/rubber_bat.txt",