diff options
author | Reid <reidyaro@gmail.com> | 2012-12-23 00:57:23 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-12-23 00:57:23 +0100 |
commit | 6db8b93740a75feb7c3126a91145293e4c554de3 (patch) | |
tree | 3aa1d4a5764d50369ed384651e691b9fa83683a3 | |
parent | 5f74e6e45386866ffd50a1fa8b1bb1b04fee9e74 (diff) | |
download | clientdata-6db8b93740a75feb7c3126a91145293e4c554de3.tar.gz clientdata-6db8b93740a75feb7c3126a91145293e4c554de3.tar.bz2 clientdata-6db8b93740a75feb7c3126a91145293e4c554de3.tar.xz clientdata-6db8b93740a75feb7c3126a91145293e4c554de3.zip |
Correct bugs.
-rw-r--r-- | db/questvars.txt | 2 | ||||
-rw-r--r-- | npc/000-1/couwan.txt | 6 | ||||
-rw-r--r-- | npc/000-1/gugli.txt | 10 |
3 files changed, 8 insertions, 10 deletions
diff --git a/db/questvars.txt b/db/questvars.txt index 99022801..979d7b75 100644 --- a/db/questvars.txt +++ b/db/questvars.txt @@ -16,7 +16,7 @@ ShipQuests,1,1024 // ShipQuests_Knife 5 ShipQuests,1,2048 // ShipQuests_ArpanMoney 6 ShipQuests,1,4096 // ShipQuests_Door 7 ShipQuests,3,8192 // ShipQuests_Darlin 8 -ShipQuests,3,524288 // ShipQuests_Couwan 9 +ShipQuests,1,524288 // ShipQuests_Couwan 9 ShipQuests,1,1048576 // ShipQuests_Ale 10 ShipQuests,1,2097152 // ShipQuests_Astapolos 11 ShipQuests,1,4194304 // ShipQuests_Gulukan 12 diff --git a/npc/000-1/couwan.txt b/npc/000-1/couwan.txt index a4a0b799..9b769e3f 100644 --- a/npc/000-1/couwan.txt +++ b/npc/000-1/couwan.txt @@ -14,9 +14,8 @@ 000-1.gat,89,36,0,1 script Couwan 111;2,{ set @q, getq(ShipQuests_Couwan); - if (@q == 1) goto l_QuestGiven; - if (@q > 1) goto l_QuestDone; - + if (countitem("FishBox") > 0) goto l_QuestGiven; + if (@q == 1) goto l_QuestDone; mesn; mesq l("Hello yeye."); @@ -54,7 +53,6 @@ next; mes col(l("The sailor turns his back to you."), 9); - setq ShipQuests_Couwan, 1; close; l_Water: diff --git a/npc/000-1/gugli.txt b/npc/000-1/gugli.txt index a576b843..a3c7a8e7 100644 --- a/npc/000-1/gugli.txt +++ b/npc/000-1/gugli.txt @@ -79,7 +79,7 @@ l_TaskGiven: l_Menu: menu - rif(getq(ShipQuests_Couwan) == 1, l("Couwan gave me this box, it is for you.")), l_Couwan, + rif(countitem("FishBox") > 0, l("Couwan gave me this box, it is for you.")), l_Couwan, rif(countitem("AquadaBox") > 0 || countitem("CroconutBox") > 0 || countitem("PlushroomBox") > 0, l("I have some food for you.")), l_CollectSmthing, l("Who should I search for?"), l_SailorNames, l("Where can I find your crew?"), l_Location, @@ -87,7 +87,7 @@ l_Menu: l_MenuDone: menu - rif(getq(ShipQuests_Couwan) == 1, l("Couwan gave me this box, it is for you.")), l_Couwan, + rif(countitem("FishBox") > 0, l("Couwan gave me this box, it is for you.")), l_Couwan, l("I have collected all the boxes you needed."), l_TaskDone, l("See you!"), l_Quit; @@ -137,10 +137,10 @@ l_Couwan: next; mesq l("May this be a lesson for you."); - setq ShipQuests_Couwan, 2; - set zeny, zeny+10; + setq ShipQuests_Couwan, 1; if (countitem("FishBox") > 0) delitem "FishBox", 1; - message strcharinfo(0), l("You receive 5GP!"); + set zeny, zeny+10; + message strcharinfo(0), l("You receive 10GP!"); close; l_Location: |