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

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

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

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

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

npc 4
name 山贼头目
defaultPos 0
visible event[17]=0
isMotion false
attrib 25,400,32,16,16,0,类容
scriptVar null
endNpc   

event 0
type commonEvent
id -1
condition area,240,64,32,16
comment 55一线五洞入口
.0 setScene 55,112,288,2,true
.1 complete 0
endEvent 

event 1
type commonEvent
id 17
condition area,368,64,80,16
comment 山贼头目战
.0 if event[16]=1
.0 ctrl false
.21 wait 0,10
.1 npcDisappear 0
.2 npcAppear 0,56,384,64,0
.3 npcAppear 1,56,416,64,0
.4 showText 0,山贼头目,你是何人，胆敢到此？
.9 showText 0,赵云,我乃常山赵子龙。
.10 showText 0,山贼头目,没听说过，到此有何事情。
.5 showText 0,赵云,特来此取得皮绳！
.6 showText 0,山贼头目,哈哈，打赢我再说。
.7 initEmy 24,35
.7 initEmy 14,33
.7 initEmy 13,33
.8 setBattle true,false,null
.11 if isWin
.14 npcDisappear 4
.5 changeEquip add,37,35
.5 wait 0,10
.5 changeEquip add,3,35
.5 wait 0,10
.6 changeItem add,9,1
.18 showText 0,null,获得皮绳。
.21 setDir 0,right
.22 setDir 1,left
.18 showText 0,赵云,皮绳已经得到了，我们可以回去了。
.18 showText 0,赵云,我们再从原来的路出去吧，想必那洞口应该已经通了。
.18 showText 0,刘珊,好的。
.23 move 1,384,64
.15 npcDisappear 1
.16 ctrl true
.17 complete 1
.11 endIf
.7 endIf
.11 endIf
endEvent 

