﻿scene 
id 22
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,392,16,24,0,类容
scriptVar null
endNpc   

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

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

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

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

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

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

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

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

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

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

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

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

event 0
type commonEvent
id 59
condition sprite,3
comment 江夏西营关闭水闸
.1 ctrl false
.0 showText 0,刘军都尉,我乃西营都尉，想开闸先过我这关。
.2 initEmy 8,22
.3 initEmy 9,24
.4 initEmy 8,22
.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,32,640,2,true
.1 complete 0endEvent 

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对话
.5 if event[39]=1
.11 showText 0,张未捡,将军好呀，需要什么尽管拿。
.13 showText 0,夏侯惇,此话当真？我不客气了！
.14 showText 0,张未捡,最好能给点本钱回家过年。
.12 shop 1
.13 complete 0
.5 else
.4 set event[39],1
.1 showText 0,夏侯惇,居然还有个刘军在这，呀呀呀呀，纳命来！
.2 showText 0,张未捡,将军手下留情啊,我是小张呀。
.3 showText 0,夏侯惇,你怎么一身刘备军装备？
.0 showText 0,张未捡,呵呵，刚刘军慌忙撤退时，落下了不少好东西，不知各位可有兴趣？
.9 shop 1
.10 complete 0
.5 endIf
endEvent 

event 5
type commonEvent
id -1
condition sprite,10
comment 与卫士2对话
.0 showText 0,刘士兵,多走些路说不定可以发现好东西呦！
.1 complete 0
endEvent 

event 6
type commonEvent
id -1
condition sprite,11,12
comment 与士兵1士兵2对话
.0 showText 0,门卫,战斗时先杀掉弱的减少敌人数量以降低敌人士气不失为一条良策啊！
.1 complete 0
endEvent 

