From 6ae2e8811683de716a32ddb7a0398371d83ddc48 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Dec 2018 22:03:34 -0200 Subject: Silly typo %%e --- npc/003-3/malindou.txt | 9 +++++++++ npc/019-4-1/chief.txt | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index da888999e..8a344d975 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -150,6 +150,15 @@ OnInit: debugmes "* Update Candor players position"; debugmes ""; } + // 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); + $UPDATE=1544917515; + debugmes ""; + debugmes "* Replaced Wooden Swords with Bug Slayer"; + debugmes ""; + } diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt index 4b41d64d3..2e435260f 100644 --- a/npc/019-4-1/chief.txt +++ b/npc/019-4-1/chief.txt @@ -72,7 +72,7 @@ L_Reward: // #4 - #5: Extra xmas gift /* You get Christmas Gift Box, which contain rares */ - .@gifts=max(15, log2(gifts/100)); + .@gifts=min(15, log2(gifts/100)); if (.@q1 > .@gifts) getitem XmasGift, .@gifts; .@nb = query_sql("SELECT c.name FROM `quest` AS i, `char` AS c WHERE i.quest_id="+SQuest_Christmas+" AND i.char_id=c.char_id ORDER BY i.count2 DESC LIMIT 5", .@name$); -- cgit v1.2.3-60-g2f50