﻿scene 
id 39
name 南阳城
dat map39.dat
battleBg 1
openEffect 0
closeEffect 1
enemyLevel 1
enemys null
endScene 

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

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

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

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

npc 4
name 蔡瑁
defaultPos 0
visible false
isMotion false
attrib 10,224,461,18,29,2,类容
scriptVar null
endNpc   

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

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

npc 7
name 卫兵一
defaultPos 0
visible true
isMotion false
attrib 24,192,502,20,38,2,类容
scriptVar null
endNpc   

npc 8
name 卫兵二
defaultPos 0
visible true
isMotion false
attrib 24,256,502,20,38,2,类容
scriptVar null
endNpc   

npc 9
name 卫兵三
defaultPos 0
visible true
isMotion false
attrib 24,48,166,20,38,2,类容
scriptVar null
endNpc   

npc 10
name 卫兵四
defaultPos 0
visible true
isMotion false
attrib 24,112,166,20,38,2,类容
scriptVar null
endNpc   

npc 11
name 王连
defaultPos 0
visible true
isMotion false
attrib 13,112,317,16,29,2,类容
scriptVar null
endNpc   

npc 12
name 蔡文姬
defaultPos 0
visible true
isMotion false
attrib 18,448,283,16,27,2,类容
scriptVar null
endNpc   

npc 13
name 许慈
defaultPos 0
visible true
isMotion false
attrib 28,352,122,16,26,2,类容
scriptVar null
endNpc   

npc 14
name 刘劭
defaultPos 0
visible true
isMotion true
attrib 15,176,156,16,28,2,类容
scriptVar null
endNpc   

npc 15
name 宝箱一
defaultPos 0
visible event[129]=0
isMotion false
attrib 33,32,336,16,16,0,类容
scriptVar null
endNpc   

npc 16
name 宝箱二
defaultPos 0
visible event[130]=0
isMotion false
attrib 33,0,208,16,16,0,类容
scriptVar null
endNpc   


event 0
type commonEvent
id 68
condition null
comment 一打蔡瑁

.23 ctrl false
.3 npcAppear 4,39,224,448,2
.4 npcAppear 5,39,208,432,2
.5 npcAppear 6,39,240,432,2
.5 showText 0,蔡瑁,来犯者何人？
.6 showText 0,赵云,常山赵子龙！
.7 showText 0,蔡瑁,赵云小儿，此城已被我所占，不想送死就赶快离去。
.8 showText 0,赵云,特来擒你，还不等死！
.10 initEmy 14,24
.9 initEmy 21,24
.11 initEmy 17,24
.26 setBattle true,false,null
.12 if isWin
.5 changeEquip add,3,24
.5 wait 0,10
.5 changeEquip add,7,24
.5 wait 0,10
.5 changeEquip add,39,24
.5 wait 0,10
.5 changeItem add,15,1
.5 wait 0,10
.5 changeMoney add,1800
.5 wait 0,10
.19 npcDisappear 5
.20 npcDisappear 6
.21 showText 0,蔡瑁,白马将军果然厉害，撤退撤退！
.22 npcDisappear 4
.24 ctrl true
.25 complete 1
.12 endIf

endEvent 

event 1
type commonEvent
id -1
condition area,208,480,48,16
comment 下出口
.0 setScene 70,432,272,2,true
.1 complete 0
endEvent 

event 2
type commonEvent
id -1
condition area,80,32,16,16
comment 主殿入口
.0 setScene 40,160,400,0,true
.1 complete 0
endEvent 

event 3
type commonEvent
id -1
condition area,48,352,32,16
comment 道具店
.0 setScene 41,112,304,0,true
.1 complete 0
endEvent 

event 4
type commonEvent
id -1
condition area,240,336,32,16
comment 酒馆
.0 setScene 42,112,304,0,true
.1 complete 0
endEvent 

event 5
type commonEvent
id -1
condition area,416,336,16,16
comment 武器店
.0 setScene 43,112,304,0,true
.1 complete 0
endEvent 

event 6
type commonEvent
id -1
condition area,224,64,16,16
comment 民居一
.0 setScene 44,112,304,0,true
.1 complete 0
endEvent 

event 7
type commonEvent
id -1
condition area,384,64,16,16
comment 民居二
.0 setScene 45,112,304,0,true
.1 complete 0
endEvent 

event 8
type commonEvent
id -1
condition sprite,12
comment 蔡文姬对话
.0 showText 0,蔡文姬,野外的宝箱记得去取，里面会有很不错的东西。
.1 complete 0
endEvent 

event 9
type commonEvent
id -1
condition sprite,11
comment 王连对话
.0 showText 0,王连,我的魅力果然无法被人阻挡，同城的一个美女一直在暗恋着我。
.1 complete 0
endEvent 

event 10
type commonEvent
id -1
condition sprite,13
comment 许慈对话
.0 showText 0,许慈,真受不了，我只和城里的那个男人吃过一顿饭，他逢人便说我暗恋他。
.1 complete 0
endEvent 

event 11
type commonEvent
id -1
condition sprite,14
comment 刘劭对话
.0 showText 0,刘劭,你知道吗？百草林中有一个传说中的猛兽，如果你不是身怀绝技还是不要惹他的好。
.1 complete 0
endEvent 

event 12
type commonEvent
id 129
condition sprite,15
comment 宝箱一

.6 changeItem add,1,1
.5 wait 0,10
.6 changeItem add,5,1
.1 npcDisappear 15
.3 complete 1

endEvent 

event 13
type commonEvent
id 130
condition sprite,16
comment 宝箱二
.6 changeItem add,16,1
.1 npcDisappear 16
.3 complete 1
endEvent 

