diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-3/malindou.txt | 9 | ||||
-rw-r--r-- | npc/019-4-1/chief.txt | 2 |
2 files changed, 10 insertions, 1 deletions
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$); |