summaryrefslogtreecommitdiff
path: root/npc/003-3/malindou.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-3/malindou.txt')
-rw-r--r--npc/003-3/malindou.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 8a344d975..bce70f45d 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -153,7 +153,10 @@ OnInit:
// Current UPDATE value: Sab Dez 15 21:45:15 -02 2018
// Upgrade every Wooden Sword in a Bug Slayer
if ($UPDATE < 1544917515) {
- query_sql("UPDATE `char` SET `last_x` = '35' WHERE `char`.`last_map`='005-1'"+BugSlayer);
+ query_sql("UPDATE `inventory` SET `nameid` = '"+BugSlayer+"' WHERE `inventory`.`nameid`='"+WoodenSword+"'");
+ query_sql("UPDATE `storage` SET `nameid` = '"+BugSlayer+"' WHERE `inventory`.`nameid`='"+WoodenSword+"'");
+ query_sql("UPDATE `cart_inventory` SET `nameid` = '"+BugSlayer+"' WHERE `inventory`.`nameid`='"+WoodenSword+"'");
+ query_sql("UPDATE `guild_storage` SET `nameid` = '"+BugSlayer+"' WHERE `inventory`.`nameid`='"+WoodenSword+"'");
$UPDATE=1544917515;
debugmes "";
debugmes "* Replaced Wooden Swords with Bug Slayer";