﻿scene 
id 14
name 新野城
dat map14.dat
battleBg 1
openEffect 0
closeEffect 1
enemyLevel 10
enemys 8,10,16
endScene 

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

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

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

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

npc 4
name 曹仁
defaultPos 0
visible false
isMotion false
attrib 8,352,429,18,29,0,类容
scriptVar null
endNpc   

npc 5
name 曹兵1
defaultPos 0
visible false
isMotion false
attrib 17,320,442,16,26,0,类容
scriptVar null
endNpc   

npc 6
name 曹兵2
defaultPos 0
visible false
isMotion false
attrib 17,384,442,16,26,0,类容
scriptVar null
endNpc   

npc 7
name 曹兵3
defaultPos 0
visible false
isMotion false
attrib 17,336,458,16,26,0,类容
scriptVar null
endNpc   

npc 8
name 曹兵4
defaultPos 0
visible false
isMotion false
attrib 17,368,458,16,26,0,类容
scriptVar null
endNpc   

npc 9
name 诸葛亮
defaultPos 0
visible false
isMotion false
attrib 5,352,364,16,28,2,类容
scriptVar null
endNpc   

npc 10
name 火1
defaultPos 0
visible false
isMotion false
attrib 34,0,304,28,32,0,类容
scriptVar null
endNpc   

npc 11
name 火2
defaultPos 0
visible false
isMotion false
attrib 34,192,368,28,32,0,类容
scriptVar null
endNpc   

npc 12
name 火3
defaultPos 0
visible false
isMotion false
attrib 34,608,352,28,32,0,类容
scriptVar null
endNpc   

npc 13
name 火4
defaultPos 0
visible false
isMotion false
attrib 34,304,464,28,32,0,类容
scriptVar null
endNpc   

npc 14
name 火5
defaultPos 0
visible false
isMotion false
attrib 34,384,464,28,32,0,类容
scriptVar null
endNpc   

npc 15
name 八哥
defaultPos 0
visible true
isMotion false
attrib 25,16,44,16,28,1,类容
scriptVar null
endNpc   

npc 16
name 宝箱
defaultPos 0
visible event[106]=0
isMotion false
attrib 33,112,576,16,16,0,类容
scriptVar null
endNpc   

npc 17
name 宝箱
defaultPos 0
visible event[107]=1
isMotion false
attrib 33,624,544,16,16,0,类容
scriptVar null
endNpc   

event 0
type commonEvent
id 5
condition area,0,272,48,32
comment 放火处1
.0 if event[4]=1 
.9 showText 0,赵云,这处已经放好，赶快去找下一处吧。
.9 complete 1
.11 endIf
.11 endIf
endEvent 

event 1
type commonEvent
id 6
condition area,208,368,32,32
comment 放火处2
.0 if event[5]=1
.9 showText 0,赵云,这处已经放好，赶快去找下一处吧。
.10 complete 1
.11 endIf
.11 endIf
endEvent 

event 2
type commonEvent
id 7
condition area,608,352,32,16
comment 放火处3
.0 if event[5]=1
.0 if event[6]=1
.4 showText 0,赵云,都放置好了，回去复命吧。
.5 set event[8]:交新野放火任务,1
.29 taskInfo
.7 complete 1
.11 endIf
.11 endIf
.11 endIf
endEvent 

event 3
type commonEvent
id 10
condition area,320,240,80,16
comment 新野曹仁战
.0 if event[9]=1
.3 ctrl false
.5 npcAppear 1,14,320,368,2
.6 npcAppear 2,14,368,368,2
.7 npcAppear 9,14,352,368,2
.43 npcAppear 4,14,352,416,0
.44 npcAppear 5,14,320,432,0
.45 npcAppear 6,14,336,448,0
.46 npcAppear 7,14,368,448,0
.47 npcAppear 8,14,384,432,0
.48 move 0,336,240
.49 move 0,336,368
.8 showText 0,曹仁,哈哈，这不是诸葛匹夫吗，看你往哪儿逃。
.9 showText 0,诸葛亮,哈哈，这句话我送给你。
.10 npcAppear 10,14,0,288,0
.11 setCamera 10
.12 wait 10,15
.13 npcAppear 11,14,192,352,0
.14 setCamera 11
.15 wait 11,15
.16 npcAppear 12,14,608,336,0
.17 setCamera 12
.18 wait 12,15
.19 npcAppear 13,14,304,448,0
.20 npcAppear 14,14,384,448,0
.21 setCamera 0
.22 wait 4,15
.23 sync
.26 {
.29 npcDisappear 5
.30 npcDisappear 6
.31 npcDisappear 7
.32 npcDisappear 8
.26 }
.23 endSync
.31 showText 0,曹仁,啊！不好，中计了！
.32 initEmy 22,10
.33 setBattle true,false,null
.34 if isWin
.5 changeEquip add,42,10
.5 wait 0,10
.5 changeEquip add,46,10
.5 wait 0,10
.5 changeEquip add,10,10
.5 wait 0,10
.5 changeEquip add,25,10
.5 wait 0,10
.5 changeItem add,13,1
.5 wait 0,10
.5 changeItem add,22,1
.5 wait 0,10
.5 changeMoney add,600
.5 wait 0,10
.50 showText 0,曹仁,诸葛匹夫，下次你就没这么走运了！
.51 move 4,352,560
.40 npcDisappear 4
.37 showText 0,诸葛亮,事不宜迟，曹操大军会立即赶到，新野已经被烧，我们赶紧撤往襄阳与主公汇合。
.54 move 1,336,368
.37 npcDisappear 1
.52 move 2,336,368
.38 npcDisappear 2
.52 move 9,336,368
.39 npcDisappear 9
.41 ctrl true
.29 taskInfo
.42 complete 1
.34 endIf
.0 endIf

endEvent 

event 4
type commonEvent
id -1
condition area,352,48,16,16
comment 新野主城入口
.2 if event[9]=1
.7 showText 0,诸葛亮,全军撤往南门。
.0 moveDir 0,1,80
.8 complete 0
.2 else
.0 setScene 15,160,384,0,true
.1 complete 0
.2 endIf
endEvent 

event 5
type commonEvent
id -1
condition area,320,640,80,16
comment 新野城出口
.2 if event[10]=1
.0 setScene 24,288,176,2,true
.1 complete 0
.2 else
.7 showText 0,赵云,还未完成任务。
.0 moveDir 0,0,608
.8 complete 0
.2 endIf
endEvent 

event 6
type commonEvent
id -1
condition area,128,416,32,16
comment 新野城酒馆入口
.0 setScene 17,112,288,0,true
.1 complete 0
endEvent 

event 7
type commonEvent
id -1
condition area,480,448,32,16
comment 新野城道具屋入口
.0 setScene 16,112,288,0,true
.1 complete 0
endEvent 

event 8
type commonEvent
id -1
condition area,528,384,32,16
comment 新野城武具屋入口
.2 setScene 18,112,304,0,true
.1 complete 0
endEvent 

event 9
type commonEvent
id -1
condition area,16,400,16,16
comment 新野城民居1入口
.0 setScene 19,112,288,0,true
.1 complete 0
endEvent 

event 10
type commonEvent
id -1
condition area,48,544,16,16
comment 新野城民居2入口
.0 setScene 20,112,288,0,true
.1 complete 0
endEvent 

event 11
type commonEvent
id -1
condition area,256,560,16,16
comment 新野城民居3入口
.0 setScene 21,112,288,0,true
.1 complete 0
endEvent 

event 12
type commonEvent
id -1
condition area,432,544,16,16
comment 新野城民居4入口
.0 setScene 22,112,288,0,true
.1 complete 0
endEvent 

event 13
type commonEvent
id -1
condition area,576,528,16,16
comment 新野城民居5入口
.0 setScene 23,112,288,0,true
.1 complete 0
endEvent 

event 14
type commonEvent
id -1
condition sprite,15
comment 八哥对话
.0 showText 0,八哥,熬夜真辛苦，既然你能找到这里，说明你是有心人，来，给你点东西。
.1 changeMoney add,1
.2 complete 0
endEvent 

event 15
type commonEvent
id 106
condition sprite,16
comment 新野城宝箱一
.0 changeMoney add,150
.1 npcDisappear 16
.2 complete 1
endEvent 

event 16
type commonEvent
id 107
condition sprite,17
comment 新野城宝箱二
.0 changeItem add,5,2
.1 npcDisappear 17
.2 complete 1
endEvent 

