📄 missionscript01.lua
字号:
TriggerAction( 1, AddNextFlag, 738, 40, 5 )
RegCurTrigger( 7384 )
end
RobinMission026()
----------------------------------------------------------
-- --
-- 沙岚城[新手指导·拉丝碧] --
-- --
-- 239185,277025 --
----------------------------------------------------------
function RobinMission027()
-----------------------------------新人报道
DefineMission( 711, "Welcome", 2, COMPLETE_SHOW)
MisBeginCondition( AlwaysFailure )
MisResultTalk("<t>Ah!<n><t>Another newcomer, welcome! You can come to me if you have any questions regarding Classes and Attribute related issue.<n><t>Next I am going to tell you where to buy good weapons in <pShaitan City>.<n><t>Since you have leveled up, you can press the yellow button below your protrait (Alt + A) to open your character page to distribute your stats. Every time you level up, you will received more points for your own allocation.<n><t>You have 5 basic attributes that can be added: Strength which affects your melee attack power; Agility which increases your attack speed and dodge rate; Accuracy which increases your hit rate and range attack power; Spirit which increases your max SP and magical damage; Constitution which increases your defense and max HP.")
MisHelpTalk("<t>If you don't accept my assistance, you will find that you may encounter various problems along the way that you cannot solve.")
MisResultCondition(NoRecord, 2)
MisResultCondition(HasMission, 2)
--MisResultCondition(HasFlag, 706, 10)
--MisResultCondition(HasFlag, 706, 20)
MisResultAction(ClearMission, 2)
MisResultAction(SetRecord, 2)
MisResultAction(AddExp, 6, 6)
-----------------------------------铁匠的问候
DefineMission( 712, "Blacksmith's Greetings", 707 )
MisBeginTalk( "<t>You will not be able to survive in this harsh world if you are going around unarmed. Take this letter to <bBlacksmith Smithy> at (902, 3495).<n><t>Check to see if there is any suitable weapon for you.<n><t>You can use the Radar(Alt + R) to locate him." )
MisBeginCondition(HasRecord, 2)
MisBeginCondition(NoRecord, 707)
MisBeginCondition(NoMission, 707)
MisBeginAction(AddMission, 707)
MisBeginAction(SetFlag, 707, 1)
MisBeginAction(GiveItem, 3956, 1, 4)
MisCancelAction(ClearMission, 707 )
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Hand the letter to <bBlacksmith - Smithy> in <pShaitan City> at (902, 3495) and return to Newbie Guide Resline (876, 3572)")
MisResultTalk("<t>You have seen <bSmithy>? Look for him for better weapons when you have earned enough.")
MisHelpTalk("<t>Remember to give this letter to <bSmithy>. He can be found towards the north-eastern corner of <pShaitan City> at (902, 3495).<n><t>You may also try using the mini-map to help you.")
MisResultCondition(NoRecord, 707)
MisResultCondition(HasMission, 707)
MisResultCondition(HasFlag, 707, 10)
MisResultAction(ClearMission, 707)
MisResultAction(SetRecord, 707)
MisResultAction(AddExp, 9, 9 )
-----------------------------------服装店的问候
DefineMission( 714, "Tailor's Greetings", 708 )
MisBeginTalk( "<t>Ok, look for the tailor next. You need to send the letter over to <pShaitan City> <bTailor - Moya> at (894,3602)" )
MisBeginCondition(HasRecord, 707)
MisBeginCondition(NoRecord, 708)
MisBeginCondition(NoMission, 708)
MisBeginAction(AddMission, 708)
MisBeginAction(SetFlag, 708, 1)
MisBeginAction(GiveItem, 3957, 1, 4)
--MisCancelAction(ClearMission, 708 )
MisCancelAction(SystemNotice, "This quest cannot be abandoned" )
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Hand the letter to <bTailor Moya> in <pShaitan City> at (894, 3602) and return to Newbie Guide Resline at (876, 3572)")
MisResultTalk("<t>Oh? So this is the gloves <bMoya> give you? It looks good. You must treasure it well.")
MisHelpTalk("<t>You must hand the letter to Moya.<n><t>He is at (894, 3602). Locate him with the radar.")
MisResultCondition(NoRecord, 708)
MisResultCondition(HasMission, 708)
MisResultCondition(HasFlag, 708, 10)
MisResultAction(ClearMission, 708)
MisResultAction(SetRecord, 708)
MisResultAction(AddExp, 21, 21 )
-----------------------------------药材店的问候
DefineMission( 716, "Physician's Greetings", 709 )
MisBeginTalk( "<t>Okay, time for you to visit <bPhysician - Shala> at (903, 3646). This is the last letter, so hurry up and go quickly." )
MisBeginCondition(HasRecord, 708)
MisBeginCondition(NoRecord, 709)
MisBeginCondition(NoMission, 709)
MisBeginAction(AddMission, 709)
MisBeginAction(SetFlag, 709, 1)
MisBeginAction(GiveItem, 3958, 1, 4)
MisCancelAction(SystemNotice, "This quest cannot be abandoned" )
--MisCancelAction(ClearMission, 709 )
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Hand the letter to <bPhysician - Shala> in <pShaitan City> at (903, 3646) and return to Newbie Guide Resline at (876, 3572)")
MisResultTalk("<t>These <rApples> given to you by <bShala> are not only good for health, they have healing properties and will allow you to regain a bit of HP.")
MisHelpTalk("<t>The Physician, Shala, is not too far away from here. She can be located around the fountain area (903, 3646).<n><t>You may also try using the mini-map locate her.")
MisResultCondition(NoRecord, 709)
MisResultCondition(HasMission, 709)
MisResultCondition(HasFlag, 709, 10)
MisResultAction(ClearMission, 709)
MisResultAction(SetRecord, 709)
MisResultAction(AddExp, 66, 66 )
-----------------------------------战斗训练
DefineMission( 718, "Battle training", 710 )
MisBeginTalk( "Well well, not bad at all! Now that you are sufficiently equipped, you are fit to venture out of town to test out your fighting skills.<n><t>Kill 5 <bBaby Scorpions> outside the eastern side of the city. While you're at it, please collect 1 <rCactus Hairball> from fighting <bMelons> as well. Of course, always remember that safety comes first!<n><t>(You can enter combat by just left clicking on the enemy target, however combat cannot be initiated in the city. To pick items, left click on the items or you can use CTRL + A for quick looting." )
MisBeginCondition(HasRecord, 709)
MisBeginCondition(NoRecord, 710)
MisBeginCondition(NoMission, 710)
MisBeginCondition(LvCheck, ">", 4 )
MisBeginCondition(LvCheck, "<", 10 )
MisBeginAction(AddMission, 710)
MisBeginAction(SetFlag, 710, 1)
MisBeginAction(AddTrigger, 7101, TE_GETITEM, 1691, 1 )
MisBeginAction(AddTrigger, 7102, TE_KILL, 188, 5 )
MisCancelAction(ClearMission, 710)
MisNeed(MIS_NEED_ITEM, 1691, 1, 10, 1)
MisNeed(MIS_NEED_KILL, 188, 5, 20, 5)
MisPrize(MIS_PRIZE_MONEY, 100, 1)
MisPrizeSelAll()
MisResultTalk("<t>Well done, it looks like you now have a good grasp at basic combat and also a good idea on how item drops work.<n><t>Since there is nothing much left, why don't you go and look for my friends? If fighting is your cup of tea, seek out <bMichael>. He's a patroller and is often seen patrolling about the outskirts of this city at (2085, 2742). Another person you may like to meet would be Physician <bShala> at (2250, 2770). Lately, she has been looking for helpers to help him collect more ingredients for his medicine.")
MisHelpTalk("<t>Don't have to be anxious, come back after you've slain 5 <bBaby Scorpions> and obtained 1 <rCactus Hairballs>.")
MisResultCondition(NoRecord, 710)
MisResultCondition(HasMission, 710)
MisResultCondition(HasItem, 1691, 1)
MisResultCondition(HasFlag, 710, 24)
MisResultAction(TakeItem, 1691, 1)
MisResultAction(ClearMission, 710)
MisResultAction(SetRecord, 710)
MisResultAction(AddExp, 75, 75 )
InitTrigger()
TriggerCondition( 1, IsItem, 1691 )
TriggerAction( 1, AddNextFlag, 710, 10, 1 )
RegCurTrigger( 7101 )
InitTrigger()
TriggerCondition( 1, IsMonster, 188 )
TriggerAction( 1, AddNextFlag, 710, 20, 5 )
RegCurTrigger( 7102 )
end
RobinMission027()
----------------------------------------------------------
-- --
-- --
-- 沙岚城[服装店主·莫亚] --
-- --
-- 239185,277025 --
----------------------------------------------------------
function RobinMission028()
-----------------------------------服装店的问候
DefineMission( 715, "Tailor's Greetings", 708, COMPLETE_SHOW)
MisBeginCondition( AlwaysFailure )
MisResultTalk("<t>Keke!<n><t>Its Resline's recommendation letter <n><t>Ok, as usual, this pair of gloves is my gift to you.<n><t>The next time round, I will charge you cheaper when you come to the shop to buy your stuff.<n><t For now, return to Resline at (876, 3572). She will introduce you to others.<n><t>(Moya has given you a \"Newbie Glove\", you can select it from your inventory and equip it).")
MisResultCondition(NoRecord, 708)
MisResultCondition(HasMission, 708)
MisResultCondition(NoFlag, 708, 10)
MisResultCondition(HasItem, 3957, 1)
MisResultAction(TakeItem, 3957, 1)
MisResultAction(SetFlag, 708, 10)
MisResultAction(GiveItem, 465, 1, 4)
MisResultBagNeed(1)
end
RobinMission028()
----------------------------------------------------------
-- --
-- 冰狼堡[新手指导·安琪露亚] --
-- --
-- 239185,277025 --
----------------------------------------------------------
function RobinMission030()
-----------------------------------新人报道
DefineMission( 721, "Welcome", 3, COMPLETE_SHOW)
MisBeginCondition( AlwaysFailure )
MisResultTalk("<t>Ah!<n><t>Another newcomer, welcome! You can come to me if you have any questions regarding Classes and Attribute related issue.<n><t>Next I am going to tell you where to buy good weapons in <pIcicle City>.<n><t>Since you have leveled up, you can press the yellow button below your protrait (Alt + A) to open your character page to distribute your stats. Every time you level up, you will received more points for your own allocation.<n><t>You have 5 basic attributes that can be added: Strength which affects your melee attack power; Agility which increases your attack speed and dodge rate; Accuracy which increases your hit rate and range attack power; Spirit which increases your max SP and magical damage; Constitution which increases your defense and max HP.")
MisHelpTalk("<t>Hi! I am the only Newbie Guide in this city. Look for me when you feel the need to understand the basic of this game.<n><t>It will be harsh for you to survive without any help.")
MisResultCondition(NoRecord, 3)
MisResultCondition(HasMission, 3)
--MisResultCondition(HasFlag, 712, 10)
--MisResultCondition(HasFlag, 712, 20)
MisResultAction(ClearMission, 3)
MisResultAction(SetRecord, 3)
MisResultAction(AddExp, 6, 6)
-----------------------------------铁匠的问候
DefineMission( 722, "Blacksmith's Greetings", 713 )
MisBeginTalk( "<t>You will not be able to survive in this harsh world if you are going around unarmed. Take this letter to <pIcicle Castle>'s Blacksmith <bBash> at (1344,529). I believe he can be of help to you.<n><t>You can use the Radar (Alt + R) to locate him. " )
MisBeginCondition(HasRecord, 3)
MisBeginCondition(NoRecord, 713)
MisBeginCondition(NoMission, 713)
MisBeginAction(AddMission, 713)
MisBeginAction(SetFlag, 713, 1)
MisBeginAction(GiveItem, 3959, 1, 4)
MisCancelAction(ClearMission, 713 )
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Bring the letter to <bBlacksmith - Bash> in <pIcicle City> at (1344, 529). Return to Newbie Guide Angela at (1315, 507) after that.")
MisResultTalk("<t>Have you met <bBash> yet? Did he ask you to introduce a girlfriend to him because he's still single?")
MisHelpTalk("<t>Remember to give this letter to <bBash>. He can be found towards the south-eastern corner of <pIcicle Castle> (1344, 529).<n><t>You may also try using the mini-map to help you.")
MisResultCondition(NoRecord, 713)
MisResultCondition(HasMission, 713)
MisResultCondition(HasFlag, 713, 10)
MisResultAction(ClearMission, 713)
MisResultAction(SetRecord, 713)
MisResultAction(AddExp, 9, 9 )
-----------------------------------服装店的问候
DefineMission( 724, "Tailor's Greetings", 714 )
MisBeginTalk( "<t>Here's another letter. Please give it <pHannah> (1349, 539), owner of the tailor shop in Icicle Castle. She'll definitely be glad to help you out." )
MisBeginCondition(HasRecord, 713)
MisBeginCondition(NoRecord, 714)
MisBeginCondition(NoMission, 714)
MisBeginAction(AddMission, 714)
MisBeginAction(SetFlag, 714, 1)
MisBeginAction(GiveItem, 3960, 1, 4)
MisCancelAction(SystemNotice, "This quest cannot be abandoned" )
--MisCancelAction(ClearMission, 714 )
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Send the letter to <bTailor - Hannah> in <pIcicle City> at (1349, 539). Return to look for Newbie Guide Angela at (1315, 507)")
MisResultTalk("<t>So <b Hannah> made you a new glove? It looks good on you. Treasure it well.")
MisHelpTalk("<t>This letter has to reach <bHannah> by today.<n><t>She can be found south-east of the fountain in <pIcicle Castle> at (1349, 530). You may also try using the mini-map to help you.")
MisResultCondition(NoRecord, 714)
MisResultCondition(HasMission, 714)
MisResultCondition(HasFlag, 714, 10)
MisResultAction(ClearMission, 714)
MisResultAction(SetRecord, 714)
MisResultAction(AddExp, 21, 21 )
-----------------------------------药品店的问候
DefineMission( 726, "Physician's Greetings", 715 )
MisBeginTalk( "<t>Lastly, remember! Potions are very important for any battle. To get started, bring this letter to <pIcicle City>'s <bPhysican - Daisha> at (1352, 499)." )
MisBeginCondition(HasRecord, 714)
MisBeginCondition(NoRecord, 715)
MisBeginCondition(NoMission, 715)
MisBeginAction(AddMission, 715)
MisBeginAction(SetFlag, 715, 1)
MisBeginAction(GiveItem, 3961, 1, 4)
MisCancelAction(SystemNotice, "This quest cannot be abandoned" )
--MisCancelAction(ClearMission, 715 )
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Send the letter to <bPhysican - Daisha> in <pIcicle City> at (1352, 499). Return to look for Newbie Guide Angela at (1315, 507).")
MisResultTalk("<t>Hey, these <rApples> are given to you by <bDaisha>.<n><t>Eating <rApples> are beneficial as they can recover a small amount of HP.")
MisHelpTalk("<t>Daisha can be found east of the fountain in <pIcicle Castle> (1352, 499). You may also try using the mini-map to help you.")
MisResultCondition(NoRecord, 715)
MisResultCondition(HasMission, 715)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -