diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-09-16 22:21:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-09-16 22:21:29 -0300 |
commit | f8bf7250800dcf235c5dbf873aa14fc00ee6d32a (patch) | |
tree | 6d936f6054b38a83c54fb88816781cfc7d1959e3 /npc | |
parent | 162447d7242e9d5e58580b39e361083cd4315f23 (diff) | |
download | serverdata-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')
-rw-r--r-- | npc/003-3/malindou.txt | 11 | ||||
-rw-r--r-- | npc/009-1/foxhound.txt | 2 |
2 files changed, 12 insertions, 1 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'"); + } diff --git a/npc/009-1/foxhound.txt b/npc/009-1/foxhound.txt index f88ef2464..f6386c472 100644 --- a/npc/009-1/foxhound.txt +++ b/npc/009-1/foxhound.txt @@ -161,7 +161,7 @@ l("I'm sorry... I can't help you either..."); if (@menu == 1) { delitem Manana, .@q; - Zeny=Zeny+((60*.@q)-.@q); // If you repeat too much, you get less and less money... + Zeny=Zeny+(60*.@q); mes ""; mesn; mesq lg("Thank you! Thank you! Savior!"); |