51_AstralParty/project/floors/Tutorial1.js
2025-09-11 22:30:07 +08:00

769 lines
27 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

main.floors.Tutorial1=
{
"floorId": "Tutorial1",
"title": "新手教程",
"name": "第 1 层",
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": false,
"images": [],
"ratio": 5,
"defaultGround": "ground",
"bgm": "Tutorial.mp3",
"firstArrive": [
{
"type": "setText",
"background": "winskin.png"
},
{
"type": "playSound",
"name": "Bond_Mimi.mp3"
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]初次见面,我是米米~虽说是这座塔的看板娘,实际上只是来打工的呢~",
"pos": [
122,
100,
230
]
},
{
"type": "stopSound"
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]你就是新来到这座塔的勇者大人……对吧?在正式接触这座塔之前,就由我来为你介绍一下这里的基本规则吧!",
"pos": [
122,
80,
290
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]不过你站的太远了,有点不太方便说话呢……请你点击我,来和我进行接下来的对话吧~",
"pos": [
122,
110,
260
]
}
],
"eachArrive": [],
"parallelDo": "",
"events": {
"3,8": [
{
"type": "if",
"condition": "(!switch:A)",
"true": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]做得不错!以后在塔中遇见我这样的人,也可以积极的像这样去和他们搭话哦。",
"pos": [
122,
100,
230
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]说不定会给你一些有用的信息呢~",
"pos": [
122,
130,
230
]
},
"\t[hero]\b[hero]你怎么在这里?",
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]这个,我也不太清楚呢……不过,想要从这里出去,必须要找到嘎呜才行,因为只有嘎呜能操纵塔里的那些怪物",
"pos": [
122,
80,
290
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]但是听说她最近又失控了,所以塔里变得不太安全……您出现在这里,想必是命运的安排吧!",
"pos": [
122,
105,
290
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]既然如此,身为指引者的我,也要教会你防身的本领才行。",
"pos": [
122,
120,
230
]
},
"\t[hero]\b[hero]那么首先,我们怎么出去呢?",
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]这个给你",
"pos": [
122,
150,
230
]
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "1"
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]这把钥匙可以用于打开一扇黄色的门,其他颜色的钥匙也是同理",
"pos": [
122,
130,
290
]
},
{
"type": "if",
"condition": "core.domStyle.isVertical",
"true": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]钥匙数量会显示在正下方,可以随时查看",
"pos": [
122,
130,
200
]
}
],
"false": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]钥匙数量会显示在右侧,可以随时查看",
"pos": [
122,
130,
200
]
}
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]现在从这里开门出去吧,我随后跟上",
"pos": [
122,
130,
230
]
},
{
"type": "setValue",
"name": "switch:A",
"value": "true"
}
]
}
],
"1,1": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]勇者大人快去击败怪物吧~",
"pos": [
122,
155,
230
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]只需要点击怪物就可以对其发起战斗了",
"pos": [
122,
135,
230
]
}
]
},
"5,5": {
"trigger": null,
"enable": false,
"noPass": null,
"displayDamage": true,
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": [
{
"type": "if",
"condition": "(!flag:Mimi)",
"true": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]寻找不同颜色的墙打开暗门,随后拿取红宝石",
"pos": [
122,
135,
270
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]之后再击败两个红色史莱姆吧",
"pos": [
122,
155,
270
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]如果不小心卡关了可以点右下角的\\i[T371](快捷键A)撤销操作",
"pos": [
122,
135,
270
]
}
],
"false": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]思考一下如何加点然后完成新手教程吧",
"pos": [
122,
135,
270
]
},
{
"type": "if",
"condition": "core.domStyle.isVertical",
"true": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]不确定要如何加点时可以点开左下角的\\i[book]查看",
"pos": [
122,
135,
270
]
}
],
"false": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]不确定要如何加点时可以点开左侧的\\i[book]查看",
"pos": [
122,
135,
270
]
}
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]别忘了运用\\i[T371]\\i[save]\\i[load]来撤销和存读档",
"pos": [
122,
135,
270
]
},
{
"type": "confirm",
"text": "需要提示吗?",
"yes": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]提升4次防御即可让怪物无法打穿你的防御进而达成无伤",
"pos": [
122,
135,
270
]
}
],
"no": []
}
]
}
]
},
"10,1": [
{
"type": "openShop",
"id": "shop1",
"open": true
}
]
},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {
"6,7": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]真不愧是勇者大人",
"pos": [
122,
155,
270
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]击败蓝门后面的金色史莱姆就顺利过关啦",
"pos": [
122,
135,
270
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]不过金色史莱姆的伤害似乎很高呢",
"pos": [
122,
135,
200
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]旁边有颗蓝色宝石可以提升你的防御力",
"pos": [
122,
135,
200
]
},
{
"type": "setValue",
"name": "flag:Mimi",
"value": "true"
}
],
"6,11": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]做得不错!你已经学会了在这座塔里探索时所需的、最基本的规则了",
"pos": [
122,
135,
280
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]如若还有困惑,你还可以在主页面时点击“新手教学”来重温这次教学哦~",
"pos": [
122,
115,
280
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]后面的路就要靠你自己去探索啦?要加油哦,真希望还能有和你再次合作的机会~",
"pos": [
122,
115,
280
]
},
{
"type": "restart"
}
]
},
"afterGetItem": {
"7,9": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]怪物的伤害减轻了一点,但还不够呢",
"pos": [
122,
135,
200
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]拿上旁边的红钥匙,去刚刚获得红宝石的地方开门进商店吧~",
"pos": [
122,
135,
280
]
}
]
},
"afterOpenDoor": {
"1,3": [
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]呼……赶上了",
"pos": [
122,
155,
230
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]勇者大人,给您这个",
"pos": [
122,
155,
230
]
},
{
"type": "setValue",
"name": "item:book",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:fly",
"operator": "+=",
"value": "1"
},
"\t[hero]\b[hero]诶,这东西怎么到你这了",
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]啊拉?这是我在打工路上捡到的",
"pos": [
122,
155,
290
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]这东西在勇者大人的世界也有吗?",
"pos": [
122,
155,
290
]
},
"\t[hero]\b[hero]嗯,这玩意是怪物手册,用于查看怪物信息",
"\t[hero]\b[hero]持有后就可以看见怪物造成的伤害,使用可以查看大部分信息,点击单个怪物可以查看详细信息",
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]原来如此",
"pos": [
122,
155,
100
]
},
"\t[hero]\b[hero]另一个是楼层传送器,可以记录我到达过的地方。用于快速移动",
{
"type": "show",
"loc": [
[
1,
1
]
]
},
{
"type": "hide",
"loc": [
[
3,
8
]
],
"remove": true
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]看,那里有一只史莱姆",
"pos": [
122,
155,
200
]
},
"\t[hero]\b[hero]嗯伤害只有52嘛那打起来还是轻轻松松的",
"\t[hero]\b[hero]左上角显示了我的属性,依次为\\i[hp]生命(1000)、\\i[atk]攻击(9)、\\i[def]防御(5)、\\i[money]金币数?(0)……后面那俩是啥?",
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]\\i[money]那是星币啦,后面那俩分别是治愈和星光,暂时用不上啦",
"pos": [
122,
135,
270
]
},
{
"type": "callBook"
},
"\t[hero]\b[hero]绿色史莱姆有35生命、18攻击、1防御",
"\t[hero]\b[hero]我每次攻击绿色史莱姆会造成9\\i[atk]-1(绿色史莱姆的防御)=8点伤害一共需要5个回合击败它",
"\t[hero]\b[hero]而绿色史莱姆则会攻击我4个回合造成18(绿色史莱姆的攻击)-5\\i[def]=13点伤害",
"\t[hero]\b[hero]而我有\\i[hp]1000在这场战斗后还剩下1000-13*4=948",
"\t[hero]\b[hero]所以这史莱姆对我来说小菜一碟,在这等我"
],
"4,2": [
"\t[hero]\b[hero]下一个……啊?你谁",
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]啊嘞?勇者大人您当前的生命值不足以支撑下一场战斗呢",
"pos": [
122,
135,
290
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]不过这个怪物附近好像有血瓶",
"pos": [
122,
155,
260
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]捡起后可以立马恢复生命值",
"pos": [
122,
155,
240
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]当前的属性会显示在左上角,可以随时查看",
"pos": [
122,
130,
200
]
}
],
"6,3": [
{
"type": "hide",
"loc": [
[
1,
1
]
],
"remove": true
},
{
"type": "show",
"loc": [
[
5,
5
]
]
},
"\t[hero]\b[hero]终于过来了,真痛啊",
"\t[hero]\b[hero]前面这两只应该也能轻松拿下",
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]啊嘞?勇者大人您的生命值不足以连续两战呢",
"pos": [
122,
135,
250
]
},
"\t[hero]\b[hero]那我现在该怎么办",
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]怪物显示的两组数字中,最下面的是战斗后受到的伤害",
"pos": [
122,
135,
250
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]上面则是下一次降低伤害所需的攻击力",
"pos": [
122,
135,
250
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]提升那个数值的攻击后,战斗回合数就会减少",
"pos": [
122,
135,
250
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]旁边有一颗攻击宝石,获取后可以提升攻击力",
"pos": [
122,
135,
250
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]不过奇怪,这里好像被围住了……其中似乎有一道暗门呢!",
"pos": [
122,
135,
250
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]暗门的颜色和墙面的颜色有细微的差别,仔细观察就能打开了",
"pos": [
122,
135,
270
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]来试着打开这扇暗门,获得后面的红宝石吧",
"pos": [
122,
135,
270
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]如果勇者大人不小心先和怪物进行战斗了,按一下右下角的\\i[T371](快捷键A)就可以撤销操作了",
"pos": [
122,
110,
270
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]此外点\\i[save](快捷键S)可以存档\n点\\i[load](快捷键D)可以读档",
"pos": [
122,
135,
250
]
}
],
"10,3": [
{
"type": "setValue",
"name": "flag:价格",
"value": "1"
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]前面是商店,可以花费星币提升自己的属性",
"pos": [
122,
135,
280
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]每次击败怪物后都会获得一定数量的星币。可以在\\i[book]查看怪物的价值",
"pos": [
122,
115,
280
]
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]不过勇者大人需要思考一下如何购买才能击败眼前的怪物呢",
"pos": [
122,
135,
280
]
},
{
"type": "callBook"
},
{
"type": "text",
"text": "\t[米米]\f[Mimi_Full.png,32,216,152,200]勇者大人可以先进行存档,如果不慎打错了可以读档重新尝试",
"pos": [
122,
135,
280
]
},
{
"type": "callSave"
}
]
},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[ 1,396, 21, 22, 1, 32, 32, 32, 1, 7,131, 8, 1],
[ 1, 0, 0,201, 81, 0,217, 31, 1, 22, 0, 0, 1],
[ 1, 83, 1, 1, 1, 1, 82, 1, 1, 1, 83, 1, 1],
[ 1, 0, 0, 23, 1, 31, 0, 31, 1, 0, 27, 0, 1],
[ 1, 1, 82, 1, 1,396, 31, 0, 3, 0, 0, 0, 1],
[ 1, 0, 0, 22, 1, 1,202, 1, 1, 1, 1, 1, 1],
[ 1, 1, 81, 1, 1, 1,202, 1, 1, 1, 1, 1, 1],
[ 1, 0, 0,396, 1, 0, 0, 0, 1, 1, 1, 1, 1],
[ 1, 0, 0, 0, 1, 23, 0, 28, 1, 1, 1, 1, 1],
[ 1, 0, 0, 0, 1, 1, 82, 1, 1, 1, 1, 1, 1],
[ 1, 0, 0, 0, 1, 1,233, 1, 1, 1, 1, 1, 1],
[ 1, 1, 1, 1, 1, 1, 93, 1, 1, 1, 1, 1, 1]
],
"bgmap": [
],
"fgmap": [
]
}