📄 missionscript05.lua
字号:
MisBeginCondition(NoMission, 609)
MisBeginCondition(NoRecord, 609)
MisBeginAction(AddMission, 609)
MisBeginAction(AddTrigger, 6091, TE_GETITEM, 4087, 1 )
MisCancelAction(ClearMission, 609)
MisNeed(MIS_NEED_ITEM, 4087, 1, 10, 1)
MisHelpTalk("<t>Those <rBandits> might have hidden my <yGold Coin Pouch> in a chest. Please look carefully!")
MisResultTalk("<t>You are my saviour!<n><t>I wonder how am I going to survive without my pouch!")
MisResultCondition(NoRecord, 609)
MisResultCondition(HasMission, 609)
MisResultCondition(HasItem, 4087, 1)
MisResultAction(TakeItem, 4087, 1 )
MisResultAction(ClearMission, 609)
MisResultAction(SetRecord, 609)
MisResultAction(AddExp, 1800, 1800)
MisResultAction(AddMoney,1394,1394)
InitTrigger()
TriggerCondition( 1, IsItem, 4087 )
TriggerAction( 1, AddNextFlag, 609, 10, 1 )
RegCurTrigger( 6091 )
-----------------------------------可恶的山贼
DefineMission( 610, "The Terrible Bandits", 610 )
MisBeginTalk( "<t>Hey friend! Its time for you to show your skills! A group of menacing <rBandits> encrouches in the area nearby, robbing everyone of their money and goods!<n><t>Quickly capture 10 <rBandits> and bring them here to claim your reward!<n><t>Those outlaws can be found at (1043, 3066)." )
MisBeginCondition(LvCheck, ">", 24 )
MisBeginCondition(NoMission, 610)
MisBeginCondition(NoRecord, 610)
MisBeginAction(AddMission, 610)
MisBeginAction(AddTrigger, 6101, TE_KILL, 93, 10 )
MisCancelAction(ClearMission, 610)
MisNeed(MIS_NEED_KILL, 93, 10, 10, 10)
MisHelpTalk("<t>Kill 10 <rBandits> and return for your rewards!")
MisResultTalk("<t>Woah! Nicely done! Here are your rewards!")
MisResultCondition(NoRecord, 610)
MisResultCondition(HasMission, 610)
MisResultCondition(HasFlag, 610, 19 )
MisResultAction(ClearMission, 610)
MisResultAction(SetRecord, 610)
MisResultAction(AddExp, 1800, 1800)
MisResultAction(AddMoney,348,348)
InitTrigger()
TriggerCondition( 1, IsMonster, 93 )
TriggerAction( 1, AddNextFlag, 610, 10, 10 )
RegCurTrigger( 6101 )
-----------------------------------妖娆曼陀罗
DefineMission( 611, "Burning of Stramonium", 611 )
MisBeginTalk( "<t>Rumor has it that <rStramonium> is a kind of flower that possess intelligence. They sway and dance in tune with the music played.<n><t>I don't believe such things exist as I never seen it before.<n><t>Can you please obtain 2 <yStramonium Sharp Spike> so that I can conduct my research on it. These weird plants are rumored to be found at (1414, 2896)." )
MisBeginCondition(LvCheck, ">", 25 )
MisBeginCondition(NoMission, 611)
MisBeginCondition(NoRecord, 611)
MisBeginAction(AddMission, 611)
MisBeginAction(AddTrigger, 6111, TE_GETITEM, 4088, 2 )
MisCancelAction(ClearMission, 611)
MisNeed(MIS_NEED_ITEM, 4088, 2, 10, 2)
MisHelpTalk("<t>2 <yStramonium Sharp Spike> will do.")
MisResultTalk("<t>Thank you! With these, I will be able to carry on with my research.")
MisResultCondition(NoRecord, 611)
MisResultCondition(HasMission, 611)
MisResultCondition(HasItem, 4088, 2)
MisResultAction(TakeItem, 4088, 2 )
MisResultAction(ClearMission, 611)
MisResultAction(SetRecord, 611)
MisResultAction(AddExp, 2000, 2000)
MisResultAction(AddMoney,730,730)
InitTrigger()
TriggerCondition( 1, IsItem, 4088 )
TriggerAction( 1, AddNextFlag, 611, 10, 2 )
RegCurTrigger( 6111 )
-----------------------------------铲除妖花
DefineMission( 612, "Eradicate Stramonium", 612 )
MisBeginTalk( "<t>The people of the Shepherd Plains regard the <rStramonium> as a demonic flower. Its branches are filled with thorns and it is able to move freely, quite an eerie sight.<n><t>I hope you are willing to destroy 20 <rStramoniums> so as to let the people here live in peace. It is rumored that these weird flowers are found at (1414, 2896)." )
MisBeginCondition(LvCheck, ">", 25 )
MisBeginCondition(NoMission, 612)
MisBeginCondition(NoRecord, 612)
MisBeginAction(AddMission, 612)
MisBeginAction(AddTrigger, 6121, TE_KILL, 85, 20 )
MisCancelAction(ClearMission, 612)
MisNeed(MIS_NEED_KILL, 85, 20, 10, 20)
MisHelpTalk("<t>Exterminate 20 <rStramoniums> please.")
MisResultTalk("<t>Well done! The villagers are grateful to you!")
MisResultCondition(NoRecord, 612)
MisResultCondition(HasMission, 612)
MisResultCondition(HasFlag, 612, 29 )
MisResultAction(ClearMission, 612)
MisResultAction(SetRecord, 612)
MisResultAction(AddExp, 2000, 2000)
MisResultAction(AddMoney,365,365)
InitTrigger()
TriggerCondition( 1, IsMonster, 85 )
TriggerAction( 1, AddNextFlag, 612, 10, 20 )
RegCurTrigger( 6121 )
-----------------------------------比武大赛
DefineMission( 613, "The Contest", 613 )
MisBeginTalk( "<t>Hey friend! You came at the right time! A new exciting competition is being held here!<n><t>You only need to defeat 10 <Rookie Boxeroos> to win prizes!<n><t>Now that we are short of manpower, can you proceed to the location alone? The competition location is at (1117, 2923)." )
MisBeginCondition(HasRecord, 614 )
MisBeginCondition(LvCheck, ">", 26 )
MisBeginCondition(NoMission, 613)
MisBeginCondition(NoRecord, 613)
MisBeginAction(AddMission, 613)
MisBeginAction(AddTrigger, 6131, TE_KILL, 76, 10 )
MisCancelAction(ClearMission, 613)
MisNeed(MIS_NEED_KILL, 76, 10, 10, 10)
MisHelpTalk("<t>You must defeated 10 <rRookie Boxeroos> in order to claim your rewards. ")
MisResultTalk("<t>Woah! Nicely done! Here are your rewards!")
MisResultCondition(NoRecord, 613)
MisResultCondition(HasMission, 613)
MisResultCondition(HasFlag, 613, 19 )
MisResultAction(ClearMission, 613)
MisResultAction(SetRecord, 613)
MisResultAction(AddExp, 2300, 2300)
MisResultAction(AddMoney,382,382)
InitTrigger()
TriggerCondition( 1, IsMonster, 76 )
TriggerAction( 1, AddNextFlag, 613, 10, 10 )
RegCurTrigger( 6131 )
-----------------------------------拳击手套
DefineMission( 614, "Boxing Gloves", 614 )
MisBeginTalk( "<t>Friend, can you lend me a hand? Its my brother's birthday in the next few days and he wishes to have a <yBoxing Gloves> as a birthday present.<n><t>But I can't get it in such a rural place. There's no other choice, can you please snatch 1 <yBoxing Gloves> from <rRookie Boxeroo>.<n><t>Can you help me please? I heard these <rRookie Boxeroo> are having a boxing competition at (1117, 2923)! This is a golden opportunity!" )
MisBeginCondition(LvCheck, ">", 26 )
MisBeginCondition(NoMission, 614)
MisBeginCondition(NoRecord, 614)
MisBeginAction(AddMission, 614)
MisBeginAction(AddTrigger, 6141, TE_GETITEM, 4435, 1 )
MisCancelAction(ClearMission, 614)
MisNeed(MIS_NEED_ITEM, 4435, 1, 10, 1)
MisHelpTalk("<t>I only need 1 pair of <yBoxing Gloves>!")
MisResultTalk("<t>Thank you! It must have been hard on you to rob a Rookie Boxeroo.")
MisResultCondition(NoRecord, 614)
MisResultCondition(HasMission, 614)
MisResultCondition(HasItem, 4435, 1)
MisResultAction(TakeItem, 4435, 1 )
MisResultAction(ClearMission, 614)
MisResultAction(SetRecord, 614)
MisResultAction(AddExp, 2300, 2300)
MisResultAction(AddMoney,382,382)
InitTrigger()
TriggerCondition( 1, IsItem, 4435 )
TriggerAction( 1, AddNextFlag, 614, 10, 1 )
RegCurTrigger( 6141 )
-----------------------------------草原龟的灾难
DefineMission( 615, "Grass Tortoise's Tradegy", 615 )
MisBeginTalk( "<t>I hate the <rMature Grass Tortoise>! Every time I see these slow lumbering creatures, I get very irritated.<n><t>They are generally a waste of time!<n><t>I would if I could help them walk faster! Woah, these creatures shouldn't even exist!<n><t>Go kill 10 <rMature Grass Tortoise> now! Those creatures have been crawling around for half a century already but are still at (1198, 3116)!" )
MisBeginCondition(LvCheck, ">", 27 )
MisBeginCondition(NoMission, 615)
MisBeginCondition(NoRecord, 615)
MisBeginAction(AddMission, 615)
MisBeginAction(AddTrigger, 6151, TE_KILL, 135, 10 )
MisCancelAction(ClearMission, 615)
MisNeed(MIS_NEED_KILL, 135, 10, 10, 10)
MisHelpTalk("<t>Kill! Kill! Kill all the <rSlowpoke Snail>!")
MisResultTalk("<t>This feels great! Thanks!")
MisResultCondition(NoRecord, 615)
MisResultCondition(HasMission, 615)
MisResultCondition(HasFlag, 615, 19 )
MisResultAction(ClearMission, 615)
MisResultAction(SetRecord, 615)
MisResultAction(AddExp, 2600, 2600)
MisResultAction(AddMoney,400,400)
InitTrigger()
TriggerCondition( 1, IsMonster, 135 )
TriggerAction( 1, AddNextFlag, 615, 10, 10 )
RegCurTrigger( 6151 )
-----------------------------------偷窃龟卵
DefineMission( 616, "Stealing Tortoise Eggs", 616 )
MisBeginTalk( "<t>Hey friend, let me tell you a secret! The price of <Mature Grass Tortoise> is very high in the current market now!<n><t>However, I can't handle these large monsters myself.<n><t>Can you please go to where <Mature Grass Tortoise> lay their eggs and steal 10 <yTortoise Egg>.<n><t>When the money arrives, I will share half of it with you, how about it? It is said they can be found at (1198, 3116).<n><t>(Search carefully when you are at the area of the mature grass tortoise, you should be able to find their nest within those bushes, the eggs are inside the nest.)" )
MisBeginCondition(LvCheck, ">", 27 )
MisBeginCondition(NoMission, 616)
MisBeginCondition(NoRecord, 616)
MisBeginAction(AddMission, 616)
MisBeginAction(AddTrigger, 6161, TE_GETITEM, 4089, 10 )
MisCancelAction(ClearMission, 616)
MisNeed(MIS_NEED_ITEM, 4089, 10, 10, 10)
MisHelpTalk("<t>Have you collected 10 <yTortoise Eggs>? I need them to earn money.")
MisResultTalk("<t>Haha! I will make a fortune with these! I will not forget your help.")
MisResultCondition(NoRecord, 616)
MisResultCondition(HasMission, 616)
MisResultCondition(HasItem, 4089, 10)
MisResultAction(TakeItem, 4089, 10 )
MisResultAction(ClearMission, 616)
MisResultAction(SetRecord, 616)
MisResultAction(AddExp, 2600, 2600)
MisResultAction(AddMoney,400,400)
InitTrigger()
TriggerCondition( 1, IsItem, 4089 )
TriggerAction( 1, AddNextFlag, 616, 10, 10 )
RegCurTrigger( 6161 )
-----------------------------------走私龟甲
DefineMission( 617, "Smuggle Tortoise Shells", 617 )
MisBeginTalk( "<t>For the past few days, I been using <yTortoise Egg> from the <rMature Grass Tortoise> to raise many grass tortoise and then selling them for a high price.<n><t>Now, turtle shells are becoming the market hottest commodity.<n><t>Can you please collect 5 <yWell-Formed Tortoise Shells> for me? I will prepare to smuggle them to <pIcicle City>.<n><t>These guys move really slow and I think they can be found at (1198, 3116)." )
MisBeginCondition(HasRecord, 616)
MisBeginCondition(LvCheck, ">", 28 )
MisBeginCondition(NoMission, 617)
MisBeginCondition(NoRecord, 617)
MisBeginAction(AddMission, 617)
MisBeginAction(AddTrigger, 6171, TE_GETITEM, 4465, 5 )
MisCancelAction(ClearMission, 617)
MisNeed(MIS_NEED_ITEM, 4465, 5, 10, 5)
MisHelpTalk("<t>Collect 5 <yWell-Formed Tortoise Shells> for me!")
MisResultTalk("<t>You are very efficient! Thanks!")
MisResultCondition(NoRecord, 617)
MisResultCondition(HasMission, 617)
MisResultCondition(HasItem, 4465, 5)
MisResultAction(TakeItem, 4465, 5 )
MisResultAction(ClearMission, 617)
MisResultAction(SetRecord, 617)
MisResultAction(AddExp, 3000, 3000)
MisResultAction(AddMoney,835,835)
InitTrigger()
TriggerCondition( 1, IsItem, 4465 )
TriggerAction( 1, AddNextFlag, 617, 10, 5 )
RegCurTrigger( 6171 )
-----------------------------------邪恶的诅咒
DefineMission( 618, "A Terrible Curse", 618 )
MisBeginTalk( "<t>Hehe, my friend, let me tell you a secret. Recently I have learnt a new kind of curse and I am going to use it on my enemy <bKentaro>.<n><t>However, I am still lacking some <yRazor Sharp Tusks>. Can you get 10 <yRazor Sharp Tusks> from the <rMad Boar> for me so that I can finish this curse!<n><t>These <rMad Boar> can be found at (910, 2971).")
MisBeginCondition(LvCheck, ">", 28 )
MisBeginCondition(NoMission, 618)
MisBeginCondition(NoRecord, 618)
MisBeginAction(AddMission, 618)
MisBeginAction(AddTrigger, 6181, TE_GETITEM, 4443, 10 )
MisCancelAction(ClearMission, 618)
MisNeed(MIS_NEED_ITEM, 4443, 10, 10, 10)
MisHelpTalk("<t>I need 10 <yRazor Sharp Tusks>. No more, no less!")
MisResultTalk("<t>Thunder! Fire! Hulala! Haha! I finally completed the curse! You are doomed, <bKentaro>!")
MisResultCondition(NoRecord, 618)
MisResultCondition(HasMission, 618)
MisResultCondition(HasItem, 4443, 10)
MisResultAction(TakeItem, 4443, 10 )
MisResultAction(ClearMission, 618)
MisResultAction(SetRecord, 618)
MisResultAction(AddExp, 3000, 3000)
MisResultAction(AddMoney,835,835)
InitTrigger()
TriggerCondition( 1, IsItem, 4443 )
TriggerAction( 1, AddNextFlag, 618, 10, 10 )
RegCurTrigger( 6181 )
-----------------------------------野猪独立日
DefineMission( 619, "Boar Independence Day", 619 )
MisBeginTalk( "<t>Ah! I simply hate these <rMad Boars>! These boars are organising some independence day activity! <n><t>To commerate their escape from the slaugterhouse, groups of them have been marching around in the streets!<n><t>Can you please go kill 10 <rMad Boar> so we can have some peace around here!<t>They are gathering at (910,2971) at this very moment!")
MisBeginCondition(HasRecord, 618)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -