finish vocation single time tasks

This commit is contained in:
ErikasKontenis 2020-04-11 13:32:33 +03:00
parent 5b2b9267bd
commit 7b3d8765c1
6 changed files with 11 additions and 11 deletions

View File

@ -448,11 +448,11 @@
<mission name="Reward of the trustworthy" storageid="17646" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." /> <mission name="Reward of the trustworthy" storageid="17646" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." />
</quest> </quest>
<quest name="Young Paladin Tasks" startstorageid="17647" startstoragevalue="1"> <quest name="Young Paladin Tasks" startstorageid="17647" startstoragevalue="1">
<mission name="Proof of the trustworthy" storageid="17648" startvalue="0" endvalue="50" description="You already hunted |STATE|/50 orcs." /> <mission name="Proof of the trustworthy" storageid="17648" startvalue="0" endvalue="50" description="You already hunted |STATE|/50 minotaurs." />
<mission name="Reward of the trustworthy" storageid="17647" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." /> <mission name="Reward of the trustworthy" storageid="17647" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." />
</quest> </quest>
<quest name="Young Knight Tasks" startstorageid="17650" startstoragevalue="1"> <quest name="Young Knight Tasks" startstorageid="17650" startstoragevalue="1">
<mission name="Proof of the trustworthy" storageid="17651" startvalue="0" endvalue="50" description="You already hunted |STATE|/50 minotaurs." /> <mission name="Proof of the trustworthy" storageid="17651" startvalue="0" endvalue="50" description="You already hunted |STATE|/50 orcs." />
<mission name="Reward of the trustworthy" storageid="17650" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." /> <mission name="Reward of the trustworthy" storageid="17650" startvalue="2" endvalue="2" description="You have proved your trustworthy and claimed the reward." />
</quest> </quest>
</quests> </quests>

View File

@ -45,8 +45,8 @@ local tasks = {
-- Young Vocation Tasks -- Young Vocation Tasks
['amazon'] = {taskerStorage = 17644, progressStorage = 17645, killsRequired = 50}, ['amazon'] = {taskerStorage = 17644, progressStorage = 17645, killsRequired = 50},
['orc'] = {taskerStorage = 17649, progressStorage = 17648, killsRequired = 50}, ['minotaur'] = {taskerStorage = 17649, progressStorage = 17648, killsRequired = 50},
['minotaur'] = {taskerStorage = 17652, progressStorage = 17651, killsRequired = 50}, ['orc'] = {taskerStorage = 17652, progressStorage = 17651, killsRequired = 50},
} }
function onKill(player, target) function onKill(player, target)

View File

@ -56,9 +56,9 @@ Topic=1,"yes" -> "Come back, when you have enough money."
Topic=1 -> "Hmm, but next time." Topic=1 -> "Hmm, but next time."
"task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...", "task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the bow and 200 arrows. Deal?", Topic=120 "However, if you could kill 50 minotaurs to prove your trustworthy willingness I will reward you the crossbow and 300 bolts. Deal?", Topic=120
"task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=200, Create(Type) "task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your crossbow and bolts!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3349, Amount=1, Create(Type), Type=3446, Amount=300, Create(Type)
"task",QuestValue(17649)>0 -> "I see you are still in progress with your task." "task",QuestValue(17649)>0 -> "I see you are still in progress with your task."

View File

@ -47,9 +47,9 @@ Topic=1,"yes" -> "Come back, when you have enough money."
Topic=1 -> "Hmm, but next time." Topic=1 -> "Hmm, but next time."
"task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...", "task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the bow and 200 arrows. Deal?", Topic=120 "However, if you could kill 50 minotaurs to prove your trustworthy willingness I will reward you the bow and 300 arrows. Deal?", Topic=120
"task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=200, Create(Type) "task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=300, Create(Type)
"task",QuestValue(17649)>0 -> "I see you are still in progress with your task." "task",QuestValue(17649)>0 -> "I see you are still in progress with your task."

View File

@ -194,7 +194,7 @@ Topic=5,"no" -> "What a pity."
"adorned","helmet",QuestValue(17542)=6 -> * "adorned","helmet",QuestValue(17542)=6 -> *
"task",QuestValue(17650)=0,knight -> Amount=17651, "Young knight, I see you need decent weapon but those are too expensive, right. Hmm... I can't give you for free. ...", "task",QuestValue(17650)=0,knight -> Amount=17651, "Young knight, I see you need decent weapon but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 minotaurs to prove your trustworthy willingness I will reward you the weapon of your choose. Deal?", Topic=120 "However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the weapon of your choose. Deal?", Topic=120
"task",QuestValue(17651)=50,QuestValue(17650)=1,knight -> "Well done, %N. Which type of weapon do you use the most: axe, sword or club?", Topic=121 "task",QuestValue(17651)=50,QuestValue(17650)=1,knight -> "Well done, %N. Which type of weapon do you use the most: axe, sword or club?", Topic=121
Topic=121,"axe" -> "Very well. I have some spare barbarian axe for you!", SetQuestValue(17650,2), SetQuestValue(17652,0), Type=3317, Amount=1, Create(Type) Topic=121,"axe" -> "Very well. I have some spare barbarian axe for you!", SetQuestValue(17650,2), SetQuestValue(17652,0), Type=3317, Amount=1, Create(Type)

View File

@ -64,9 +64,9 @@ Topic=1,"yes" -> "Come back, when you have enough money."
Topic=1 -> "Hmm, but next time." Topic=1 -> "Hmm, but next time."
"task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...", "task",QuestValue(17647)=0,paladin -> Amount=17648, "Young paladin, I see you need ammunition but those are too expensive, right. Hmm... I can't give you for free. ...",
"However, if you could kill 50 orcs to prove your trustworthy willingness I will reward you the bow and 200 arrows. Deal?", Topic=120 "However, if you could kill 50 minotaurs to prove your trustworthy willingness I will reward you the bow and 300 arrows. Deal?", Topic=120
"task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=200, Create(Type) "task",QuestValue(17648)=50,QuestValue(17647)=1,paladin -> "Well done, %N. Here is your bow and arrows!", SetQuestValue(17647,2), SetQuestValue(17649,0), Type=3350, Amount=1, Create(Type), Type=3447, Amount=300, Create(Type)
"task",QuestValue(17649)>0 -> "I see you are still in progress with your task." "task",QuestValue(17649)>0 -> "I see you are still in progress with your task."