scene
id 11
name 考场
dat map13
weather 0
battleBg 0
BGM 6
enemyLevel 1
enemys null
endScene
npc
name 苏乞儿
defaultPos 0
visible false
isMotion false
isPass false
attrib 1,0,51,19,35,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 苏灿
defaultPos 0
visible false
isMotion false
isPass false
attrib 0,16,51,19,35,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 绮莲
defaultPos 0
visible false
isMotion false
isPass false
attrib 2,32,51,19,35,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 如霜
defaultPos 0
visible false
isMotion false
isPass false
attrib 3,48,51,19,35,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 如嫣
defaultPos 0
visible false
isMotion false
isPass false
attrib 4,64,51,19,35,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 懿德
defaultPos 0
visible false
isMotion false
isPass false
attrib 5,80,51,19,35,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 萧玲
defaultPos 0
visible false
isMotion false
isPass false
attrib 6,96,51,19,35,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 武官
defaultPos 0
visible true
isMotion false
isPass false
attrib 19,96,115,19,35,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 文官
defaultPos 0
visible true
isMotion false
isPass false
attrib 19,256,115,19,35,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 侍卫甲
defaultPos 0
visible true
isMotion false
isPass false
attrib 21,352,228,21,36,3,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 侍卫乙
defaultPos 0
visible true
isMotion false
isPass false
attrib 21,0,228,21,36,1,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 大内侍卫1
defaultPos 0
visible true
isMotion false
isPass false
attrib 21,160,84,21,36,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 大内侍卫2
defaultPos 0
visible true
isMotion false
isPass false
attrib 21,192,84,21,36,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 郑千里
defaultPos 0
visible false
isMotion false
isPass false
attrib 33,96,180,19,36,0,类容
scriptVar null
speed 0
frequency 0
endNpc
event
type commonEvent
id 22
condition null
keyOK false
comment 考试迟到
. if event[21]=1
. move 1,176,192
. move 1,256,192
. setCamera 8
. setFace 8,3
. showText 0,0,文官,你也是来考试的吗，迟到者不……
. move 1,256,144
. showText 2,1,苏灿,现在可恶的人真多，看绝招。
. showEffect 1,256,96,0
. showText 0,0,文官,这位大人，请让我来为您说明下考试过程。
. showText 0,0,文官,考试分三个阶段，首先是战略笔试，其次是考生比武，最后是御前面试。预祝大人高中榜首！
. showText 2,1,苏灿,简单之至，多谢。
. setCamera 1
. move 1,304,144
. move 1,304,64
. showGame false
. setScene 13,112,176,0,true
. complete 1
. endIf
endEvent
event
type commonEvent
id 24
condition null
keyOK false
comment 比武前夕
. if event[23]=1
. ctrl false
. showGame true
. move 1,304,176
. move 1,96,176
. move 1,96,144
. showText 2,1,苏灿,喂，笔试完了，这边是比武考试的地方吗。
. showText 0,0,武官,正是，苏大人，下面要进行的就是武状元的武力考试。
. showText 0,0,武官,考试规则非常简单，领取装备从左边入口进场，干掉挑战的对手即可。
. showText 2,1,苏灿,好，那我的装备呢？我要进场啦。
. showText 0,0,武官,大人，今次的考生个个凶神恶煞，只凭这样的装备恐怕。
. showText 0,0,武官,大人，我们已经为您准备了御用神装，请拿好。
. changeEquip add,6,1
. changeEquip add,40,1
. changeEquip add,57,1
. changeEquip add,58,1
. showText 2,1,苏灿,哦，不愧是御用装备，不一样就是不一样。
. showText 0,0,武官,大人，今次的考生个个凶神恶煞，进去前别忘了装备。
. delLog 07
. addLog 35
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id 31
condition null
keyOK false
comment 考取状元
. if event[27]=1
. ctrl false
. npcAppear 13,11,96,160,0
. move 1,48,192
. move 1,96,192
. setDir 1,up
. showText 0,0,郑千里,怎么样，钱没白花吧。
. setFace 1,1
. showText 2,1,苏灿,多谢。日后发达了我还有重谢。
. showText 0,0,郑千里,皇帝要亲自接见今科状元，后面进去就是行宫。
. showText 2,1,苏灿,你放心吧，郑大人，我去了。
. move 1,176,192
. move 1,176,80
. sync
. {
. setFace 11,0
. move 11,144,64
. setDir 11,down
. }
. {
. setFace 12,0
. move 12,208,64
. setDir 12,down
. }
. endSync
. showText 0,0,大内侍卫,原来是今科武状元，快请。
. move 1,176,16
. setScene 14,144,368,0,true
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition area,160,352,48,16
keyOK false
comment 皇宫---北京北
. setScene 2,208,144,2,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,32,64,48,16
keyOK false
comment 皇宫---演武场
. if event[24]=1
. setScene 12,112,272,0,true
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,288,64,48,16
keyOK false
comment 皇宫---笔砚馆
. setScene 13,112,336,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,160,16,48,16
keyOK false
comment 皇宫---大殿
. setScene 14,144,368,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition nextArea,256,144,48,64
keyOK true
comment 古文2
. if event[110]=0
. showText 0,0,文官,我精通古文，如果你有古文碎片我可以帮你拼凑成原著。
. if taskItem[6]>0
. showChoice true,是否拼凑古书。,是,否
. if choice=0
. changeEquip add,23,1
. changeTaskItem reduce,6,1
. set event[110]:古文2,1
. complete 0
. endIf
. complete 0
. else
. showText 0,0,文官,等你有足够古文碎片再来找我。
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition nextArea,256,144,48,64
keyOK true
comment 古文4
. if event[111]=0&event[110]=1
. showText 0,0,文官,想要更好的原著就需要更多的古文碎片，这次需要2个。
. if taskItem[6]>1
. showChoice true,是否拼凑古书。,是,否
. if choice=0
. changeEquip add,24,1
. changeTaskItem reduce,6,2
. set event[111]:古文4,1
. complete 0
. endIf
. complete 0
. else
. showText 0,0,文官,等你有足够古文碎片再来找我。
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition nextArea,256,144,48,64
keyOK true
comment 古文8
. if event[112]=0&event[111]=1
. showText 0,0,文官,你知道3个古文碎片等于什么吗，绝对不会让你失望的。
. if taskItem[6]>2
. showChoice true,是否拼凑古书。,是,否
. if choice=0
. changeEquip add,25,1
. changeTaskItem reduce,6,3
. set event[112]:古文8,1
. complete 0
. endIf
. complete 0
. else
. showText 0,0,文官,等你有足够古文碎片再来找我。
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition nextArea,256,144,48,64
keyOK true
comment 古文16
. if event[113]=0&event[112]=1
. showText 0,0,文官,4个碎片可以换一本奇书。它是我国文学史上的瑰宝。
. if taskItem[6]>3
. showChoice true,是否拼凑古书。,是,否
. if choice=0
. changeEquip add,26,1
. changeTaskItem reduce,6,4
. set event[113]:古文16,1
. complete 0
. endIf
. complete 0
. else
. showText 0,0,文官,等你有足够古文碎片再来找我。
. complete 0
. endIf
. else
. showText 0,0,文官,我已经没有东西和你交换了。
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition nextArea,64,144,48,64
keyOK true
comment 挑战竞技场
. if event[36]=1
. showText 0,0,武官,欢迎光临比武场，进入比武场连续赢得4场，可以获得各种奖励。
. showChoice true,要挑战吗？,挑战,放弃
. if choice=0
. if event[114]=0
. showText 0,0,武官,这是第一回合。
. set temp,30
. endIf
. if event[114]=1
. showText 0,0,武官,这是第二回合。
. set temp,41
. endIf
. if event[114]=2
. showText 0,0,武官,这是第三回合。
. set temp,50
. endIf
. if event[114]=3
. showText 0,0,武官,这是第四回合。
. set temp,62
. endIf
. loop temp>29
. initEmy temp,1
. initEmy temp,1
. initEmy temp,1
. setBattle true,false,null
. if isWin
. set temp,temp+2
. if temp=38
. showText 0,0,武官,恭喜你过关，这是给你的一点奖励。
. changeItem add,32,1
. set temp,41
. set event[114],1
. showChoice true,第一回合结束，是不是要继续挑战？,挑战,退出
. if choice=1
. showText 0,0,武官,呸！胆小鬼。
. set temp,28
. complete 0
. endIf
. complete 0
. endIf
. if temp=49
. showText 0,0,武官,恭喜你过关，这是给你的一点奖励。
. changeItem add,36,1
. set temp,50
. set event[114],2
. showChoice true,第二回合结束，是不是要继续挑战？,挑战,退出
. if choice=1
. showText 0,0,武官,呸！胆小鬼。
. set temp,28
. complete 0
. endIf
. complete 0
. endIf
. if temp=58
. showText 0,0,武官,恭喜你过关，这是给你的一点奖励。
. changeItem add,33,1
. set temp,62
. set event[114],3
. showChoice true,第三回合结束，是不是要继续挑战？,挑战,退出
. if choice=1
. showText 0,0,武官,呸！胆小鬼。
. set temp,28
. complete 0
. endIf
. complete 0
. endIf
. if temp>68
. showText 0,0,武官,恭喜你过关，这是给你的一点奖励。
. changeMoney add,1500
. set temp,62
. showChoice true,已经全部结束，是不是还没打够？,继续,退出
. if choice=1
. showText 0,0,武官,你已经无敌了，早就该退出了。
. set temp,28
. complete 0
. endIf
. complete 0
. endIf
. else
. showText 0,0,武官,装备太差了，朋友你有没有发送过短信。
. set temp,28
. complete 0
. endIf
. endLoop
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,9,10
keyOK true
comment 侍卫
. showText 0,0,侍卫,对不起，我们上班时间是不可以聊天的。
. complete 0
endEvent
event
type commonEvent
id -1
condition area,144,80,80,16
keyOK false
comment 大内侍卫
. if event[36]=0
. showText 0,0,大内侍卫,看见我们站岗你也想通过吗？秀逗啊。
. move 1,176,80
. move 1,176,112
. else
. showText 0,0,大内侍卫,我日，乞丐！你是怎么混进来的……
. move 0,176,80
. move 0,176,112
. endIf
. complete 0
endEvent
event
type commonEvent
id -1
condition area,144,336,80,16
keyOK false
comment 禁止
. if event[24]=1&event[33]=0
. showText 0,0,侍卫,考试期间禁止外出，以防作弊。
. move 1,176,288
. complete 0
. endIf
endEvent
