diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-12 12:45:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-12 12:45:10 -0300 |
commit | e088bd4ed38da102aead2e66a2866c1a8f3548c4 (patch) | |
tree | c9543baca328877814e8867aad0578f685bd02b5 /npc | |
parent | e1cc0b9e032681c68ecb44c19bcdde7175425b30 (diff) | |
download | serverdata-e088bd4ed38da102aead2e66a2866c1a8f3548c4.tar.gz serverdata-e088bd4ed38da102aead2e66a2866c1a8f3548c4.tar.bz2 serverdata-e088bd4ed38da102aead2e66a2866c1a8f3548c4.tar.xz serverdata-e088bd4ed38da102aead2e66a2866c1a8f3548c4.zip |
Remove now useless/deprecated ammo checking function
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/debug.txt | 2 | ||||
-rw-r--r-- | npc/items/launcher_ammo.txt | 19 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
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", |