📄 missionscript02.lua
字号:
-------------------------------------------------内奸
DefineMission( 238, "The Traitor Within", 224 )
MisBeginTalk( "<t>Okay okay, since you are so sincere. I'll let you in on a little secret. But nothing in this world is free. First, I'll need you to help me run an errand.<n><t>I have been wanting to teach the other Sand Bandits a lesson, it could help me to build up my reputation so that one day, I might become their leader.<n><t>Show me your strength and defeat 10 <rSand Bandits> and 5 <rSand Raiders>. Report back when you are done." )
MisBeginCondition(NoRecord, 224)
MisBeginCondition(HasRecord, 223)
MisBeginCondition(NoMission, 224)
MisBeginAction(AddMission, 224)
MisBeginAction(AddTrigger, 2241, TE_KILL, 45, 10 ) --沙匪
MisBeginAction(AddTrigger, 2242, TE_KILL, 49, 5 ) --沙骑士
MisCancelAction(ClearMission, 224)
MisNeed(MIS_NEED_KILL, 45, 10, 10, 10)
MisNeed(MIS_NEED_KILL, 49, 5, 20, 5)
MisResultTalk("<t>Yo! I knew I could count on you. Taking care of those Bandits and Raiders should have been a walk in the park.")
MisHelpTalk("<t>It looks like you are unable to carry out the task. I would have really liked to let you in on this secret of mine but you have yet to prove your worth.")
MisResultCondition(HasMission, 224)
MisResultCondition(HasFlag, 224, 19 )
MisResultCondition(HasFlag, 224, 24 )
MisResultAction(ClearMission, 224)
MisResultAction(SetRecord, 224 )
MisResultAction(AddExp,1400,1400)
MisResultAction(AddMoney,2550,2550)
MisResultAction(AddExpAndType,2,5000,5000)
InitTrigger()
TriggerCondition( 1, IsMonster, 45 )
TriggerAction( 1, AddNextFlag, 224, 10, 10 )
RegCurTrigger( 2241 )
InitTrigger()
TriggerCondition( 1, IsMonster, 49 )
TriggerAction( 1, AddNextFlag, 224, 20, 5 )
RegCurTrigger( 2242 )
-------------------------------------------------战斗的沙漠
DefineMission( 239, "Desert Battle", 225 )
MisBeginTalk( "<t>The leader of the Sand Bandits goes by the name of <rGaret>. He is also well known for being a violent person but not a very smart one.<n><t>I used to advise him on matters but he usually just ignores them and tries to solve everything by brute force. Sadly with those biceps the size of tree trunk I have no hope of beating him.<n><t>So, you'll have to kill him for me.Go north of here to locate his group and bring me the <yMark of Desert Overlord> which he keeps with him.<n><t>I'll tell you everything you need to know once it's done!" )
MisBeginCondition(NoRecord, 225)
MisBeginCondition(HasRecord, 224)
MisBeginCondition(NoMission, 225)
MisBeginAction(AddMission, 225)
MisBeginAction(AddTrigger, 2251, TE_GETITEM, 3979, 1 ) --沙漠王者之证
MisCancelAction(ClearMission, 225)
MisNeed(MIS_NEED_ITEM, 3979, 1, 10, 1)
MisResultTalk("<t>WoooOOhHHOOOO! Thanks to you I am now the new leader of the Sand Bandits! MWAHAHAHAHAHA!")
MisHelpTalk("<t>Why have you not make a move? I will be waiting for you here!")
MisResultCondition(HasMission, 225 )
MisResultCondition(HasItem, 3979, 1 )
MisResultAction(TakeItem, 3979, 1 )
MisResultAction(ClearMission, 225 )
MisResultAction(SetRecord, 225 )
MisResultAction(AddExp,669,669)
MisResultAction(AddMoney,1275,1275)
MisResultAction(AddExpAndType,2,5000,5000)
InitTrigger()
TriggerCondition( 1, IsItem, 3979 )
TriggerAction( 1, AddNextFlag, 225, 10, 1 )
RegCurTrigger( 2251 )
----------------------------真相
DefineMission( 240, "The Truth", 226 )
MisBeginTalk( "<t>Since you have helped me to become the new leader of the Sand Bandits, I shall tell you the truth. <n><t>We, the Sand Bandits have an alliance with a group of pirates so I helped them steal the logbook. <n><t>The infamous, \"Jack's Pirates\", has been trying to find the lost treasure of the <bPirate King Roland>. The secret is believed to be hidden inside the Pirate King's log. Now go and report back to Michael!" )
MisBeginCondition(NoRecord, 226)
MisBeginCondition(HasRecord, 225)
MisBeginCondition(NoMission, 226)
MisBeginAction(AddMission, 226)
MisCancelAction(ClearMission, 226)
MisNeed(MIS_NEED_DESP, "Tell the truth to Michael at (958, 3549)")
MisHelpTalk("<t>I have already told you all that I know. There's nothing more for me to say.")
MisResultCondition(AlwaysFailure )
-----------------------------------真相
DefineMission( 241, "The Truth", 226, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>So <bSupermun> stole the book huh?<n><t>I should have known, but as he is now the leader of the Sand Bandits, I don't think we can arrest him so easily. Thank you for your assistance thus far.")
MisResultCondition(NoRecord, 226)
MisResultCondition(HasMission, 226)
MisResultAction(ClearMission, 226 )
MisResultAction(SetRecord, 226 )
MisResultAction(AddExp,1500,1500)
MisResultAction(AddMoney,2650,2650)
MisResultAction(AddExpAndType,2,5000,5000)
----------------------------海盗的消息
DefineMission( 242, "Buccaneer's News", 227 )
MisBeginTalk( "<t>Although we cannot arrest <bSupermun>, we can investigate on the pirates.<n><t>First, I'll need to report to the Clan Chief on the progress of the investigation. Hmm...Could you please go to Shaitan Harbor and look for <bFranco> at (867, 3660)? He will provide further information on the pirates." )
MisBeginCondition(NoRecord, 227)
MisBeginCondition(HasRecord, 226)
MisBeginCondition(NoMission, 227)
MisBeginAction(AddMission, 227)
MisCancelAction(ClearMission, 227)
MisNeed(MIS_NEED_DESP, "Look for Franco at (867, 3660)")
MisHelpTalk("<t>If you are looking for <bFranco>, try searching for him at the harbor.")
MisResultCondition(AlwaysFailure )
-----------------------------------海盗的消息
DefineMission( 243, "Buccaneer's News", 227, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>You need information on the pirates? You've found the right person!<n><t>What do you wish to know more about? The Legend of the <bPirate King Roland>? The war between Thundoria and the <bSakura Pirates>? Or perhaps, about <rJack's Pirate>? What about some information on the <bNorthens Sea Pirates>? Just ask away!")
MisResultCondition(NoRecord, 227 )
MisResultCondition(HasMission, 227 )
MisResultAction(ClearMission, 227 )
MisResultAction(SetRecord, 227 )
MisResultAction(AddExp,749,749)
MisResultAction(AddMoney,1333,1333)
MisResultAction(AddExpAndType,2,5000,5000)
----------------------------杰克海盗团
DefineMission( 244, "Jack's Pirates", 228 )
MisBeginTalk( "<t>Oh, so you wish to know about <rJack's Pirate Crew>. At the beginning, this group of pirates started to turn up in large numbers within the city. However as they did not create any trouble, we the city guards didn't take any action. Lately, they started to appear in the southern desert which is weird.<n><t>The desert belongs to the sand bandits.<n><t>Can it be that they are changing to becoming bandits? Haha...<n><t>For things happening in the desert, you can look for the mysterious <bMerrix> at (1118, 3611). For some reason, she always know the secrets. Rumor has it that she is the secret agent between Thundoria Castle and Shaitan City. After you exit the city, follow along the coast eastwards and you will find her near a sunken ship." )
MisBeginCondition(NoRecord, 228)
MisBeginCondition(HasRecord, 227)
MisBeginCondition(NoMission, 228)
MisBeginAction(AddMission, 228)
MisCancelAction(ClearMission, 228)
MisNeed(MIS_NEED_DESP, "Look for Merrix at (1118, 3611)")
MisHelpTalk("After you exit the city, follow along the coast eastwards and you will find <bMerrix> at (1118, 3611) near a sunken ship.")
MisResultCondition(AlwaysFailure )
-----------------------------------黑杰克海盗团
DefineMission( 245, "Jack's Pirates", 228, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>Unusual activities from <rJack's Pirates> has come to my attention. I sense that we are headed towards dark times.")
MisResultCondition(NoRecord, 228 )
MisResultCondition(HasMission, 228 )
MisResultAction(ClearMission, 228 )
MisResultAction(SetRecord, 228 )
MisResultAction(AddExp,1700,1700)
MisResultAction(AddMoney,2800,2800)
MisResultAction(AddExpAndType,2,5000,5000)
-------------------------------------------------费克船长
DefineMission( 246, "Captain Fickle", 229 )
MisBeginTalk( "<t>I can help you, but <rCaptain Fickle> and his pirate henchmen are very dangerous people. I have met them before and I can tell you that Fickle is a uneducated egomaniac who is developing a sinister plot.<n><t>There is something unusual about the <yFickle Pouch> that he always carries, it seems to be the most important thing to him. Perhaps his quick rise to power has something to do with it.<n><t>If you can somehow bring the bag to me, i could figure out his whole plan.<n><t>Follow the shoreline eastwards and you will find him. Good Luck." )
MisBeginCondition(NoRecord, 229)
MisBeginCondition(HasRecord, 228)
MisBeginCondition(NoMission, 229)
MisBeginAction(AddMission, 229)
MisBeginAction(AddTrigger, 2291, TE_GETITEM, 3980, 1 ) --费克的小包
MisCancelAction(ClearMission, 229)
MisNeed(MIS_NEED_ITEM, 3980, 1, 10, 1)
MisResultTalk("<t>So this is msyterious bag of <rCaptain Jack>? <n><t>Great! Now I can see what is it that he keeps so close guarded.")
MisHelpTalk("<t>Hmm? Can't find <rJack the Pirate>? Walk along the shoreline and you will see him.")
MisResultCondition(HasMission, 229 )
MisResultCondition(HasItem, 3980, 1 )
MisResultAction(TakeItem, 3980, 1 )
MisResultAction(ClearMission, 229 )
MisResultAction(SetRecord, 229 )
MisResultAction(AddExp,4680,4680)
MisResultAction(AddMoney,7075,7075)
MisResultAction(AddExpAndType,2,5000,5000)
InitTrigger()
TriggerCondition( 1, IsItem, 3980 )
TriggerAction( 1, AddNextFlag, 229, 10, 1 )
RegCurTrigger( 2291 )
----------------------------寻找收信人
DefineMission( 247, "To Whom It May Concern", 230 )
MisBeginTalk( "<t>I have inspected the bag, it seems to contain letters from a mysterious \"J\" person. It seems to be that <rJack's Pirates> is just working on direct orders from \"J\". I wonder who this <r\"J\"> is.<n><t>I have an idea! Let me forge this letter and you take it around town pretending to have \"picked\" it up from nowhere, perhaps you may find this mysterious \"J\"" )
MisBeginCondition(NoRecord, 230)
MisBeginCondition(HasRecord, 229)
MisBeginCondition(NoMission, 230)
MisBeginAction(AddMission, 230)
MisBeginAction(GiveItem, 3981, 1, 4 )
MisCancelAction(ClearMission, 230)
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Look for the guy codenamed \"J\"")
MisHelpTalk("<t>I know it's abit unresonable, but you have to trust me. I have a hunch that you can find this mysterious person.")
MisResultCondition(AlwaysFailure )
-----------------------------------寻找收信人
DefineMission( 248, "To Whom It May Concern", 230, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>How did you get this letter? Give it to me!!!<n><t>I'm the \"J\" they mentioned. Why am I called \"J\"?<n><t>You shall die without ever knowing the answer. Now move along before I ask my Sand Bandits to give you a proper lesson on etiquette.")
MisResultCondition(NoRecord, 230 )
MisResultCondition(HasMission, 230 )
MisResultCondition(HasItem, 3981, 1 )
MisResultAction(TakeItem, 3981, 1 )
MisResultAction(ClearMission, 230 )
MisResultAction(SetRecord, 230 )
MisResultAction(ObligeAcceptMission, 5 )
MisResultAction(AddExp,936,936)
MisResultAction(AddMoney,1415,1415)
MisResultAction(AddExpAndType,2,7000,7000)
----------------------------汇报收信人
DefineMission( 249, "For Whom It May Concern", 5, COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>I never suspected that <bSupermun> could be the mysterious \"J\". I heard that he is quite reknowned in many ways but he seemed quite harmless. I may have underestimated him I guess.")
MisResultCondition(HasMission, 5 )
MisResultCondition(NoRecord, 5 )
MisResultAction(ClearMission, 5 )
MisResultAction(SetRecord, 5 )
MisResultAction(AddExp,2000,2000)
MisResultAction(AddMoney,2800,2800)
MisResultAction(AddExpAndType,2,7000,7000)
----------------------------去北方
DefineMission( 250, "Journey to the North", 232 )
MisBeginTalk( "<t>It seems that I must go alone to investigate the pirates. I know that Secretary Salvier originally sent you here to investigate the feral animals situation.<n><t>Have you been to the Icicle Castle? It snows there all year round. Recently, it has been overrun by undead. The place is in ruins.<n><t>If you are undaunted by danger, please go and assist <bRay> the Icicle Swordsman at (1365, 570), perhaps he may return the favor." )
MisBeginCondition(NoRecord, 232)
MisBeginCondition(HasRecord, 5 )
MisBeginCondition(NoMission, 232)
MisBeginAction(AddMission, 232)
MisCancelAction(ClearMission, 232)
MisNeed(MIS_NEED_DESP, "Look for Ray at (1365, 570)")
MisHelpTalk("<t>Hurry up! Time does not wait for anybody.")
MisResultCondition(AlwaysFailure )
-----------------------------------去北方
DefineMission( 251, "Journey to the North", 232, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>Sorry, I can't help you much. Since the Icicle City mishap, reconstruction of the city is our biggest concern, I do not have the free time to come with you to discuss about what happened to the creatures! <n><t> I did not think that investigation into these matters will be able to help our current crisis.")
MisResultCondition(NoRecord, 232 )
MisResultCondition(HasMission, 232 )
MisResultAction(ClearMission, 232 )
MisResultAction(SetRecord, 232 )
MisResultAction(AddExp,2000,2000)
MisResultAction(AddMoney,2900,2900)
MisResultAction(AddExpAndType,2,7000,7000)
----------------------------冰狼堡的危机
DefineMission( 252, "Danger in Icicle", 233 )
MisBeginTalk( "<t>My apologies for my manners earlier. We have been pushed to the brink of sanity due to the recent troubles.<n><t>I'll take a good holiday in the desert once all these is over.<n><t>Talk to Lord <bMas> the Icicle Royal. He should be able to help you. He is at (1346, 451)." )
MisBeginCondition(NoRecord, 233)
MisBeginCondition(HasRecord, 232)
MisBeginCondition(NoMission, 233)
MisBeginAction(AddMission, 233)
MisCancelAction(ClearMission, 233)
MisNeed(MIS_NEED_DESP, "Look for Icicle Royal - Mas at (1346, 451) and enquire about the crisis")
MisHelpTalk("<t><bMas> does not see anybody easily. Go and try your luck.")
MisResultCondition(AlwaysFailure )
-----------------------------------去北方
DefineMission( 253, "Danger in Icicle", 233, COMPLETE_SHOW )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -