﻿scene 
id 51
name 九幽洞
dat map51.dat
battleBg 2
openEffect 0
closeEffect 1
enemyLevel 24
enemys 2,4,5,8,9,10,11,12,13,14
endScene 

npc 0
name 赵云
defaultPos 0
visible false
isMotion false
attrib 0,416,140,16,28,0,类容
scriptVar null
endNpc   

npc 1
name 刘珊
defaultPos 0
visible false
isMotion false
attrib 1,400,139,16,27,0,类容
scriptVar null
endNpc   

npc 2
name 关羽
defaultPos 0
visible false
isMotion false
attrib 2,384,156,16,28,0,类容
scriptVar null
endNpc   

npc 3
name 周瑜
defaultPos 0
visible false
isMotion false
attrib 3,448,156,17,28,0,类容
scriptVar null
endNpc   

npc 4
name 宝箱
defaultPos 0
visible event[29]=0
isMotion false
attrib 33,176,32,16,16,0,类容
scriptVar null
endNpc   

npc 5
name 宝箱
defaultPos 0
visible event[30]=0
isMotion false
attrib 33,272,240,16,16,0,类容
scriptVar null
endNpc   

event 0
type commonEvent
id 15
condition null
comment 地震
.0 ctrl false
.3 npcDisappear 0
.4 npcAppear 0,51,416,128,2
.5 npcAppear 1,51,432,144,0
.1 showText 0,刘珊,发生什么事了？
.2 showText 0,赵云,好像是地震了。
.6 wait 0,10
.7 showText 0,刘珊,啊…………
.9 showBacktext 轰……轰……
.7 npcDisappear 1
.8 showText 0,赵云,郡主！
.9 wait 0,10
.10 showText 0,赵云,糟糕，刚才地震，郡主不知道去哪儿了，赶紧要将她找到。
.2 setTeam 0,2
.11 ctrl true
.12 complete 1
endEvent 

event 1
type commonEvent
id -1
condition area,464,128,16,48
comment 山洞出口
.4 if event[15]=1
.7 if event[17]=0
.3 showText 0,null,洞口已被封住。
.4 complete 0
.7 if event[17]=1
.6 setScene 70,48,752,2,true
.7 complete 0
.7 endIf
.4 else
.6 setScene 70,48,752,2,true
.7 complete 0
.4 endIf
.4 endIf
endEvent 

event 2
type commonEvent
id -1
condition area,208,432,32,16
comment 52一线一洞入口
.0 setScene 52,32,112,2,true
.1 complete 0
endEvent 

event 3
type commonEvent
id -1
condition area,432,288,32,16
comment 52二线一洞入口
.0 setScene 52,448,320,2,true
.1 complete 0
endEvent 

event 4
type commonEvent
id -1
condition area,368,432,32,16
comment 51三线一洞入口
.0 setScene 51,32,112,2,true
.1 complete 0
endEvent 

event 5
type commonEvent
id -1
condition area,16,80,32,16
comment 51三线一洞入口
.0 setScene 51,448,320,2,true
.1 complete 0
endEvent 

event 6
type commonEvent
id -1
condition area,112,288,32,16
comment 51三线二洞入口
.0 setScene 51,80,464,2,true
.1 complete 0
endEvent 

event 7
type commonEvent
id -1
condition area,64,432,32,16
comment 51三线二洞入口
.0 setScene 51,128,320,2,true
.1 complete 0
endEvent 

event 8
type commonEvent
id -1
condition area,400,80,32,16
comment 52四线一洞入口
.0 setScene 52,384,464,2,true
.1 complete 0
endEvent 

event 9
type commonEvent
id 29
condition sprite,4
comment 九幽洞A宝箱一
.0 changeItem add,48,1
.1 npcDisappear 4
.2 complete 1
endEvent 

event 10
type commonEvent
id 30
condition sprite,5
comment 九幽洞A宝箱二
.5 changeEquip add,54,24
.1 npcDisappear 5
.2 complete 1
endEvent 

