📄 missionscript06.lua
字号:
-- 杰克史派罗 >> 特殊的武器
DefineMission(574,"Unique Weapon", 508,COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure)
MisResultTalk("<t>Let me have a look! This weapon has a dark curse on it.<n><t>Only a man of evil can wield it...Mark is just too kind...")
MisResultCondition(HasMission, 508)
MisResultCondition(NoRecord, 508)
MisResultCondition(HasItem, 2384, 1)
MisResultAction(AddMoney, 25000, 25000)
MisResultAction(TakeItem, 2384, 1)
MisResultAction(ClearMission, 508)
MisResultAction(SetRecord, 508)
-- 杰克史派罗 >> 海盗与海军
DefineMission(575,"Pirate Vs Navy",509)
MisBeginTalk("<t>I requires you to make a trip to the Navy. Tell Wellington about the current situation.<n><t>I believed that he will make a suitable judgement.")
MisBeginCondition(HasRecord, 508)
MisBeginCondition(NoRecord, 509)
MisBeginCondition(NoMission, 509)
MisBeginAction(AddMission, 509)
MisHelpTalk("<t>You have not make a move? Time does not wait!")
MisNeed(MIS_NEED_DESP, "Help Jack Arrow send a message to Wellington")
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisResultCondition(AlwaysFailure)
-- 诺灵顿 >> 海盗与海军
DefineMission(576, "Pirate Vs Navy", 509,COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure)
MisResultTalk("<t>Jack is not dead yet? What! He dares to request my aid? How daring of him!<n><t>Hmm...Deathsoul Officer's Captain Token?<n><t>Seems like we are on the same side after all. I will consider Jack's suggestion.")
MisResultCondition(HasMission, 509)
MisResultCondition(NoRecord, 509)
MisResultAction(AddMoney, 25000, 25000)
MisResultAction(ClearMission, 509)
MisResultAction(SetRecord, 509)
-- 诺灵顿 >> 将军的表白
DefineMission(577,"General's Confession of Love",510)
MisBeginTalk("<t>Damn those Deathsoul! My Proposal Ring is stolen by them!<n><t>Why took my ring of all things?<n><t>Damn! I spent quite a fortune to make it. Please get it back for me as soon as possible. It seems that they are escaping by the Spirit Ship.")
MisBeginCondition(HasRecord, 509)
MisBeginCondition(NoRecord, 510)
MisBeginCondition(NoMission, 510)
MisBeginAction(AddMission, 510)
MisBeginAction(AddTrigger, 5101, TE_GETITEM, 2416, 1)
MisNeed(MIS_NEED_ITEM, 2416, 1, 10, 1)
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisHelpTalk("<t>If you do not retrieve my ring, I will not help Jack Arrow")
MisResultTalk("<t>Thanks God! I can propose to Elizabeth now since I have the ring!")
MisResultCondition(HasMission, 510)
MisResultCondition(NoRecord, 510)
MisResultCondition(HasItem, 2416, 1)
MisResultAction(TakeItem, 2416, 1)
MisResultAction(AddExp, 30000, 30000)
MisResultAction(AddMoney, 35000, 35000)
MisResultAction(ClearMission, 510)
MisResultAction(SetRecord, 510)
InitTrigger()
TriggerCondition(1, IsItem, 2416)
TriggerAction(1, AddNextFlag, 510, 10, 1)
RegCurTrigger(5101)
-- 诺灵顿 >> 将军的表白
DefineMission(578,"General's Confession of Love",511)
MisBeginTalk("<t>How do I say this...I like a girl...I want to propose to her...<n><t>But I am shy...Can you help me pass this ring to her...Observe her reaction please...<n><t>I will be grateful to you....If she accepts my love...Oh right..... Her name is Elizabeth.")
MisBeginCondition(HasRecord, 510)
MisBeginCondition(NoRecord, 511)
MisBeginCondition(NoMission, 511)
MisBeginBagNeed(1)
MisBeginAction(AddMission, 511)
MisBeginAction(GiveItem, 2416, 1,4)
MisHelpTalk("<t>Elizabeth...Elizabeth...")
MisNeed(MIS_NEED_DESP, "<t>Help Wellington by giving the Proposal Ring to Elizabeth and observe her reaction")
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisResultCondition(AlwaysFailure)
-- 伊丽莎白 >> 将军的表白
DefineMission(579, "General's Confession of Love", 511,COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure)
MisResultTalk("<t>General Wellington...Its not worth it…")
MisResultCondition(HasMission, 511)
MisResultCondition(NoRecord, 511)
MisResultCondition(HasItem, 2416, 1)
MisResultAction(AddMoney, 35000, 35000)
MisResultAction(TakeItem, 2416, 1)
MisResultAction(ClearMission, 511)
MisResultAction(SetRecord, 511)
-- 伊丽莎白 >> 伊丽莎白的祈祷
DefineMission(580,"Elizabeth's Prayer",512)
MisBeginTalk("<t>I don't feel good.<n><t>It seems that something has happened to Mark. I am quite worry, can you go over and check on him?<n><t>I will pray for his safety!")
MisBeginCondition(HasRecord, 511)
MisBeginCondition(NoRecord, 512)
MisBeginCondition(NoMission, 512)
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisBeginAction(AddMission, 512)
MisHelpTalk("<t>Oh Almighty God, please bless Mark...")
MisNeed(MIS_NEED_DESP, "Help out the Blacksmith on behalf of Elizabeth")
MisResultCondition(AlwaysFailure)
-- 铁匠 >> 伊丽莎白的祈祷
DefineMission(581, "Elizabeth's Prayer", 512,COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure)
MisResultTalk("<t>Did Elizabeth sent you?<n><t>How is she getting on? I encounter some minor problem here but tell her not to worry.")
MisResultCondition(HasMission, 512)
MisResultCondition(NoRecord, 512)
MisResultAction(AddMoney, 35000, 35000)
MisResultAction(ClearMission, 512)
MisResultAction(SetRecord, 512)
-- 铁匠 >> 诅咒
DefineMission(582,"The Curse",513)
MisBeginTalk("<t>The treasures we collected have been stolen from us by the dead spirits on the Black Jewel and they also set an evil curse on it.<n><t>I need you to find and return these cursed treasures to me, then I will proceed to lift the curse from the treasures.<n><t>How about it, it shouldn't be a problem.<n><t>Go forth and kill those from the Black Jewel. I know this is a extremely difficult mission, I will reward you handsomely once it is completed.")
MisBeginCondition(HasRecord, 512)
MisBeginCondition(NoRecord, 513)
MisBeginCondition(NoMission, 513)
MisBeginAction(AddMission, 513)
MisBeginAction(AddTrigger, 5131,TE_GETITEM, 2417, 1)
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisNeed(MIS_NEED_ITEM, 2417, 1, 10, 1)
MisHelpTalk("<t>You have not brought back the treasures?")
MisResultTalk("<t> Let me have a look...This is a powerful curse indeed. Let me try to undo it.<n><t>!^($......%*#oa2......1&s?~*#^%!...... (Blacksmith starts to chant in some weird language...Scary!) Good! The curse is undone!")
MisResultCondition(HasMission, 513)
MisResultCondition(NoRecord, 513)
MisResultCondition(HasItem, 2417, 1)
MisResultAction(TakeItem, 2417, 1)
MisResultAction(AddExp, 500000, 500000)
MisResultAction(AddMoney, 800000, 800000)
MisResultAction(ClearMission, 513)
MisResultAction(SetRecord, 513)
InitTrigger()
TriggerCondition(1, IsItem, 2417)
TriggerAction(1, AddNextFlag, 513, 10, 1)
RegCurTrigger(5131)
-- 铁匠 >> 诅咒
DefineMission(583,"The Curse",514)
MisBeginTalk("<t>We have undone the curse of coins that those Deathsoul pirates have been relying on.<n><t>Without their treasures and source of power, they will not be able to resist our army!<n><t>It is time to make a decisive attack on them! However, please inform Jack Arrow about our plans first.")
MisBeginCondition(HasRecord, 513)
MisBeginCondition(NoRecord, 514)
MisBeginCondition(NoMission, 514)
MisBeginAction(AddMission, 514)
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisHelpTalk("<t>You have not make a move? The enemies are at their weakest now! Go!")
MisNeed(MIS_NEED_DESP, "Tell Jack Arrow oh behalf of the Blacksmith that the curse has been broken")
MisResultCondition(AlwaysFailure)
-- 杰克史派罗 >> 诅咒
DefineMission(584, "The Curse", 514,COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure)
MisResultTalk("<t>I've got it. We will begin attack soon. Are you with us?")
MisResultCondition(HasMission, 514)
MisResultCondition(NoRecord, 514)
MisResultAction(AddMoney, 30000, 30000)
MisResultAction(ClearMission, 514)
MisResultAction(SetRecord, 514)
-- 杰克史派罗 >> 真真的船长
DefineMission(585,"The Real Captain",515)
MisBeginTalk("<t>Battle draws near! Wait for me Baborosa! Let us settle this once and for all!<n><t>My friend, if you can get back the Captain's Token from Baborosa, I will reward you greatly!<n><t>Let him know who is the real captain of the Black Jewel!")
MisBeginCondition(HasRecord, 514)
MisBeginCondition(NoRecord, 515)
MisBeginCondition(NoMission,515)
MisBeginAction(AddMission, 515)
MisBeginAction(AddTrigger, 5151, TE_KILL, 805, 1)
MisBeginAction(AddTrigger, 5152, TE_GETITEM, 2428, 1)
MisNeed(MIS_NEED_KILL, 805, 1, 10, 1)
MisNeed(MIS_NEED_ITEM, 2428, 1,20, 1)
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisHelpTalk("<t>Damn you Baborosa!")
MisResultTalk("<t>This is great! I am the captain of the Black Jewel once again!")
MisResultCondition(HasMission, 515)
MisResultCondition(HasFlag, 515, 10)
MisResultCondition(HasItem, 2428,1)
MisResultCondition(NoRecord, 515)
MisResultAction(TakeItem, 2428, 1)
MisResultAction(ClearMission, 515)
MisResultAction(SetRecord, 515)
MisResultAction(AddExp, 500000,500000)
MisResultAction(AddMoney, 800000,800000)
InitTrigger()
TriggerCondition(1,IsMonster, 805)
TriggerAction(1,AddNextFlag, 515, 10, 1)
RegCurTrigger(5151)
InitTrigger()
TriggerCondition(1, IsItem, 2428)
TriggerAction(1, AddNextFlag , 515, 20, 1)
RegCurTrigger(5152)
-- 杰克史派罗 >> 贺礼
DefineMission(586,"The Gift",516)
MisBeginTalk("<t> Everything has finally ended. I heard that Mark and Elizabeth has gotten married at last.<n><t>I have not sent them my gift yet. Can you do it on my behalf? Why don't I sent it myself?<n><t>...Have you heard of an NPC who will do his own task?")
MisBeginCondition(HasRecord, 515)
MisBeginCondition(NoRecord, 516)
MisBeginCondition(NoMission, 516)
MisBeginBagNeed(1)
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisBeginAction(AddMission, 516)
MisBeginAction(GiveItem, 2433, 1,4)
MisHelpTalk("<t> Hmm...Love is in the air...Hehe!")
MisNeed(MIS_NEED_DESP, "Send a gift on behalf of Jack to congratulate Elizabeth on her marriage to the Blacksmith")
MisResultCondition(AlwaysFailure)
-- 杰克史派罗 >> 贺礼
DefineMission(587,"The Gift",516,COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure)
MisResultTalk("<t>Wow...A gift from Jack! Let's open it!<n><t>What!!! Only a skeletar emblem...What a miser!")
MisResultCondition(HasMission, 516)
MisResultCondition(NoRecord, 516)
MisResultCondition(HasItem, 2433, 1)
MisResultAction(TakeItem, 2433, 1)
MisResultAction(AddMoney, 30000, 30000)
MisResultAction(ClearMission, 516)
MisResultAction(SetRecord, 516)
-- 伊丽莎白 >> 心有所属
DefineMission(588,"Undeserving Love",517)
MisBeginTalk("<t>Help me once again please...<n><t>Return this ring to General Wellington and I hope he can understand my feeling.")
MisBeginCondition(HasRecord, 516)
MisBeginCondition(NoRecord, 517)
MisBeginCondition(NoMission, 517)
MisBeginBagNeed(1)
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisBeginAction(AddMission, 517)
MisBeginAction(GiveItem, 2416, 1,4)
MisHelpTalk("<t>Where to go for my honeymoon...? Hmm..")
MisNeed(MIS_NEED_DESP, "Help Elizabeth return the ring to Wellington")
MisResultCondition(AlwaysFailure)
-- 诺灵顿 >> 心有所属
DefineMission(589,"Undeserving Love",517,COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure)
MisResultTalk("<t>There will be no turning back now...<n><t>Why make a promise if it cannot be kept...<n><t>Sorrow is the only thing left...")
MisResultCondition(HasMission, 517)
MisResultCondition(NoRecord, 517)
MisResultCondition(HasItem, 2416, 1)
MisResultAction(TakeItem, 2416, 1)
MisResultAction(AddMoney, 30000, 30000)
MisResultAction(ClearMission, 517)
MisResultAction(SetRecord, 517)
-- 诺灵顿 >> 诺灵顿的祝福
DefineMission(590,"Wellington's Blessing",518)
MisBeginTalk("<t>I have thought it through. I should sent them my blessing instead since they truly love each other.<n><t>Please hand this gift of mine to them.")
MisBeginCondition(HasRecord, 517)
MisBeginCondition(NoRecord, 518)
MisBeginCondition(NoMission, 518)
MisBeginBagNeed(1)
MisCancelAction(SystemNotice, "This quest cannot be abandoned")
MisBeginAction(AddMission, 518)
MisBeginAction(GiveItem, 2435, 1,4)
MisHelpTalk("<t>Elizabeth! I hope that fate will bring us together in our next life.")
MisNeed(MIS_NEED_DESP, "Send the gift of Wellington to Elizabeth")
MisResultCondition(AlwaysFailure)
-- 伊丽莎白>> 诺灵顿的祝福
DefineMission(591,"Wellington's Blessing",518,COMPLETE_SHOW)
MisBeginCondition(AlwaysFailure)
MisResultTalk("<t>General Turner...Thanks for understanding how I feel.<n><t>Thank you...")
MisResultCondition(HasMission, 518)
MisResultCondition(NoRecord, 518)
MisResultCondition(HasItem, 2435, 1)
MisResultAction(TakeItem, 2435, 1)
MisResultAction(AddMoney,300000, 300000)
MisResultAction(ClearMission, 518)
MisResultAction(SetRecord, 518)
end
DuplicateMission001()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -