summaryrefslogtreecommitdiff
path: root/npc/003-3/malindou.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-15 22:04:48 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-15 22:04:48 -0200
commitfdc734cc108cfe2612026ca9a284421a4183a274 (patch)
tree60b81e2256386961440faa33db0fbe16fa78a704 /npc/003-3/malindou.txt
parent6ae2e8811683de716a32ddb7a0398371d83ddc48 (diff)
downloadserverdata-fdc734cc108cfe2612026ca9a284421a4183a274.tar.gz
serverdata-fdc734cc108cfe2612026ca9a284421a4183a274.tar.bz2
serverdata-fdc734cc108cfe2612026ca9a284421a4183a274.tar.xz
serverdata-fdc734cc108cfe2612026ca9a284421a4183a274.zip
Don't let Wooden Sword Users sad %%O
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";