summaryrefslogtreecommitdiff
path: root/npc/003-3/malindou.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-16 22:21:29 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-16 22:21:29 -0300
commitf8bf7250800dcf235c5dbf873aa14fc00ee6d32a (patch)
tree6d936f6054b38a83c54fb88816781cfc7d1959e3 /npc/003-3/malindou.txt
parent162447d7242e9d5e58580b39e361083cd4315f23 (diff)
downloadserverdata-f8bf7250800dcf235c5dbf873aa14fc00ee6d32a.tar.gz
serverdata-f8bf7250800dcf235c5dbf873aa14fc00ee6d32a.tar.bz2
serverdata-f8bf7250800dcf235c5dbf873aa14fc00ee6d32a.tar.xz
serverdata-f8bf7250800dcf235c5dbf873aa14fc00ee6d32a.zip
Revert the money penalty, and warn SQL server that the quests were fixed.
Diffstat (limited to 'npc/003-3/malindou.txt')
-rw-r--r--npc/003-3/malindou.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 39f1b1be7..726d10398 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -105,6 +105,17 @@ OnInit:
debugmes "* This was handled automatically, no special care is required.";
debugmes "";
}
+ // Current UPDATE value: Dom Set 16 22:21:05 -03 2018
+ if ($UPDATE < 1537147265) {
+ $UPDATE=1537147265;
+ debugmes "";
+ debugmes "* My Money quest state modified";
+ debugmes "* Foxhound Famine quest state modified";
+ debugmes "";
+ query_sql("UPDATE `quest` SET `count1` = '1' WHERE `quest`.`quest_id`="+ShipQuests_ArpanMoney+" AND `count1` = '2'");
+ query_sql("UPDATE `quest` SET `count2` = '6' WHERE `quest`.`quest_id`="+HalinarzoQuest_Foxhound+" AND `count1` >= '6'");
+ query_sql("UPDATE `quest` SET `count1` = '6' WHERE `quest`.`quest_id`="+HalinarzoQuest_Foxhound+" AND `count1` > '6'");
+ }