﻿@name=天魔殿
@devildom
@phaseAllStart

#rectArea
@id=0
@x=108
@y=624
@width=58
@height=16
@dir=1
@rectEnd

#rectEventS
@id=0
@beid=0
@auto
@eid=STAGECHANGE|@map=58|@x=146|@y=40|@dir=1|
@rectEventE

#rectArea
@id=1
@x=0
@y=280
@width=16
@height=64
@dir=2
@rectEnd

#rectEventS
@id=1
@beid=2
@auto
@eid=SPEAK|@man=0|@str=还不能去这里。|
@eid=NPCDIR|@count=1|@man=0|@dir=3|
@rectEventE

#rectEventS
@id=1
@beid=1
@auto
@eid=STAGECHANGE|@map=60|@x=616|@y=528|@dir=2|
@rectEventE

#npcState
@id=52
@x=108
@y=272
@dir=1
@npcEnd

#npcEventS
@id=52
@beid=9
@eid=SPEAK|@man=52|@str=请问有什么需要帮助的吗？|
@eid=SELEVENT|@a=2|@str=买|@beid=10|@str=卖|@beid=11|
@npcEventE

#npcEventS
@id=52
@beid=10
@eid=GOTOSHOP|@a=0|
@npcEventE

#npcEventS
@id=52
@beid=11
@eid=GOTOSHOP|@a=-1|
@npcEventE

#npcState
@id=10
@x=168
@y=272
@dir=1
@npcEnd

#npcEventS
@id=10
@beid=13
@eid=ISHAVELEVEL|@level=25|@beid=14|@beid=16|
@npcEventE

#npcEventS
@id=10
@beid=14
@eid=DELEVENT|@beid=13|
@eid=ISHAVELEVEL|@level=35|@beid=15|@beid=17|
@npcEventE

#npcEventS
@id=10
@beid=15
@eid=DELEVENT|@beid=14|
@eid=ISHAVELEVEL|@level=45|@beid=19|@beid=18|
@npcEventE


#npcEventS
@id=10
@beid=16
@eid=GOTOEQUIP|@showCount=6|@show=5,6,7,50,51,80|
@npcEventE

#npcEventS
@id=10
@beid=17
@eid=GOTOEQUIP|@showCount=7|@show=6,7,8,50,51,80,81|
@npcEventE

#npcEventS
@id=10
@beid=18
@eid=GOTOEQUIP|@showCount=8|@show=7,8,9,50,51,80,81,82|

@npcEventE

#npcEventS
@id=10
@beid=19
@eid=GOTOEQUIP|@showCount=9|@show=8,9,10,50,51,80,81,82,83|
@npcEventE

支线----------------------------------
#npcState
@id=8
@x=536
@y=256
@dir=2
@npcEnd

#npcEventS
@id=8
@beid=3
@eid=SPEAK|@man=8|@str=主上，为了尽快恢复魔界的秩序，清楚冷雨的余孽是势在必行的，在魔界本源中还残留着不少余孽，你也可以参加到这次的行动之中。|
@eid=GETTASK|@taskID=40|
@eid=SPEAK|@man=8|@str=清除魔界本源中的25个幽魂吧。|
@eid=SETTASKMOTION|@count=1|@man=8|@tm=1|
@eid=COUNTKILL|@id=37|
@eid=DELEVENT|@beid=3|
@eid=REINIT|
@npcEventE

#npcState
@id=72
@x=316
@y=236
@dir=1
@npcEnd

#npcEventS
@id=72
@beid=4
@eid=SPEAK|@man=72|@str=与仙界的战争即将开始，但是我们的物资却十分缺乏。|
@eid=SPEAK|@man=0|@str=主要欠缺哪些物资？|
@eid=SPEAK|@man=72|@str=现在大量缺少大量的五级精元与龙云石。主上如果有足够的五级精元与龙云石可以交予给我，会得到丰厚的奖励。|
@eid=SELEVENT|@a=2|@str=五级精元|@beid=5|@str=龙云石|@beid=6|
@npcEventE

#npcEventS
@id=72
@beid=5
@eid=GETTASK|@taskID=41|
@eid=GAMEHINT|@type=0|@str=收集10个五级精元|
@eid=SETTASKMOTION|@count=1|@man=72|@tm=1|
@eid=DELEVENT|@beid=4|
@eid=DELEVENT|@beid=5|
@eid=DELEVENT|@beid=6|
@eid=REINIT|
@npcEventE

#npcEventS
@id=72
@beid=6
@eid=GETTASK|@taskID=42|
@eid=GAMEHINT|@type=0|@str=收集10个龙云石|
@eid=SETTASKMOTION|@count=1|@man=72|@tm=1|
@eid=DELEVENT|@beid=4|
@eid=DELEVENT|@beid=5|
@eid=DELEVENT|@beid=6|
@eid=REINIT|
@npcEventE

@phaseEnd

@phase17set1Start

#npcState
@id=7
@x=472
@y=216
@dir=1
@npcEnd


#rectArea
@id=2
@x=262
@y=248
@width=32
@height=125
@dir=5
@rectEnd

#npcEventS
@id=0
@beid=105
@eid=FOCUSSCREEN|@man=7|@speed=8|
@eid=SPEAK|@man=7|@str=魔尊终于来到魔界了，我终于可以为你报仇了。你等着我，我马上就能来见你了。|
@eid=FOCUSSCREEN|@man=0|@speed=8|
@eid=DELEVENT|@beid=105|
@npcEventE

#rectEventS
@id=2
@beid=101
@auto
@eid=COLOR|@a=1|
@eid=SENDMAN|@man=0|@x=472|@y=284|@dir=0|
@eid=FOCUSSCREEN|@man=0|@speed=-1|
@eid=COLOR|@a=-2|
@eid=SPEAK|@man=7|@str=魔尊！|
@eid=SPEAK|@man=0|@str=冷雨，我的记忆已经全部恢复了，但是我仍然不知道你为什么要背叛我，你不是那种会被权力所蒙蔽的人，为什么？|
@eid=SPEAK|@man=7|@str=为什么！？哈哈哈哈……因为你残暴不仁，因为你将天下视为蝼蚁，所以你才不知道为什么。|
@eid=SPEAK|@man=0|@str=事到如今你还不愿说出来吗？这是你最后的机会了。|
@eid=SPEAK|@man=7|@str=没想到如今的你竟然会说出这样的话。可惜什么都晚了，当年的事，我永远都不会忘怀。|
@eid=SPEAK|@man=0|@str=你投靠仙帝就是因为这件事？|
@eid=SPEAK|@man=7|@str=没想到你连这个也知道了，是。|
@eid=SPEAK|@man=0|@str=好，既然这样，我会好好安葬你的。|
@eid=SETTASK|@taskID=17|@stage=2|
@eid=DELEVENT|@beid=101|
@eid=REINIT|
@rectEventE

@phaseEnd


@phase17set2Start

#monster
@id=10|@level=49|@x=472|@y=216|@dir=1|@best=0|
@id=36|@level=49|@x=412|@y=256|@dir=3|@best=0|
@id=36|@level=49|@x=412|@y=316|@dir=3|@best=0|
@id=36|@level=49|@x=412|@y=376|@dir=3|@best=0|
@id=36|@level=49|@x=536|@y=256|@dir=2|@best=0|
@id=36|@level=49|@x=536|@y=316|@dir=2|@best=0|
@id=36|@level=49|@x=536|@y=376|@dir=2|@best=0|
@monsterEnd



#conEventS
@id=4
@beid=102
@condition|@type=1|@id=0|@count=50|
@eid=COLOR|@a=1|
@eid=SENCELAYOUT|@isbg|
@eid=SETTASK|@taskID=17|@stage=3|
@eid=DELEVENT|@beid=102|
@eid=REINIT|
@conEventE

@phaseEnd

@phase17set3Start

#npcState
@id=7
@x=472
@y=216
@dir=1
@npcEnd

#npcEventS
@id=0
@beid=103
@eid=SENDMAN|@man=0|@x=472|@y=248|@dir=0|
@eid=FOCUSSCREEN|@man=0|@speed=-1|
@eid=SENCELAYOUT|
@eid=COLOR|@a=-2|
@eid=SPEAK|@man=0|@str=我再给你最后一次机会，说，还是不说。|
@eid=SPEAK|@man=7|@str=去死！|
@eid=WAIT|@a=10|
@eid=NPCACTION|@npc=7|@action=9|@loop=1|
@eid=WAIT|@a=10|
@eid=QUAKE|@a=1|
@eid=SETNPCPOS|@man=0|@x=472|@y=292|@dir=0|
@eid=QUAKE|@a=0|
@eid=SENDMAN|@man=7|@x=96|@y=320|@dir=2|
@eid=FOCUSSCREEN|@man=7|@speed=8|
@eid=NPCMOVE|@man=7|@x=48|@y=328|@dir=2|
@eid=SETNPCPOS|@man=7|@x=-16|@y=-16|@dir=3|
@eid=FOCUSSCREEN|@man=0|@speed=8|
@eid=SPEAK|@man=0|@str=我还是心软了，但是这件事必须有个了解。|
@eid=OVERTASK|@taskID=17|
@eid=ADDEXP|@a=14500|

@eid=GETTASK|@taskID=18|
@eid=DELEVENT|@beid=2|
@eid=DELEVENT|@beid=103|
@eid=REINIT|
@npcEventE

@phaseEnd

@phase18set4Start

#npcState
@id=1
@x=-16
@y=-16
@dir=1
@npcEnd

#npcState
@id=2
@x=-16
@y=-16
@dir=1
@npcEnd

#npcState
@id=47
@x=-16
@y=-16
@dir=1
@npcEnd

#npcEventS
@id=0
@beid=104
@eid=SENCELAYOUT|

@eid=SENDMAN|@man=1|@x=472|@y=252|@dir=0|
@eid=SPEAK|@man=1|@str=萧逸，不好了。|
@eid=SPEAK|@man=0|@str=怎么了？慌慌张张的。|
@eid=SPEAK|@man=1|@str=仙帝将我哥哥骗去了仙界，说想要和解，现在他被仙帝囚禁了。|
@eid=SPEAK|@man=0|@str=他终于开始有所行动了。|
@eid=SPEAK|@man=1|@str=这是我哥哥给你的留言。|
@eid=SPEAK|@man=2|@str=萧逸，你看到这留言时，我可能已经被仙帝囚禁了，你先别急着来救我，他一时半会儿也不能拿我怎么样。如今你的还不是仙帝的对手，所以最重要的就是提升你的实力。|
@eid=SPEAK|@man=2|@str=当年你爷爷将一件东西交给了我，老实说这件东西连我都看了心动。我将这件东西留在了天魔峰的一扇空间之门之中。想要战胜仙帝就去将它取出来吧。|
@eid=OVERTASK|@taskID=18|
@eid=ADDEXP|@a=16165|
@eid=GETTASK|@taskID=19|
@eid=SETTASKMOTION|@count=1|@man=47|@tm=1|
@eid=DELEVENT|@beid=3|@map=60|
@eid=DELEVENT|@beid=104|

@eid=REINIT|
@npcEventE

@phaseEnd

@phase40set1Start

#npcEventS
@id=8
@beid=105
@eid=ISKILL|@monster=37|@count=25|@beid=106|@beid=107|
@npcEventE

#npcEventS
@id=8
@beid=106
@eid=SPEAK|@man=8|@str=不愧是主上。|
@eid=OVERTASK|@taskID=40|
@eid=SETTASKMOTION|@count=1|@man=8|@tm=-1|

@eid=GETMONEY|@money=1700|
@eid=ADDEXP|@a=11284|
@eid=ADDPOINT|@type=1|@num=3|
@eid=GETITEM|@type=10|@id=15|@count=1|

@eid=DELCOUNTKILL|@id=37|
@eid=DELEVENT|@beid=105|
@eid=DELEVENT|@beid=106|
@eid=DELEVENT|@beid=107|
@eid=REINIT|
@npcEventE

#npcEventS
@id=8
@beid=107
@eid=SPEAK|@man=8|@str=当杀死25个魔界本源中的幽魂后就能在我这里领取奖励。|
@npcEventE

@phaseEnd

@phase40setOverStart

#npcEventS
@id=8
@beid=108
@eid=SPEAK|@man=8|@str=主上归来，魔族的荣耀将会洒遍三界。|
@npcEventE

@phaseEnd


@phase41set1Start

#npcEventS
@id=72
@beid=109
@eid=ISHAVEITEM|@type=10|@id=4|@count=10|@beid=110|@beid=111|
@npcEventE

#npcEventS
@id=72
@beid=110
@eid=LOSTITEM|@type=10|@id=4|@count=10|
@eid=GAMEHINT|@type=0|@str=完成支线任务$五级精元/任务|
@eid=GETMONEY|@money=800|
@eid=ADDEXP|@a=6000|
@eid=SETTASKMOTION|@count=1|@man=72|@tm=0|
@eid=GIVEUPTASK|@taskID=41|
@eid=RECEVENT|@beid=4|@map=59|
@eid=RECEVENT|@beid=5|@map=59|
@eid=RECEVENT|@beid=6|@map=59|
@eid=REINIT|
@npcEventE

#npcEventS
@id=72
@beid=111
@eid=SPEAK|@man=72|@str=你的五级级精元还不够。|
@npcEventE

@phaseEnd

@phase42set1Start

#npcEventS
@id=72
@beid=112
@eid=ISHAVEITEM|@type=10|@id=10|@count=10|@beid=113|@beid=114|
@npcEventE

#npcEventS
@id=72
@beid=113
@eid=LOSTITEM|@type=10|@id=10|@count=10|
@eid=GAMEHINT|@type=0|@str=完成支线任务$龙云石/任务|
@eid=GETMONEY|@money=800|
@eid=ADDEXP|@a=6000|
@eid=SETTASKMOTION|@count=1|@man=72|@tm=0|
@eid=GIVEUPTASK|@taskID=42|
@eid=RECEVENT|@beid=4|@map=59|
@eid=RECEVENT|@beid=5|@map=59|
@eid=RECEVENT|@beid=6|@map=59|
@eid=REINIT|
@npcEventE

#npcEventS
@id=72
@beid=114
@eid=SPEAK|@man=72|@str=你的龙云石还不够。|
@npcEventE

@phaseEnd