summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-03 12:22:46 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-03 12:22:46 -0300
commita88bf7a2700a5d90f868348e0506d0844eb57e72 (patch)
tree951f2f7be8cbd5d934578d9d7f105ded6204601f /npc
parentd1acea842b0188ca849e7697becfa67c53b69e42 (diff)
downloadserverdata-a88bf7a2700a5d90f868348e0506d0844eb57e72.tar.gz
serverdata-a88bf7a2700a5d90f868348e0506d0844eb57e72.tar.bz2
serverdata-a88bf7a2700a5d90f868348e0506d0844eb57e72.tar.xz
serverdata-a88bf7a2700a5d90f868348e0506d0844eb57e72.zip
Fix Tolchi outdated CSYS code
Diffstat (limited to 'npc')
-rw-r--r--npc/005-4/tolchi.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt
index 0ff4b791b..8b1c749dd 100644
--- a/npc/005-4/tolchi.txt
+++ b/npc/005-4/tolchi.txt
@@ -309,8 +309,10 @@ function tolchi_tweaks {
// Armor fix
if (getiteminfo(.@handle, ITEMINFO_TYPE) == IT_ARMOR) {
- csys_ArmorFix();
+ csys_ArmorFix(.@handle);
.@lv=max(1, .@lv/4);
+ } else {
+ csys_WeaponFix(.@handle);
}
// Select a bonus and purge it