@name=Yên Tử Bảo Điện
@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=Cuối cùng cũng tới.|
@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=Tôi có thể giúp gì？|
@eid=SELEVENT|@a=2|@str=Mua|@beid=10|@str=Bán|@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

Thúc đẩy dòng----------------------------------
#npcState
@id=8
@x=536
@y=256
@dir=2
@npcEnd

#npcEventS
@id=8
@beid=3
@eid=SPEAK|@man=8|@str=Đỉnh Thiên, tuy Xí Ma Vương đã bị tiêu diệt nhưng thuộc hạ của hắn vẫn còn. Hãy vào động Thông Thiên giết 25 tên Phong Ma dùm ta.|
@eid=GETTASK|@taskID=40|
@eid=SPEAK|@man=8|@str=Sao? Đơn giản thui mà.|
@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=Chiến tranh sắp bắt đầu rùi. Tìm dùm tôi vài nguyên liệu này với.|
@eid=SPEAK|@man=0|@str=Nguyên liệu gì？|
@eid=SPEAK|@man=72|@str= Đó là Đá Hoàng Lan 5, nếu không thì Đá Rồng cũng đc nữa。|
@eid=SELEVENT|@a=2|@str=Đá Hoàng Lan 5|@beid=5|@str=Đá Rồng|@beid=6|
@npcEventE

#npcEventS
@id=72
@beid=5
@eid=GETTASK|@taskID=41|
@eid=GAMEHINT|@type=0|@str=Thu thập 10 Đá Hoàng Lan cấp 5|
@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=Thu thập 10 Đá Rồng|
@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=Cuối cùng hắn cũng tới|
@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=Tâm Ma!|
@eid=SPEAK|@man=0|@str=Xí Ma Vương, ký ức của ta tất cả đã được khôi phục, nhưng ta vẫn không biết tại sao ngươi phản bội ta, ta biết ngươi ko phải loại người đó. Tại sao?|
@eid=SPEAK|@man=7|@str=Tại sao!? Hahahaha. Ngươi đối xử với mọi người như loài kiến nên ko hiểu là phải. |
@eid=SPEAK|@man=0|@str= Ý ngươi là gì? Đây là cơ hội cuối cùng của ngươi。|
@eid=SPEAK|@man=7|@str=Ta sẽ cho ngươi mãi mãi ko biết tại sao mọi người quay lưng lại với ngươi.haha.|
@eid=SPEAK|@man=0|@str=Ai đứng sau ngươi trong chuyện này.|
@eid=SPEAK|@man=7|@str=Không, ta đã hứa giữ bí mật, ta sẽ ko nói.|
@eid=SPEAK|@man=0|@str=Vâng, trong trường hợp đó, ta sẽ chôn ngươi tại chỗ này.|
@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=Ta sẽ cho ngươi một cơ hội cuối, nói hay không?|
@eid=SPEAK|@man=7|@str=Never|
@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=Tim ta tan chảy, nhưng ta phải biết lý do.|
@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=Thanh Phong, không tốt。|
@eid=SPEAK|@man=0|@str=Có chuyện gì? Nói tôi nghe nào.|
@eid=SPEAK|@man=1|@str=Liểu Nhâm bị Tiên giới truy bắt, tôi về Trường Bạch Sơn chỉ tìm thấy lá thư này. |
@eid=SPEAK|@man=0|@str=Sao?|
@eid=SPEAK|@man=1|@str=Đây là lá thư của Liểu Nhâm gửi cho huynh。|
@eid=SPEAK|@man=2|@str=Thanh Phong, khi cậu đọc bức thư này thì chắc ta đã bị Phi Thiên Vũ tống giam vì ta đã điều tra đc chính hắn đã giết sư phụ chúng ta. Cũng do tính háo thắng, ngang tàng của huynh mà hắn dễ dàng đổ tội cho huynh ,đẩy huynh trở thành tên đại ma đầu Tâm Ma..。|
@eid=SPEAK|@man=2|@str=Đáng lẽ ta ko nói ra để tránh một trận chiến sống còn, tại hắn ép ta tới đường cùng. Hình như ở Tây của Yên Tử Bảo Điện cũng có 1 lối vào tiên giới. Huynh hãy thử vào đó xem.|
@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=Thực sự là Thiên hoàng。|
@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=Nếu có thể hãy giết 25 tên Phong Ma dùm ta。|
@npcEventE

@phaseEnd

@phase40setOverStart

#npcEventS
@id=8
@beid=108
@eid=SPEAK|@man=8|@str=Đỉnh Thiên, tôi tin ngài làm dc。|
@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=hoàn tất nhiệm vụ Đá Hoàng Lăn 5|
@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=Độ chính xác cấp năm của bạn là không đủ.|
@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=Phục vụ nhiệm vụ Dragon đá các nhiệm vụ|
@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=Của bạn dài Yunshi là không đủ。|
@npcEventE

@phaseEnd