tianta/project/data.js

1542 lines
29 KiB
JavaScript
Raw Normal View History

2022-10-16 21:58:52 +08:00
var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
{
"main": {
"floorIds": [
2022-10-21 23:00:12 +08:00
"nandu",
"QISHI",
"MUDI",
"didi",
"guantong",
"shijing",
"yanhai",
"jueshen",
"weizhi",
"anshi",
"U49",
"U48",
"U47",
"U46",
"U45",
"U44",
"U43",
"U42",
"U41",
"U40",
"U39",
"U38",
"U37",
"liuchongtian",
"wuchongtian",
"sichongtian",
"sanchongtian",
"erchongtian",
"yichongtian",
"U36",
"U35",
"U34",
"U33",
"U32",
"U31",
"U30",
"U29",
"U28",
"U27",
"U26",
"mishi",
"chongge",
"wujian",
"lingqu",
"ange",
"U25",
"U24",
"U23",
"U22",
"U21",
"U20",
"U19",
"U18",
"U17",
"shuanglin",
"cuoxuan",
"fengche",
"nianlian",
"U16",
"U15",
"U14",
"U13",
"U12",
"U11",
"U10",
"sanding",
"erding",
"yiding",
"U9",
"U8",
"U7",
"U6",
"U5",
"kongyan",
"dashi",
"U4",
"U3",
"U2",
"U1",
"MT0",
"MT1",
"shenhai",
"MT2",
"MT3",
"MT4",
"yanjiusuo",
"MT5",
"MT6",
"MT7",
"MT8",
"MT9",
"CETAI",
"MT10",
"MT11",
"MT12",
"MT13",
"MT14",
"MT15",
"MT16",
"XIANJIE",
"MT17",
"MT18",
"MT19",
"zhenhong",
"MT20",
"MT21",
"MT22",
"MT23",
"MT24",
"MT25",
"xietu",
"MT26",
"MT27",
"MT28",
"MT29",
"MT30",
"MT31",
"MT32",
"MT33",
"MT34",
"MT35",
"MT36",
"xuetan",
"MT37",
"MT38",
"MT39",
"MT40",
"MT41",
"MT42",
"MT43",
"MT44",
"MT45",
"MT46",
"MT47",
"MT48",
"MT49",
"bishi",
"MT50",
"MT51",
"MT52",
"MT53",
"MT54",
"MT55",
"MT56",
"MT57",
"MT58",
"MT59",
"MT60",
"MT61",
"MT62",
"MT63",
"MT64",
"jiange",
"MT65",
"MT66",
"MT67",
"MT68",
"MT69",
"MT70",
"MT71",
"MT72",
"MT73",
"MT74",
"MT75",
"MT76",
"MT77",
"MT78",
"MT79",
"MT80",
"MT81",
"tawai",
"PIANTOU1",
"PIANTOU2",
"PIANTOU3",
"tading",
"PIANTOU5",
"PIANTOU6",
"PIANTOU7",
"PIANTOU8",
"PIANTOU9",
"PIANTOU10",
"PIANTOU11",
"huxiao1",
"huxiao2",
"huxiao3",
"duwei1",
"duwei2",
"duwei3",
"duwei4",
"jieke1",
"jieke2",
"jieke3",
"jieke4",
"jieke5",
"wangyang30",
"shuoming",
"shijian64f1"
2022-10-16 21:58:52 +08:00
],
"floorPartitions": [],
"images": [
2022-10-22 03:44:14 +08:00
"00001.png",
"00002.png",
"00003.png",
"00004.png",
"00005.png",
2022-10-21 23:00:12 +08:00
"0cheating.png",
"0easy.png",
"0hard.png",
"0hell.png",
"0normal.png",
"1.png",
"2.png",
"27-1.png",
"3.png",
"30juqing.png",
"4.png",
"5.png",
"57-1.jpg",
"57-2.jpg",
"57-3.jpg",
"57-n.jpg",
"6.png",
"65-1.jpg",
"81-1.png",
"81-2.png",
"81-3.png",
"81-3end.png",
"81-4.png",
"81-4end.png",
"81-5.png",
"81-5end.png",
"81-6.png",
"81-7.png",
"81-7end.png",
"81-8.png",
"81-8end.png",
"B.png",
"FY.png",
2022-10-21 23:04:26 +08:00
"Title_starlong.png",
2022-10-21 23:00:12 +08:00
"airwall.png",
"ancheating.png",
"aneasy.png",
"anhard.png",
"anhell.png",
"animates.png",
"annormal.png",
"autotile.png",
"autotile1.png",
"autotile2.png",
"autotile3.png",
2022-10-16 21:58:52 +08:00
"bear.png",
"bg.jpg",
2022-10-21 23:00:12 +08:00
"bg2.jpg",
"biaoti.png",
"black.png",
2022-10-21 23:00:12 +08:00
"brave.png",
2022-10-21 07:20:39 +08:00
"caidan.png",
2022-10-21 23:00:12 +08:00
"cheating.png",
"d.png",
"dibu.png",
"dibu1.png",
"dibu2.png",
"dibu3.png",
"dibu4.png",
"dibu5.png",
"dingxiangplay.png",
2022-10-16 21:58:52 +08:00
"dragon.png",
2022-10-21 23:00:12 +08:00
"duwei1.png",
"duwei2.png",
"duwei3.png",
"duwei4.png",
"easy.png",
"end.png",
"enemy48.png",
"enemys.png",
"fanxiang.png",
"fanxiang2.png",
"fanyongshi.png",
"fog.png",
"fuyi.png",
"gongzhubaozoudahan.png",
"gongzhubaozoulianhong.png",
"gongzhubaozousha.png",
"gongzhubaozouxiu.png",
"gongzhubuzaihu.png",
"gongzhuheihua.png",
"gongzhujiao.png",
"gongzhulianhong.png",
"gongzhupinghe.png",
"gongzhuxiao.png",
"gongzhuxiaoheibai.png",
"gongzhuzhending.png",
"gongzhuzhendingheibai.png",
"ground.png",
"haizhishijian.png",
"hard.png",
"heiyun.jpg",
"hell.png",
"heng.png",
"heng1.png",
"heng2.png",
"heng3.png",
"heng4.png",
"heng5.png",
2022-10-16 21:58:52 +08:00
"hero.png",
2022-10-21 23:00:12 +08:00
"hua.png",
"huxiao1.png",
"huxiao2.png",
"huxiao3.png",
"icons.png",
"items.png",
"jiaozun.png",
"jiekedajiao.png",
"jiekedajiao2.png",
"jiekexiaohei.png",
"jiekeyilv.png",
"jiekezixin.png",
"keyboard.png",
"kulouzhanshi.png",
"li.png",
"lidaxiao.png",
"lvshe.png",
"mei.png",
"meibugaoxing.png",
"meidaxiao.png",
"meimao.png",
"meishihuai.png",
"mingsha.png",
"molong.png",
"mudi.jpg",
"mudiheibai.jpg",
"nanduxuanze.jpg",
"normal.png",
"npc48.png",
"npcnan.png",
"npcnv.png",
"npcs.png",
"shaohuheihua.png",
"shaohujinzhang.png",
"shaohuliuhan.png",
"shaohusikao.png",
"shaohuxiao.png",
"shaohuxiaoheibai.png",
"shaohuyilv.png",
"shaohuzixin.png",
"shaohuzixinheibai.png",
"shaohuziya.png",
"sheng.png",
"shengfen.png",
"shengxiao.png",
"shijian.png",
"shu.png",
2022-10-22 03:44:14 +08:00
"status.png",
"status2.png",
2022-10-21 23:00:12 +08:00
"tawaijiuren.png",
"terrains.png",
"tiantawai.png",
"wangyangdan.png",
"wangyangqianxiao.png",
"wangyangyouyu.png",
"wangyangyouyuheibai.png",
"wangyangziya.png",
"wangyue.png",
"wangyueshengqi.png",
"wangyuexiao.png",
"winskin.png",
"winskin2.png",
"wupin.png",
"xialouti.png",
"xianzi.png",
"xianzileng.png",
"xianzilianhong.png",
"xianziwunai.png",
"xiaotou.png",
"xingkong.jpg",
"xueguang.jpg",
"yechen2.jpg",
"yecheng.jpg",
"yeming.png",
"yinyuecun.jpg",
"yinyuecunheibai.jpg",
"yueya.jpg",
"zhenhong.png",
"zimu.png"
2022-10-16 21:58:52 +08:00
],
"tilesets": [
2022-10-21 23:00:12 +08:00
"magictower.png",
"autotile5.png"
2022-10-16 21:58:52 +08:00
],
"animates": [
2022-10-21 23:00:12 +08:00
"EMfanu",
"EMfaxian",
"EMhanyou",
"EMhanzuo",
"STcuiruo",
"STmoqiang",
"STruoli",
"STshengfa",
"STshengfa2",
"STzhanshen",
"baofa",
"daizhi",
"daji",
"dajian",
"daluoleitian",
"daluoleitianhong",
"dazhaofadong",
"dian",
"dianji",
"dufa",
"fadong1",
"fadong2",
"fadong3",
"fadong4",
"fanu",
"fengmuxuantian",
"fentianyan",
"gantanhao",
"hainazhijian",
"haizhitiejian",
"han",
2022-10-16 21:58:52 +08:00
"hand",
2022-10-21 23:00:12 +08:00
"hanyou",
"hongbaofa",
"hongguang",
"huangjinduanjian",
"huifu",
"hunanxuehua",
"jian",
"jian2",
"jianji",
"jianji2",
"jiaochajian",
"jiaosha",
"jinbi",
"jingu",
"juqingmoshimofangshangdian",
"lanbaofa",
"languang",
"lansebaofa",
"leijian",
"luanma",
"luolei",
"luzhang",
"lvbaofa",
"lvguang",
"meiqishibianshen",
"meizhang",
"miwudan",
"mofa",
"nianqiangjiao",
"penxue",
"qushi",
"qushifen",
"rengonghuixue2",
2022-10-21 23:04:26 +08:00
"rengonghuixue22",
2022-10-21 23:00:12 +08:00
"sangang",
"shanguang",
"shangzhanjian",
"shaohutiaohuishang",
"shaohutiaohuixia",
"shaohutiaohuiyou",
"shaohutiaohuizuo",
"shaohutiaoshang",
"shaohutiaoxia",
"shaohutiaoyou",
"shaohutiaozuo",
"shengdun",
"shenglvehao",
"shengqi",
"shenlanbaofa",
"shenlansebaofa",
"shijian",
2022-10-16 21:58:52 +08:00
"sword",
2022-10-21 23:00:12 +08:00
"teshujifuzhu",
"thunder",
"tiejian",
"wangyangtiao",
"wangyangtiaohui",
"wenhao",
"xiaofadong",
"xiaofentianyan",
"xiaoluoleitianjiin",
"xiaoshi",
"xiaoshideqiang",
"xin",
"yao1",
"yao2",
"yao3",
"yijianzhanqianye",
"yinfu",
"yinshen",
"yongchang",
"youcezhan",
"youpenxue",
"zhaohuodeqiangbi",
"zhendajian",
"zhendianji",
"zhongdu",
"zhongyangjiaochadejian1",
"zhongyangjiaochadejian2",
"zhongyangjiaochadejian3",
"zone",
"zuocezhan",
"zuopenxue"
2022-10-16 21:58:52 +08:00
],
"bgms": [
2022-10-21 23:00:12 +08:00
"ALightIlluminatingTheDepths.mp3",
"Swordland.mp3",
"bgm.mp3",
"bgm28.mp3",
"gudegudong.mp3",
"jiandan.mp3",
"jiaobusheng.mp3",
"jinpo.mp3",
"leng.mp3",
"linghaihuanxin.mp3",
"longyingsuifeng.mp3",
"manmandeending.mp3",
"meiqishi.mp3",
"mianmian.mp3",
"misjiqing.mp3",
"mobilesuit.mp3",
"moxing.mp3",
"pastedlovetime.mp3",
"shengqishi.mp3",
"shenye.mp3",
"themeoflove.mp3",
"wangyang.mp3",
"xingkong.mp3",
"xiwangnixingfu.mp3",
"xueyi.mp3",
"xunchajieke.mp3",
"youshang.mp3",
"yuegan.mp3",
"zhan.mp3",
"zhandouyouyu.mp3"
2022-10-16 21:58:52 +08:00
],
"sounds": [
2022-10-21 23:00:12 +08:00
"001-System01.mp3",
"009-System09.mp3",
"011-System11.mp3",
"015-Jump01.mp3",
"020-Teleport03.mp3",
"045-Push01.mp3",
"046-Book01.mp3",
"048-Explosion01.mp3",
"051-Explosion04.mp3",
"054-Cannon03.mp3",
"079-Monster01.mp3",
"080-Monster02.mp3",
"081-Monster03.mp3",
"082-Monster04.mp3",
"083-Monster05.mp3",
"084-Monster06.mp3",
"085-Monster07.mp3",
"086-Action01.mp3",
"089-Attack01.mp3",
"090-Attack02.mp3",
"091-Attack03.mp3",
"092-Attack04.mp3",
"093-Attack05.mp3",
"094-Attack06.mp3",
"095-Attack07.mp3",
"096-Attack08.mp3",
"097-Attack09.mp3",
"098-Attack10.mp3",
"099-Attack11.mp3",
"10-Track11.mp3",
"10-Track14.mp3",
"10-Track18.mp3",
"10-Track19.mp3",
"100-Attack12.mp3",
"101-Attack13.mp3",
"102-Attack14.mp3",
"103-Attack15.mp3",
"104-Attack16.mp3",
"116-Raise02.mp3",
"123-Thunder01.mp3",
"130-Earth02.mp3",
"150-Support08.mp3",
"157-Skill01.mp3",
"BATTLE18.mp3",
"MagicTinkelingSoundWithPing01b.mp3",
"Saint1.mp3",
"Slash1.mp3",
2022-10-16 21:58:52 +08:00
"attack.mp3",
2022-10-21 23:00:12 +08:00
"attackogg.mp3",
"bgm.mp3",
2022-10-16 21:58:52 +08:00
"bomb.mp3",
"cancel.mp3",
"centerFly.mp3",
"confirm.mp3",
"cursor.mp3",
"door.mp3",
2022-10-21 23:00:12 +08:00
"doorogg.mp3",
2022-10-16 21:58:52 +08:00
"equip.mp3",
"error.mp3",
"floor.mp3",
"gem.mp3",
"icePickaxe.mp3",
"item.mp3",
2022-10-21 23:00:12 +08:00
"itemogg.mp3",
"jiaobusheng.mp3",
2022-10-16 21:58:52 +08:00
"jump.mp3",
2022-10-21 23:00:12 +08:00
"langhao.mp3",
"leng.mp3",
2022-10-16 21:58:52 +08:00
"load.mp3",
2022-10-21 23:00:12 +08:00
"magic.mp3",
"miss.mp3",
2022-10-16 21:58:52 +08:00
"open_ui.mp3",
2022-10-21 23:00:12 +08:00
"penxue.mp3",
2022-10-16 21:58:52 +08:00
"pickaxe.mp3",
"recovery.mp3",
"save.mp3",
2022-10-21 23:00:12 +08:00
"se10.14.mp3",
"se10.19.mp3",
"se20.mp3",
"se83.mp3",
"se86.mp3",
"shenye.mp3",
2022-10-16 21:58:52 +08:00
"shop.mp3",
2022-10-21 23:00:12 +08:00
"yanyong001.mp3",
"zone.mp3",
"zoneogg.mp3"
2022-10-16 21:58:52 +08:00
],
2022-10-22 03:44:14 +08:00
"fonts": [
"fzchyjw"
],
2022-10-16 21:58:52 +08:00
"nameMap": {
"确定": "confirm.mp3",
"取消": "cancel.mp3",
"操作失败": "error.mp3",
"光标移动": "cursor.mp3",
"打开界面": "open_ui.mp3",
"读档": "load.mp3",
"存档": "save.mp3",
"获得道具": "item.mp3",
"回血": "recovery.mp3",
"炸弹": "bomb.mp3",
"飞行器": "centerFly.mp3",
"开关门": "door.mp3",
"上下楼": "floor.mp3",
"跳跃": "jump.mp3",
"破墙镐": "pickaxe.mp3",
"破冰镐": "icePickaxe.mp3",
"宝石": "gem.mp3",
"阻激夹域": "zone.mp3",
"穿脱装备": "equip.mp3",
"背景音乐": "bgm.mp3",
"攻击": "attack.mp3",
"背景图": "bg.jpg",
"商店": "shop.mp3",
"领域": "zone"
},
2022-10-20 22:22:21 +08:00
"levelChoose": [],
2022-10-16 21:58:52 +08:00
"equipName": [
"武器",
"盾牌"
],
"startBgm": null,
"styles": {
"startBackground": "project/images/bg.jpg",
"startVerticalBackground": "project/images/bg.jpg",
2022-10-21 23:00:12 +08:00
"startLogoStyle": "display:none",
2022-10-16 21:58:52 +08:00
"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
2022-10-21 23:00:12 +08:00
"statusLeftBackground": "url(project/images/heng.png) 0 0/100% 100% no-repeat",
"statusTopBackground": "url(project/images/shu.png) 0 0/100% 100% no-repeat",
"toolsBackground": "url(project/images/dibu.png) 0 0/100% 100% no-repeat",
"floorChangingStyle": "background-color: black; color: white",
2022-10-16 21:58:52 +08:00
"statusBarColor": [
255,
255,
255,
1
],
2022-10-21 23:00:12 +08:00
"borderColor": [
204,
204,
204,
1
],
2022-10-16 21:58:52 +08:00
"selectColor": [
255,
215,
0,
1
],
2022-10-21 23:00:12 +08:00
"font": "fzchyjw"
2022-10-16 21:58:52 +08:00
},
"splitImages": [
{
"name": "dragon.png",
"width": 384,
"height": 96,
"prefix": "dragon_"
}
]
},
"firstData": {
2022-10-21 23:00:12 +08:00
"title": "天塔",
"name": "tianta",
2022-10-16 21:58:52 +08:00
"version": "Ver 2.10.0",
2022-10-21 23:00:12 +08:00
"floorId": "nandu",
2022-10-16 21:58:52 +08:00
"hero": {
"image": "hero.png",
"animate": false,
2022-10-21 23:00:12 +08:00
"name": "邵虎",
2022-10-16 21:58:52 +08:00
"lv": 1,
"hpmax": 9999,
"hp": 1000,
"manamax": -1,
"mana": 0,
2022-10-21 23:00:12 +08:00
"atk": 10,
"def": 10,
2022-10-16 21:58:52 +08:00
"mdef": 0,
"money": 0,
"exp": 0,
"equipment": [],
"items": {
2022-10-21 23:00:12 +08:00
"constants": {
"fly": 1,
"book": 1
},
2022-10-16 21:58:52 +08:00
"tools": {},
"equips": {}
},
"loc": {
"direction": "up",
2022-10-21 23:00:12 +08:00
"x": -1,
"y": 0
2022-10-16 21:58:52 +08:00
},
"flags": {},
"followers": [],
"steps": 0
},
"startCanvas": [
{
2022-10-21 23:04:26 +08:00
"type": "setText",
"background": "winskin2.png"
2022-10-16 21:58:52 +08:00
},
{
"type": "comment",
2022-10-21 23:04:26 +08:00
"text": "在这里可以用事件来自定义绘制标题界面的背景图等"
2022-10-16 21:58:52 +08:00
},
{
"type": "comment",
2022-10-21 23:04:26 +08:00
"text": "也可以直接切换到其他楼层(比如某个开始剧情楼层)进行操作。"
2022-10-16 21:58:52 +08:00
},
{
2022-10-21 23:04:26 +08:00
"type": "showImage",
"code": 1,
"image": "bg.jpg",
"loc": [
0,
0
],
"opacity": 1,
"time": 0
2022-10-16 21:58:52 +08:00
},
{
"type": "while",
"condition": "1",
"data": [
{
2022-10-21 23:04:26 +08:00
"type": "comment",
"text": "给用户提供选择项这里简单的使用了choices事件"
},
{
"type": "comment",
"text": "也可以贴按钮图然后使用等待操作来完成"
2022-10-16 21:58:52 +08:00
},
{
2022-10-21 23:04:26 +08:00
"type": "choices",
"choices": [
2022-10-16 21:58:52 +08:00
{
2022-10-21 23:04:26 +08:00
"text": "开始游戏",
2022-10-16 21:58:52 +08:00
"action": [
{
2022-10-21 23:04:26 +08:00
"type": "function",
"function": "function(){\ncore.platform.isPC\n}"
},
{
"type": "comment",
"text": "接下来会执行startText中的事件"
},
{
"type": "comment",
"text": "检查bgm状态下同"
},
{
"type": "function",
"function": "function(){\ncore.control.checkBgm()\n}"
},
{
"type": "if",
"condition": "(main.levelChoose.length == 0)",
"true": [
2022-10-16 21:58:52 +08:00
{
2022-10-21 23:04:26 +08:00
"type": "comment",
"text": "直接开始游戏"
}
],
"false": [
2022-10-16 21:58:52 +08:00
{
2022-10-21 23:04:26 +08:00
"type": "comment",
"text": "动态生成难度选择项"
2022-10-16 21:58:52 +08:00
},
{
2022-10-21 23:04:26 +08:00
"type": "if",
"condition": "flag:a1=2",
"true": [
2022-10-16 21:58:52 +08:00
{
2022-10-21 23:04:26 +08:00
"type": "function",
"function": "function(){\nvar choices = [];\nmain.levelChoose.forEach(function (one) {\n\tchoices.push({\n\t\t\"text\": one.title || '',\n\t\t\"action\": [\n\t\t\t{ \"type\": \"function\", \"function\": \"function() { core.status.hard = '\" + (one.name || '') + \"'; }\" }\n\t\t]\n\t});\n})\ncore.insertAction({ \"type\": \"choices\", \"choices\": choices });\n}"
2022-10-16 21:58:52 +08:00
}
]
}
]
},
{
2022-10-21 23:04:26 +08:00
"type": "hideImage",
"code": 1,
"time": 0
2022-10-16 21:58:52 +08:00
},
{
"type": "comment",
2022-10-21 23:04:26 +08:00
"text": "成功选择难度"
2022-10-16 21:58:52 +08:00
},
{
"type": "break",
"n": 1
}
]
},
{
2022-10-21 23:04:26 +08:00
"text": "读取存档",
2022-10-16 21:58:52 +08:00
"action": [
2022-10-21 23:04:26 +08:00
{
"type": "function",
"function": "function(){\ncore.control.checkBgm()\n}"
},
2022-10-16 21:58:52 +08:00
{
"type": "comment",
2022-10-21 23:04:26 +08:00
"text": "简单的使用“呼出读档界面”来处理"
2022-10-16 21:58:52 +08:00
},
{
"type": "callLoad"
}
]
},
{
2022-10-21 23:04:26 +08:00
"text": "回放录像",
2022-10-16 21:58:52 +08:00
"action": [
2022-10-21 23:04:26 +08:00
{
"type": "function",
"function": "function(){\ncore.control.checkBgm()\n}"
},
2022-10-16 21:58:52 +08:00
{
"type": "comment",
2022-10-21 23:04:26 +08:00
"text": "这段代码会弹框选择录像文件"
2022-10-16 21:58:52 +08:00
},
{
"type": "if",
"condition": "(!core.isReplaying())",
"true": [
{
"type": "function",
"function": "function(){\ncore.chooseReplayFile()\n}"
}
]
}
]
}
]
}
]
}
],
"startText": [
{
2022-10-21 23:00:12 +08:00
"type": "setText",
"background": "winskin2.png"
2022-10-16 21:58:52 +08:00
},
2022-10-21 23:00:12 +08:00
{
"type": "sleep",
"time": 500
2022-10-21 23:04:26 +08:00
}
],
2022-10-16 21:58:52 +08:00
"shops": [
{
2022-10-21 23:00:12 +08:00
"id": "moneyShop1",
"text": "天枢的少年啊, 给我${80+80*flag:shop1}金币就可以:",
"textInList": "11F金币商店",
2022-10-16 21:58:52 +08:00
"mustEnable": false,
"disablePreview": false,
"choices": [
{
"text": "生命+800",
2022-10-21 23:00:12 +08:00
"need": "status:money>=80+80*flag:shop1",
2022-10-16 21:58:52 +08:00
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
2022-10-21 23:00:12 +08:00
"value": "80+80*flag:shop1"
2022-10-16 21:58:52 +08:00
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "800"
}
]
},
{
2022-10-21 23:00:12 +08:00
"text": "攻击+5",
"need": "status:money>=80+80*flag:shop1",
2022-10-16 21:58:52 +08:00
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
2022-10-21 23:00:12 +08:00
"value": "80+80*flag:shop1"
2022-10-16 21:58:52 +08:00
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
2022-10-21 23:00:12 +08:00
"value": "5"
}
]
},
{
"text": "防御+5",
"need": "status:money>=80+80*flag:shop1",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+80*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "5"
2022-10-16 21:58:52 +08:00
}
]
}
]
},
{
2022-10-21 23:00:12 +08:00
"id": "expShop1",
"text": "天枢的少年啊给我30经验就可以",
"textInList": "线界经验商店",
2022-10-16 21:58:52 +08:00
"mustEnable": false,
2022-10-21 23:00:12 +08:00
"disablePreview": false,
2022-10-16 21:58:52 +08:00
"choices": [
{
2022-10-21 23:00:12 +08:00
"text": "血量+800",
"need": "status:exp>=30",
2022-10-16 21:58:52 +08:00
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
2022-10-21 23:00:12 +08:00
"value": "30"
2022-10-16 21:58:52 +08:00
},
{
"type": "setValue",
2022-10-21 23:00:12 +08:00
"name": "status:hp",
2022-10-16 21:58:52 +08:00
"operator": "+=",
2022-10-21 23:00:12 +08:00
"value": "800"
}
]
},
{
"text": "攻击+5",
"need": "status:exp>=30",
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "30"
2022-10-16 21:58:52 +08:00
},
{
"type": "setValue",
2022-10-21 23:00:12 +08:00
"name": "status:atk",
2022-10-16 21:58:52 +08:00
"operator": "+=",
2022-10-21 23:00:12 +08:00
"value": "5"
}
]
},
{
"text": "防御+5",
"need": "status:exp>=30",
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "30"
},
{
"type": "setValue",
"name": "status:def",
2022-10-16 21:58:52 +08:00
"operator": "+=",
2022-10-21 23:00:12 +08:00
"value": "5"
2022-10-16 21:58:52 +08:00
}
]
}
]
},
{
2022-10-21 23:00:12 +08:00
"id": "0fKey",
2022-10-16 21:58:52 +08:00
"item": true,
"textInList": "道具商店",
2022-10-21 23:00:12 +08:00
"use": "money",
2022-10-16 21:58:52 +08:00
"mustEnable": false,
"choices": [
{
"id": "yellowKey",
2022-10-21 23:00:12 +08:00
"money": "50"
},
{
"id": "blueKey",
"money": "100"
2022-10-16 21:58:52 +08:00
}
]
},
{
2022-10-21 23:00:12 +08:00
"id": "mdefShop",
"text": "\t[魔防商人]给我${flag:mdefShop}经验和${flag:mdefShop}金币我就给你${flag:mdefShop}点魔防",
"textInList": "魔防商人",
2022-10-16 21:58:52 +08:00
"mustEnable": false,
2022-10-21 23:00:12 +08:00
"disablePreview": false,
"choices": [
{
"text": "魔防+${flag:mdefShop}",
"need": "ture",
"action": [
{
"type": "if",
"condition": "((status:money>=flag:mdefShop )&&(status:money>0))",
"true": [
{
"type": "if",
"condition": "((status:exp>=flag:mdefShop )&&(status:exp>0))",
"true": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "flag:mdefShop"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "flag:mdefShop"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "flag:mdefShop"
},
{
"type": "setValue",
"name": "flag:mdefShop",
"value": "flag:mdefShop+1"
2022-10-21 23:00:12 +08:00
}
],
"false": [
"你的经验不够"
]
}
],
"false": [
{
"type": "if",
"condition": "((status:exp>=flag:mdefShop )&&(status:exp>0))",
"true": [
"你的金币不够"
],
"false": [
"你的金经不够"
]
}
]
}
]
}
]
},
{
"id": "moneyShop2",
"text": "天枢的少年啊, 给我${100+100*flag:shop2}金币就可以:",
"textInList": "33F金币商店",
"mustEnable": false,
"disablePreview": false,
"choices": [
{
"text": "生命+1500",
"need": "status:money>=100+100*flag:shop2",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100+100*flag:shop2"
},
{
"type": "setValue",
"name": "flag:shop2",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "1500"
}
]
},
{
"text": "攻击+10",
"need": "status:money>=100+100*flag:shop2",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100+100*flag:shop2"
},
{
"type": "setValue",
"name": "flag:shop2",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "10"
}
]
},
{
"text": "防御+10",
"need": "status:money>=100+100*flag:shop2",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "100+100*flag:shop2"
},
{
"type": "setValue",
"name": "flag:shop2",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "10"
}
]
2022-10-16 21:58:52 +08:00
}
]
},
{
2022-10-21 23:00:12 +08:00
"id": "expShop2",
"text": "天枢的少年啊给我50经验就可以",
"textInList": "33F经验商店",
2022-10-16 21:58:52 +08:00
"mustEnable": false,
2022-10-21 23:00:12 +08:00
"disablePreview": false,
"choices": [
{
"text": "血量+1500",
"need": "status:exp>=50",
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "50"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "1500"
}
]
},
{
"text": "攻击+10",
"need": "status:exp>=50",
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "50"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "10"
}
]
},
{
"text": "防御+10",
"need": "status:exp>=50",
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "50"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "10"
}
]
}
]
},
{
"id": "moneyShop3",
"text": "天枢的少年啊, 给我${1000+100*flag:shop3}金币就可以:",
"textInList": "69F金币商店",
"mustEnable": false,
"disablePreview": false,
"choices": [
{
"text": "生命+2500",
"need": "status:money>=1000+150*flag:shop3",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1000+150*flag:shop3"
},
{
"type": "setValue",
"name": "flag:shop3",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "2500"
}
]
},
{
"text": "攻击+15",
"need": "status:money>=1000+150*flag:shop3",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1000+150*flag:shop3"
},
{
"type": "setValue",
"name": "flag:shop3",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "15"
}
]
},
{
"text": "防御+15",
"need": "status:money>=1000+150*flag:shop3",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1000+150*flag:shop3"
},
{
"type": "setValue",
"name": "flag:shop3",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "15"
}
]
}
]
},
{
"id": "expShop3",
"text": "天枢的少年啊给我50经验就可以",
"textInList": "69F经验商店",
"mustEnable": false,
"disablePreview": false,
"choices": [
{
"text": "血量+2500",
"need": "status:exp>=70",
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "70"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "2500"
}
]
},
{
"text": "攻击+15",
"need": "status:exp>=70",
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "70"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "15"
}
]
},
{
"text": "防御+15",
"need": "status:exp>=70",
"action": [
{
"type": "setValue",
"name": "status:exp",
"operator": "-=",
"value": "70"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "15"
}
]
}
]
2022-10-16 21:58:52 +08:00
}
],
"levelUp": [
{
"need": "0",
"title": "",
"action": [
{
"type": "comment",
"text": "此处是初始等级,只需填写称号"
}
]
},
{
"need": "20",
"title": "",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "10"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "10"
}
]
},
{
"need": "40",
"title": "",
"action": [
{
"type": "tip",
"text": "恭喜升级"
}
]
}
]
},
"values": {
"lavaDamage": 100,
2022-10-21 23:00:12 +08:00
"poisonDamage": 15,
"weakValue": 0.5,
"redGem": 1,
"blueGem": 1,
"greenGem": 0,
"redPotion": 75,
"bluePotion": 200,
2022-10-16 21:58:52 +08:00
"yellowPotion": 500,
2022-10-21 23:00:12 +08:00
"greenPotion": 1000,
2022-10-16 21:58:52 +08:00
"breakArmor": 0.9,
"counterAttack": 0.1,
"purify": 3,
"hatred": 2,
"animateSpeed": 300,
"moveSpeed": 100,
2022-10-21 23:00:12 +08:00
"statusCanvasRowsOnMobile": 4,
"floorChangeTime": 0
2022-10-16 21:58:52 +08:00
},
"flags": {
"statusBarItems": [
"enableFloor",
"enableHP",
"enableMana",
"enableAtk",
"enableDef",
"enableMDef",
"enableMoney",
"enableExp",
"enableKeys",
2022-10-21 23:00:12 +08:00
"enableGreenKey",
"enableDebuff"
2022-10-16 21:58:52 +08:00
],
2022-10-21 23:04:26 +08:00
"autoScale": false,
2022-10-16 21:58:52 +08:00
"extendToolbar": false,
"flyNearStair": true,
"flyRecordPosition": false,
"itemFirstText": false,
"equipboxButton": false,
"enableAddPoint": false,
"enableNegativeDamage": false,
"betweenAttackMax": false,
"useLoop": false,
"startUsingCanvas": false,
2022-10-20 22:22:21 +08:00
"statusCanvas": true,
2022-10-16 21:58:52 +08:00
"enableEnemyPoint": true,
"enableGentleClick": true,
"ignoreChangeFloor": true,
"canGoDeadZone": false,
"enableMoveDirectly": true,
"enableRouteFolding": true,
"disableShopOnDamage": false,
"blurFg": false
}
}