📄 missionscript07.lua
字号:
InitTrigger()
TriggerCondition( 1, IsItem, 4418)
TriggerAction( 1, AddNextFlag, 825, 20, 10 )
RegCurTrigger( 8252 )
-------------------------------------------------情人节的礼物----------冰极补给站找NPC法迪尔对话:(女性角色)
DefineMission (5504, "Valentine's Day gift", 826)
MisBeginTalk("<t>Want to leave some pleasant memories for your love one? Help me collect one rose and 10 Heart of Naiad. I'll give you a surprise that your love one will definitely like.")
MisBeginCondition(NoMission,826)
MisBeginCondition(NoRecord,826)
MisBeginCondition(LvCheck, ">",30)
MisBeginCondition(NoChaType,1)
MisBeginCondition(NoChaType,2)
MisBeginAction(AddMission,826)
MisBeginAction(AddTrigger, 8261, TE_GETITEM, 3343, 1)
MisBeginAction(AddTrigger, 8262, TE_GETITEM, 4418, 10)
MisCancelAction(ClearMission, 826)
MisNeed(MIS_NEED_DESP, "Collect 1 Rose, 10 Heart of Naiad.")
MisNeed(MIS_NEED_ITEM, 3343, 1, 10, 1)
MisNeed(MIS_NEED_ITEM, 4418, 10, 20, 10 )
MisHelpTalk("<t>Will it snow this Valentine's Day?")
MisResultTalk("<t>Very good, heres Gift of the Hunk. Give this to your love one and he will be moved!")
MisResultCondition(HasMission, 826)
MisResultCondition(NoRecord,826)
MisResultCondition(HasItem, 3343, 1)
MisResultCondition(HasItem, 4418, 10)
MisResultAction(TakeItem, 3343, 1 )
MisResultAction(TakeItem, 4418, 10 )
MisResultAction(ClearMission, 826)
MisResultAction(SetRecord, 826 )
MisResultAction(GiveItem, 2905, 1, 4)
MisResultBagNeed(1)
InitTrigger()
TriggerCondition( 1, IsItem, 3343)
TriggerAction( 1, AddNextFlag, 826, 10, 1 )
RegCurTrigger( 8261 )
InitTrigger()
TriggerCondition( 1, IsItem, 4418)
TriggerAction( 1, AddNextFlag, 826, 20, 10 )
RegCurTrigger( 8262 )
-----------------------------------------------七猪开泰---------玛拉依兰
DefineMission(5505,"Fortune of 7 Pigs",827)
MisBeginTalk("<t>Want to gain the favor of the Piggy God? Go forth and hunt 1 of each: Snowy Piglet, Piglet, Tusk Battle Boar, Air Porky, Mad Boar, Combat Piglet and Snowy Tusk Boar.")
MisBeginCondition(NoRecord,827)
MisBeginCondition(NoMission,827)
MisBeginAction(AddMission,827)
MisBeginAction(AddTrigger, 8271, TE_KILL,239, 1)
MisBeginAction(AddTrigger, 8272, TE_KILL,237, 1)
MisBeginAction(AddTrigger, 8273, TE_KILL, 264, 1)
MisBeginAction(AddTrigger, 8274, TE_KILL, 295, 1)
MisBeginAction(AddTrigger, 8275, TE_KILL, 64, 1)
MisBeginAction(AddTrigger, 8276, TE_KILL, 296, 1)
MisBeginAction(AddTrigger, 8277, TE_KILL, 144, 1)
MisCancelAction(ClearMission, 827)
MisNeed(MIS_NEED_DESP, "Snowy Piglet, Piglet, Tusk Battle Boar, Air Porky, Mad Boar, Combat Piglet and Snowy Tusk Boar, 1 of each")
MisNeed(MIS_NEED_KILL, 239, 1, 10, 1)
MisNeed(MIS_NEED_KILL, 237, 1, 20, 1)
MisNeed(MIS_NEED_KILL, 264, 1, 30, 1)
MisNeed(MIS_NEED_KILL, 295, 1, 40, 1)
MisNeed(MIS_NEED_KILL, 64, 1, 50, 1)
MisNeed(MIS_NEED_KILL, 296, 1, 60, 1)
MisNeed(MIS_NEED_KILL, 144, 1, 70, 1)
MisHelpTalk("<t>Happy New Year, Fortune of 7 Pigs. ")
MisResultTalk("<t>Well done!")
MisResultCondition(HasMission,827 )
MisResultCondition(NoRecord,827)
MisResultCondition(HasFlag, 827, 10)
MisResultCondition(HasFlag, 827, 20)
MisResultCondition(HasFlag, 827, 30)
MisResultCondition(HasFlag, 827, 40)
MisResultCondition(HasFlag, 827, 50)
MisResultCondition(HasFlag, 827, 60)
MisResultCondition(HasFlag, 827, 70)
MisResultAction(GiveItem, 855, 10, 4 )
MisResultAction(ClearMission, 827 )
MisResultAction(SetRecord, 827)
MisResultBagNeed(1)
InitTrigger()
TriggerCondition( 1, IsMonster, 239 )
TriggerAction( 1, AddNextFlag, 827, 10, 1 )
RegCurTrigger( 8271 )
InitTrigger()
TriggerCondition( 1, IsMonster, 237 )
TriggerAction( 1, AddNextFlag, 827, 20, 1 )
RegCurTrigger( 8272 )
InitTrigger()
TriggerCondition( 1, IsMonster,264 )
TriggerAction( 1, AddNextFlag, 827, 30, 1 )
RegCurTrigger( 8273 )
InitTrigger()
TriggerCondition( 1, IsMonster, 295 )
TriggerAction( 1, AddNextFlag, 827, 40, 1 )
RegCurTrigger( 8274 )
InitTrigger()
TriggerCondition( 1, IsMonster, 64 )
TriggerAction( 1, AddNextFlag, 827, 50, 1 )
RegCurTrigger( 8275 )
InitTrigger()
TriggerCondition( 1, IsMonster,296)
TriggerAction( 1, AddNextFlag, 827, 60, 1 )
RegCurTrigger( 8276 )
InitTrigger()
TriggerCondition( 1, IsMonster,144)
TriggerAction( 1, AddNextFlag, 827, 70, 1 )
RegCurTrigger( 8277 )
-------------------------------------------------幸运猪猪----------玛拉依兰
DefineMission (5506, "Lucky Piggy", 828)
MisBeginTalk("<t>But without Lucky Piggy Clover, Piggy God will not bother with you! Go collect Lucky Piggy Clover! <bObtainable from Item Mall>. You will stand a chance to obtain Gem of Colossus, Gem of Rage, Gem of Striking, Gem of the Wind, Gem of Soul, Goddess's Pouch, First Prize etc! There will be a <r30000G handling fee>.")
MisBeginCondition(NoMission,828)
MisBeginCondition(HasRecord,827)
MisBeginCondition(NoRecord,828)
MisBeginAction(AddMission,828)
MisBeginAction(AddTrigger, 8281, TE_GETITEM, 2908, 1)
MisCancelAction(ClearMission, 828)
MisNeed(MIS_NEED_ITEM, 2908, 1, 10, 1)
MisHelpTalk("<t>Hurry on, surprise wait for no one")
MisResultTalk("<t>Very well. The Piggy God has bestowed upon you this mystery treasure chest. Open it to take a look!")
MisResultCondition(HasMission, 828)
MisResultCondition(NoRecord,828)
MisResultCondition(HasItem, 2908, 1)
MisResultCondition(HasMoney, 30000)
MisResultAction(TakeItem, 2908, 1 )
MisResultAction(TakeMoney,30000 )
MisResultAction(ClearMission, 828)
MisResultAction(SetRecord, 828 )
MisResultAction(GiveItem, 2909, 1, 4)
MisResultAction(ClearRecord, 828)---------------可以反复接
MisResultBagNeed(1)
InitTrigger()
TriggerCondition( 1, IsItem, 2908)
TriggerAction( 1, AddNextFlag, 828, 10, 1 )
RegCurTrigger( 8281 )
-----------------------------------------------海盗王压岁大礼---------白银商城新手指导
DefineMission(5507,"Auspicious Gift",829)
MisBeginTalk("<t> It's the Year of The Pig. Go catch 20 Piglets and y can receive a PKO's Auspicious packet.")
MisBeginCondition(NoRecord,829)
MisBeginCondition(NoMission,829)
MisBeginCondition(LvCheck, ">",45)
MisBeginAction(AddMission,829)
MisBeginAction(AddTrigger, 8291, TE_KILL,237, 20)
MisCancelAction(ClearMission, 829)
MisNeed(MIS_NEED_DESP, "Catch 20 Piglets.")
MisNeed(MIS_NEED_KILL, 237, 20, 10, 20)
MisHelpTalk("<t>Time waits for no one.")
MisResultTalk("<t>Not bad! This is Tales of Pirates's Piggy Year Auspicious Bag! If you open it on Lunar New Year's Eve at the 17th February from 23:00 to 01:00 of 18th February, you stand a chance to win a super gift.")
MisResultCondition(HasMission,829 )
MisResultCondition(NoRecord,829)
MisResultCondition(HasFlag, 829, 29)
MisResultAction(GiveItem, 2910, 1, 4 )
MisResultAction(ClearMission, 829 )
MisResultAction(SetRecord, 829)
MisResultBagNeed(1)
InitTrigger()
TriggerCondition( 1, IsMonster, 237 )
TriggerAction( 1, AddNextFlag, 829, 10, 20 )
RegCurTrigger( 8291 )
-------------------------------------------------情为何物----------玛拉依兰
DefineMission (5508, "What is love", 830)
MisBeginTalk("<t>Love transends all things! If you believe in fate, I can help you fulfil your long cherished wish! But before that, you must first pass my Test, to prove ur worth.")
MisBeginCondition(NoMission,830)
MisBeginCondition(LvCheck, ">",30)
MisBeginCondition(NoRecord,830)
MisBeginAction(AddMission,830)
MisBeginAction(AddTrigger, 8301, TE_GETITEM, 4418, 10 )
MisCancelAction(ClearMission, 830)
MisNeed(MIS_NEED_ITEM, 4418, 10, 10, 10 )
MisHelpTalk("<t>Don't let your love ones wait too long!")
MisResultTalk("<t>Very well! You have done well! This is a Chest of Fate. Open it and you will not be alone anymore!")
MisResultCondition(HasMission, 830)
MisResultCondition(NoRecord,830)
MisResultCondition(HasItem, 4418, 10)
MisResultAction(TakeItem, 4418, 10 )
MisResultAction(ClearMission, 830)
MisResultAction(SetRecord, 830 )
MisResultAction(GiveItem, 2916, 1, 4)
MisResultBagNeed(1)
InitTrigger()
TriggerCondition( 1, IsItem, 4418)
TriggerAction( 1, AddNextFlag, 830, 10, 10 )
RegCurTrigger( 8301 )
-------------------------------------------------倾城之恋----------玛拉依兰
DefineMission (5509, "Beautiful Love", 831)
MisBeginTalk("<t>Youngster! Seek out your true love today! Look for the other half with a similar <bLove Number> and also a <rRed Rope> to tie your fate together. I will await for both of you to bring me <rLove Amulets>.")
MisBeginCondition(NoMission,831)
MisBeginCondition(NoMission,832)
MisBeginCondition(HasRecord,830)
MisBeginCondition(NoRecord,831)
MisBeginCondition(NoRecord,832)
MisBeginCondition(NoChaType,1)
MisBeginCondition(NoChaType,2)
MisBeginCondition(HasItem, 2902, 1)
MisBeginAction(AddTrigger, 8311, TE_GETITEM, 2903, 1 )
MisBeginAction(AddTrigger, 8312, TE_GETITEM, 2845, 1 )
MisBeginAction(AddMission,831)
MisCancelAction(ClearMission, 831)
MisNeed(MIS_NEED_ITEM, 2903, 1, 10, 1 )
MisNeed(MIS_NEED_ITEM, 2845, 1, 20, 1 )
MisHelpTalk("<t>Remember that you and your loved one need to bring <rAmulets with the same Love Number>")
MisResultTalk("<t>Both of you are a matching couple! Congratulations! Allow me to award both of you with 2 Chest of Gown. A person can only open it once! May God bless you!")
MisResultCondition(HasMission, 831)
MisResultCondition(NoRecord,831)
MisResultCondition(HasItem, 2902, 1)
MisResultCondition(HasItem, 2903, 1)
MisResultCondition(HasItem, 2845, 1)
MisResultCondition(CheckItem,2902,2903)
MisResultAction(TakeItem, 2902, 1 )
MisResultAction(TakeItem, 2903, 1 )
MisResultAction(TakeItem, 2845, 1 )
MisResultAction(ClearMission, 831)
MisResultAction(SetRecord, 831 )
MisResultAction(GiveItem, 2915, 2, 4)
MisResultAction(Starteffect, 370 )
MisResultBagNeed(2)
InitTrigger()
TriggerCondition( 1, IsItem, 2903)
TriggerAction( 1, AddNextFlag, 831, 10, 1 )
RegCurTrigger( 8311 )
InitTrigger()
TriggerCondition( 1, IsItem, 2845)
TriggerAction( 1, AddNextFlag, 831, 20, 1 )
RegCurTrigger( 8312 )
-------------------------------------------------倾城之恋----------玛拉依兰
DefineMission (5536, "Beautiful Love", 832)
MisBeginTalk("<t>Youngster! Seek out your true love today! Look for the other half with a similar <bLove Number> and also a <rRed Rope> to tie your fate together. I will await for both of you to bring me <rLove Amulets>.")
MisBeginCondition(NoMission,832)
MisBeginCondition(NoMission,831)
MisBeginCondition(HasRecord,830)
MisBeginCondition(NoRecord,831)
MisBeginCondition(NoRecord,832)
MisBeginCondition(NoChaType,3)
MisBeginCondition(NoChaType,4)
MisBeginCondition(HasItem, 2903, 1)
MisBeginAction(AddTrigger, 8321, TE_GETITEM, 2902, 1 )
MisBeginAction(AddTrigger, 8322, TE_GETITEM, 2845, 1 )
MisBeginAction(AddMission,832)
MisCancelAction(ClearMission, 832)
MisNeed(MIS_NEED_ITEM, 2902, 1, 10, 1 )
MisNeed(MIS_NEED_ITEM, 2845, 1, 20, 1 )
MisHelpTalk("<t>Remember that you and your loved one need to bring <rAmulets with the same Love Number>")
MisResultTalk("<t>Both of you are a matching couple! Congratulations! Allow me to award both of you with 2 Chest of Gown. A person can only open it once! May God bless you!")
MisResultCondition(HasMission, 832)
MisResultCondition(NoRecord,832)
MisResultCondition(HasItem, 2902, 1)
MisResultCondition(HasItem, 2903, 1)
MisResultCondition(HasItem, 2845, 1)
MisResultCondition(CheckItem,2902,2903)
MisResultAction(TakeItem, 2902, 1 )
MisResultAction(TakeItem, 2903, 1 )
MisResultAction(TakeItem, 2845, 1 )
MisResultAction(ClearMission, 832)
MisResultAction(SetRecord, 832 )
MisResultAction(GiveItem, 2915, 2, 4)
MisResultAction(Starteffect, 370 )
MisResultBagNeed(2)
InitTrigger()
TriggerCondition( 1, IsItem, 2902)
TriggerAction( 1, AddNextFlag, 832, 10, 1 )
RegCurTrigger( 8321 )
InitTrigger(
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -