﻿scene 
id 12
name 景山洞3层
dat map12.dat
battleBg 0
openEffect 0
closeEffect 1
enemyLevel 14
enemys 0,1,2,3,4
endScene 

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

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

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

npc 3
name 赤狼
defaultPos 0
visible event[15]=0
isMotion false
attrib 30,288,430,30,30,2,类容
scriptVar null
endNpc   

npc 4
name 宝箱1
defaultPos 0
visible event[85]=0
isMotion false
attrib 35,352,208,16,16,0,类容
scriptVar null
endNpc   

npc 5
name 宝箱2
defaultPos 0
visible event[86]=0
isMotion false
attrib 35,528,704,16,16,0,类容
scriptVar null
endNpc   

npc 6
name 宝箱3
defaultPos 0
visible event[87]=0
isMotion false
attrib 35,304,368,16,16,0,类容
scriptVar null
endNpc   


event 0
type commonEvent
id 15
condition area,288,480,32,16
comment 景山洞3与赤狼战斗
.0 ctrl false
.1 move 0,288,480
.2 move 0,288,448
.3 npcAppear 1,12,304,448,0
.4 setDir 1,up
.5 showText 0,夏侯惇,哇……居然此洞藏有如此巨大的红狼！
.6 showText 0,赤狼,吼……吼……
.13 setDir 0,right
.7 showText 0,夏侯惇,军师，看样子我们很不受欢迎呀。哈哈……也难怪。
.14 setDir 1,left
.8 showText 0,郭嘉,呵呵……
.9 showText 0,郭嘉,此乃灵兽，实力不容小视，将军可要小心点啊。
.11 showText 0,赤狼,吼……吼……
.11 wait 0,10
.15 setDir 0,up
.16 setDir 1,up
.12 showText 0,夏侯惇,恩。
.17 wait 0,10
.18 showText 0,郭嘉,那咱们上吧。
.19 showText 0,众人,好。
.20 initEmy 1,14
.20 initEmy 12,17
.20 initEmy 1,15
.21 setBattle true,false,null
.22 if isWin
.33 npcDisappear 3
.28 wait 0,10
.25 showText 0,null,获得狼皮
.28 setDir 0,right
.26 showText 0,夏侯惇,想不到这狼如此厉害，险些丢了性命！不过这可真是一张漂亮的皮。
.29 setDir 1,left
.27 showText 0,郭嘉,呵呵，如此大的狼本为稀有，况且又是只赤狼。
.30 wait 1,10
.31 showText 0,郭嘉,我们赶紧回去吧，不能耽误正事。
.32 showText 0,夏侯惇,好的。
.33 npcDisappear 1
.37 changeEquip add,50,14
.40 wait 0,10
.39 changeItem add,4,4
.34 wait 1,10
.41 changeMoney add,1000
.42 wait 0,10
.35 ctrl true
.36 complete 1
.22 endIf
endEvent 

event 1
type commonEvent
id -1
condition area,304,16,32,16
comment 景山洞3-----景山洞2
.0 setScene 10,464,352,2,true
.1 complete 0
endEvent 

event 2
type commonEvent
id 85
condition sprite,4
comment 宝箱1
.0 changeItem add,13,2
.2 wait 0,10
.1 changeMoney add,200
.3 wait 0,10
.4 npcDisappear 4
.5 complete 1
endEvent 

event 3
type commonEvent
id 86
condition sprite,5
comment 宝箱2
.0 changeEquip add,1,10
.2 wait 0,10
.1 changeMoney add,100
.3 wait 0,10
.4 npcDisappear 5
.5 complete 1
endEvent 

event 4
type commonEvent
id 87
condition sprite,6
comment 宝箱3
.0 changeEquip add,53,9
.4 wait 0,10
.1 changeEquip add,57,9
.5 wait 0,10
.2 changeEquip add,33,9
.6 wait 0,10
.3 changeMoney add,200
.7 wait 0,10
.8 npcDisappear 6
.9 complete 1
endEvent 
