From fdc734cc108cfe2612026ca9a284421a4183a274 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Dec 2018 22:04:48 -0200 Subject: Don't let Wooden Sword Users sad %%O --- npc/003-3/malindou.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/003-3') 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"; -- cgit v1.2.3-70-g09d2