﻿scene 
id 23
name 江夏南营
dat map21.dat
battleBg 0
openEffect 0
closeEffect 1
enemyLevel 1
enemys null
endScene 

npc 0
name 夏侯惇
defaultPos 0
visible false
isMotion false
attrib 0,208,344,16,24,0,类容
scriptVar null
endNpc   

npc 1
name 郭嘉
defaultPos 0
visible false
isMotion false
attrib 1,224,347,16,27,0,类容
scriptVar null
endNpc   

npc 2
name 张辽
defaultPos 0
visible false
isMotion false
attrib 2,240,349,18,29,0,类容
scriptVar null
endNpc   

npc 3
name 刘军都尉
defaultPos 0
visible event[60]=0
isMotion false
attrib 19,240,122,16,26,2,类容
scriptVar null
endNpc   

npc 4
name 刘军卫兵1
defaultPos 0
visible event[60]=0
isMotion false
attrib 19,192,314,16,26,2,类容
scriptVar null
endNpc   

npc 5
name 刘军卫兵2
defaultPos 0
visible event[60]=0
isMotion false
attrib 19,272,314,16,26,2,类容
scriptVar null
endNpc   

npc 6
name 刘军卫兵3
defaultPos 0
visible event[60]=0
isMotion false
attrib 19,96,234,16,26,2,类容
scriptVar null
endNpc   

npc 7
name 刘军卫兵4
defaultPos 0
visible event[60]=0
isMotion false
attrib 19,400,250,16,26,2,类容
scriptVar null
endNpc   

npc 8
name 曹军都尉
defaultPos 0
visible event[60]=1
isMotion false
attrib 18,240,122,16,26,2,类容
scriptVar null
endNpc   

npc 9
name 曹军卫士1
defaultPos 0
visible event[60]=1
isMotion false
attrib 18,96,234,16,26,2,类容
scriptVar null
endNpc   

npc 10
name 曹军卫士2
defaultPos 0
visible event[60]=1
isMotion false
attrib 18,400,250,16,26,2,类容
scriptVar null
endNpc   

npc 11
name 曹军卫兵1
defaultPos 0
visible event[60]=1
isMotion false
attrib 23,192,326,20,38,2,类容
scriptVar null
endNpc   

npc 12
name 曹军卫兵2
defaultPos 0
visible event[60]=1
isMotion false
attrib 23,272,326,20,38,2,类容
scriptVar null
endNpc   

npc 13
name 宝箱1
defaultPos 0
visible event[99]=0
isMotion false
attrib 35,16,80,16,16,0,类容
scriptVar null
endNpc

event 0
type commonEvent
id 60
condition sprite,3
comment 江夏南营关闭水闸
.1 ctrl false
.0 showText 0,刘军都尉,我乃南营都尉，想开闸先过我这关。
.2 initEmy 8,23
.3 initEmy 9,24
.4 initEmy 7,21
.5 setBattle true,false,null
.6 if isWin
.9 showText 0,刘军都尉,南营已失，撤退！
.10 npcDisappear 3
.14 npcDisappear 4
.15 npcDisappear 5
.16 npcDisappear 6
.17 npcDisappear 7
.12 wait 0,10
.11 showText 0,夏侯惇,南营水闸已打开。
.14 ctrl true
.13 complete 1
.6 endIf
endEvent 

event 1
type commonEvent
id -1
condition area,192,336,96,48
comment 禁止入内
.0 if event[57]=0
.6 ctrl false
.3 showText 0,刘军卫兵,水闸重地，不得入内！
.4 npcDisappear 0
.5 npcAppear 0,21,224,352,2
.7 ctrl true
.6 complete 0
.0 endIf
endEvent 

event 2
type commonEvent
id -1
condition area,208,496,64,16
comment 下出口
.0 setScene 25,672,688,0,true
.1 complete 0
endEvent 

event 3
type commonEvent
id -1
condition sprite,8
comment 与都尉对话
.0 showText 0,都尉,真是天助我军，刘军沿江军营顺利拿下，柴桑现如囊中取物，哈哈……
.1 complete 0
endEvent 

event 4
type commonEvent
id -1
condition sprite,9
comment 与卫士1对话
.6 if event[42]=1
.11 showText 0,关恭,关老爷，念在同姓的份上，保佑我千万不要让我碰到关羽！
.12 complete 0
.6 else
.11 set event[42],1
.1 showText 0,夏侯敦,小关，你在拜什么呢？
.2 showText 0,小关,像咱们当差的天天在外跑，关老爷是一定要拜的。
.0 showText 0,关恭,传闻西蜀关羽的大刀吹毛断发，光重量就能把人压扁。
.0 showText 0,关恭,我再拜拜，祈祷千万不要让我碰到他。
.4 showText 0,夏侯敦,………………
.5 complete 0
.6 endIf
endEvent 

event 5
type commonEvent
id -1
condition sprite,10
comment 与卫士2对话
.5 if event[43]=1
.10 showText 0,李士兵,夏侯将军你真是太好了，全军营的人都应该崇拜你！
.11 complete 0
.5 else
.9 set event[43],1
.0 showText 0,李士兵,夏侯将军，我最崇拜你了！
.1 showText 0,夏侯敦,哈哈……是嘛？！
.2 showText 0,李士兵,人家崇拜都有奖励的，我想夏侯将军奖励更加丰富吧？
.3 showText 0,夏侯敦,哦……那当然！他们怎能与我比，来！这100两拿去花吧！（破财了！）
.11 changeMoney reduce,100
.2 showText 0,null,金钱减少100。
.4 complete 0
.5 endIf
endEvent 

event 6
type commonEvent
id -1
condition sprite,11,12
comment 与士兵1士兵2对话
.0 showText 0,文茜,兄弟，今天我杀了15个，你如何？
.1 showText 0,文东,我今天救了15个。
.2 showText 0,文茜,…………
.3 complete 0
endEvent 

event 7
type commonEvent
id 99
condition sprite,13
comment 宝箱1
.0 changeMoney add,250
.1 wait 0,10
.17 npcDisappear 13
.2 complete 1
endEvent
