summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-15 22:03:34 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-15 22:03:34 -0200
commit6ae2e8811683de716a32ddb7a0398371d83ddc48 (patch)
treeba4f96f71bd4a645f0f04d5e81056dc1d7fb3429
parent3f064f2ffb053760f5f1b2439c89e03b726d4141 (diff)
downloadserverdata-6ae2e8811683de716a32ddb7a0398371d83ddc48.tar.gz
serverdata-6ae2e8811683de716a32ddb7a0398371d83ddc48.tar.bz2
serverdata-6ae2e8811683de716a32ddb7a0398371d83ddc48.tar.xz
serverdata-6ae2e8811683de716a32ddb7a0398371d83ddc48.zip
Silly typo %%e
-rw-r--r--npc/003-3/malindou.txt9
-rw-r--r--npc/019-4-1/chief.txt2
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$);