﻿scene 
id 40
name 南阳主城殿
dat map2.dat
battleBg 1
openEffect 0
closeEffect 1
enemyLevel 1
enemys null
endScene 

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

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

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

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

npc 4
name 蔡瑁
defaultPos 0
visible event[69]=0
isMotion false
attrib 10,144,141,18,29,2,类容
scriptVar null
endNpc   

npc 5
name 护卫一
defaultPos 0
visible false
isMotion false
attrib 17,192,154,16,26,2,类容
scriptVar null
endNpc   

npc 6
name 护卫二
defaultPos 0
visible false
isMotion false
attrib 17,112,154,16,26,2,类容
scriptVar null
endNpc   

npc 7
name 护卫三
defaultPos 0
visible false
isMotion false
attrib 17,208,186,16,26,3,类容
scriptVar null
endNpc   

npc 8
name 护卫四
defaultPos 0
visible false
isMotion false
attrib 17,96,186,16,26,1,类容
scriptVar null
endNpc   

npc 9
name 护卫五
defaultPos 0
visible false
isMotion false
attrib 17,144,234,16,26,0,类容
scriptVar null
endNpc   

npc 10
name 护卫六
defaultPos 0
visible false
isMotion false
attrib 17,160,234,16,26,0,类容
scriptVar null
endNpc   

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

event 0
type commonEvent
id 69
condition area,32,304,256,16
comment 二打蔡瑁
.16 if event[68]=1
.18 ctrl false
.0 move 0,144,304
.1 move 0,144,176
.2 npcAppear 1,40,144,176,1
.3 move 1,160,176
.2 setDir 1,up
.4 showText 0,赵云,看你往哪儿跑！
.5 showText 0,蔡瑁,哈哈哈，你中计了！
.6 npcAppear 5,40,192,144,2
.7 npcAppear 6,40,112,144,2
.9 npcAppear 7,40,208,176,3
.9 npcAppear 8,40,96,176,1
.10 npcAppear 9,40,144,224,0
.11 npcAppear 10,40,160,224,0
.4 showText 0,赵云,糟糕，我要小心应付！
.34 wait 0,10
.13 initEmy 12,24
.12 initEmy 18,24
.14 initEmy 12,24
.15 setBattle true,false,null
.19 if isWin
.22 showText 0,蔡瑁,看你能坚持多久！
.24 initEmy 17,25
.23 initEmy 36,25
.25 initEmy 17,25
.33 setBattle true,false,null
.26 if isWin
.5 changeEquip add,55,24
.5 wait 0,10
.5 changeEquip add,51,24
.5 wait 0,10
.5 changeEquip add,19,24
.5 wait 0,10
.5 changeItem add,12,1
.5 wait 0,10
.5 changeMoney add,2000
.5 wait 0,10
.36 sync
.39 npcDisappear 5
.40 npcDisappear 6
.36 endSync
.41 sync
.44 npcDisappear 7
.44 npcDisappear 8
.41 endSync
.41 sync
.44 npcDisappear 9
.44 npcDisappear 10
.41 endSync
.34 showText 0,蔡瑁,吾命休矣！
.34 wait 0,10
.35 npcDisappear 4
.46 showText 0,赵云,蔡瑁已杀。
.47 move 1,144,176
.48 npcDisappear 1
.49 ctrl true
.50 complete 1
.26 endIf
.19 endIf
.16 endIf
endEvent 

event 1
type commonEvent
id -1
condition area,144,416,32,16
comment 下出口
.0 setScene 39,80,80,2,true
.1 complete 0
endEvent 

event 2
type commonEvent
id 126
condition sprite,11
comment 宝箱

.5 changeEquip add,58,24
.1 npcDisappear 11
.1 complete 1

endEvent

