diff --git a/public/_server/table/comment.js b/public/_server/table/comment.js index e1b1f78..12b6744 100644 --- a/public/_server/table/comment.js +++ b/public/_server/table/comment.js @@ -237,6 +237,30 @@ var comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { "_docs": "饥渴", "_data": "饥渴" }, + "ice": { + "_leaf": true, + "_type": "textarea", + "_docs": "霜冻", + "_data": "霜冻" + }, + "iceHalo": { + "_leaf": true, + "_type": "textarea", + "_docs": "冰封光环", + "_data": "冰封光环" + }, + "night": { + "_leaf": true, + "_type": "textarea", + "_docs": "永夜", + "_data": "永夜" + }, + "day": { + "_leaf": true, + "_type": "textarea", + "_docs": "极昼", + "_data": "极昼" + }, "value": { "_leaf": true, "_type": "textarea", diff --git a/public/libs/control.js b/public/libs/control.js index 8c392dd..6674bd3 100644 --- a/public/libs/control.js +++ b/public/libs/control.js @@ -1705,6 +1705,7 @@ control.prototype.drawDamage = function (ctx) { control.prototype._drawDamage_draw = function (ctx, onMap) { if (!core.hasItem('book')) return; + core.drawHalo(ctx, onMap); core.setFont(ctx, "14px 'normal'"); core.setTextAlign(ctx, 'left'); diff --git a/public/project/autotiles/autotile10.png b/public/project/autotiles/autotile10.png new file mode 100644 index 0000000..f00801d Binary files /dev/null and b/public/project/autotiles/autotile10.png differ diff --git a/public/project/autotiles/autotile8.png b/public/project/autotiles/autotile8.png new file mode 100644 index 0000000..0a31f1b Binary files /dev/null and b/public/project/autotiles/autotile8.png differ diff --git a/public/project/autotiles/autotile9.png b/public/project/autotiles/autotile9.png new file mode 100644 index 0000000..1c7f3d1 Binary files /dev/null and b/public/project/autotiles/autotile9.png differ diff --git a/public/project/bgms/palace.mp3 b/public/project/bgms/palace.mp3 deleted file mode 100644 index 6a3735d..0000000 Binary files a/public/project/bgms/palace.mp3 and /dev/null differ diff --git a/public/project/bgms/palaceNorth.mp3 b/public/project/bgms/palaceNorth.mp3 new file mode 100644 index 0000000..fb538d4 Binary files /dev/null and b/public/project/bgms/palaceNorth.mp3 differ diff --git a/public/project/bgms/palaceSouth.mp3 b/public/project/bgms/palaceSouth.mp3 new file mode 100644 index 0000000..8d84bbc Binary files /dev/null and b/public/project/bgms/palaceSouth.mp3 differ diff --git a/public/project/bgms/winterTown.mp3 b/public/project/bgms/winterTown.mp3 new file mode 100644 index 0000000..35237af Binary files /dev/null and b/public/project/bgms/winterTown.mp3 differ diff --git a/public/project/data.js b/public/project/data.js index a009d61..607b637 100644 --- a/public/project/data.js +++ b/public/project/data.js @@ -40,7 +40,21 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "MT28", "MT29", "MT30", - "MT31" + "MT31", + "MT32", + "MT33", + "MT34", + "MT35", + "MT36", + "MT37", + "MT38", + "MT39", + "MT40", + "MT41", + "MT42", + "MT43", + "MT44", + "MT45" ], "floorPartitions": [ [ @@ -94,7 +108,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "004-Mountain01.png", "Map-Tower01.png", "Caverna1.png", - "map-tower.png" + "map-tower.png", + "winter1.png" ], "animates": [ "amazed", @@ -128,7 +143,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "grass.mp3", "mount.mp3", "night.mp3", - "palace.mp3", + "palaceNorth.mp3", + "palaceSouth.mp3", "plot1.mp3", "road.mp3", "title.mp3", @@ -136,7 +152,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "towerBoss.mp3", "towerBoss2.mp3", "towerBoss3.mp3", - "winter.mp3" + "winter.mp3", + "winterTown.mp3" ], "sounds": [ "008-System08.ogg", diff --git a/public/project/enemys.js b/public/project/enemys.js index ceb2b51..4365652 100644 --- a/public/project/enemys.js +++ b/public/project/enemys.js @@ -41,7 +41,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "elemental": {"name":"元素生物","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "steelGuard": {"name":"铁守卫","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[18],"value":20}, "evilBat": {"name":"邪恶蝙蝠","hp":1000,"atk":800,"def":350,"money":1,"exp":40,"point":0,"special":[2]}, - "frozenSkeleton": {"name":"冻死骨","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "frozenSkeleton": {"name":"冻死骨","hp":7500,"atk":2500,"def":1000,"money":2,"exp":90,"point":0,"special":[1,20],"crit":500,"ice":10}, "silverSlimelord": {"name":"银怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "goldSlimelord": {"name":"金怪王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "skeletonWarrior": {"name":"骷髅士兵","hp":500,"atk":100,"def":20,"money":0,"exp":12,"point":0,"special":[1],"crit":500}, @@ -99,7 +99,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E511": {"name":"山野蝙蝠","hp":1500,"atk":300,"def":120,"money":1,"exp":37,"point":0,"special":[5]}, "E512": {"name":"专业盗贼","hp":1800,"atk":400,"def":170,"money":1,"exp":40,"point":0,"special":[5]}, "E513": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E514": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E514": {"name":"雪原剑客","hp":10000,"atk":3000,"def":500,"money":2,"exp":110,"point":0,"special":[5,19]}, "E515": {"name":"勇气之剑","hp":2500,"atk":550,"def":270,"money":2,"exp":40,"point":0,"special":[5,10],"courage":500}, "E517": {"name":"勇气之盾","hp":4000,"atk":400,"def":350,"money":1,"exp":30,"point":0,"special":[9]}, "E518": {"name":"勇气圣骑","hp":4000,"atk":1000,"def":400,"money":1,"exp":45,"point":0,"special":[11],"charge":600}, @@ -138,5 +138,19 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E576": {"name":"智慧守卫","hp":7500,"atk":2500,"def":1250,"money":10,"exp":500,"point":0,"special":[1],"crit":250}, "E577": {"name":"智慧守护者","hp":15000,"atk":2500,"def":1200,"money":50,"exp":2500,"point":0,"special":[1],"crit":1000}, "E578": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E579": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]} + "E579": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E590": {"name":"冰封史莱姆","hp":7500,"atk":1750,"def":1000,"money":2,"exp":75,"point":0,"special":[20],"ice":25}, + "E591": {"name":"新敌人","hp":10000,"atk":2000,"def":1000,"money":0,"exp":0,"point":0,"special":[]}, + "E592": {"name":"冰封巨兽","hp":10000,"atk":2000,"def":1000,"money":2,"exp":85,"point":0,"special":[20,21],"iceHalo":10,"ice":50}, + "E593": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E594": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E595": {"name":"寒冰兽人","hp":12500,"atk":1800,"def":800,"money":2,"exp":100,"point":0,"special":[7],"hungry":25}, + "E596": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E597": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E598": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E599": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E600": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E601": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E602": {"name":"永夜蝠","hp":6000,"atk":2000,"def":800,"money":1,"exp":65,"point":0,"special":[22],"night":100}, + "E603": {"name":"极昼蝠","hp":8000,"atk":1750,"def":1000,"money":1,"exp":65,"point":0,"special":[23],"day":100} } \ No newline at end of file diff --git a/public/project/floors/MT27.js b/public/project/floors/MT27.js index 2b31baf..1d1a822 100644 --- a/public/project/floors/MT27.js +++ b/public/project/floors/MT27.js @@ -44,8 +44,8 @@ main.floors.MT27= [143,143,143,143, 91,143,143,143,143,143,143,143,143,143,143], [143,143,143,143, 0,143,143,420,143,143,143,143,143,143,143], [ 92, 0, 0,482, 0,497,143,430,491,280,143,143,143,143,143], - [143,143,492,143,143,143,143,143,143, 0,143,143,143,143,143], - [143, 0, 0,492,491,492,390, 0,484, 0,143,143,143,143,143], + [143,143,494,143,143,143,143,143,143, 0,143,143,143,143,143], + [143, 0, 0,494,491,494,390, 0,484, 0,143,143,143,143,143], [143, 0,143,143,143,143, 0,143,143,143,143,143,143,143,143], [143,441,143,390,482,143, 0,143,484,396,143,143,143,143,143], [143, 33,500,482,396,143,403,568, 21,403,143,143,143,143,143], diff --git a/public/project/floors/MT31.js b/public/project/floors/MT31.js index 0f5f174..b94e84a 100644 --- a/public/project/floors/MT31.js +++ b/public/project/floors/MT31.js @@ -47,7 +47,101 @@ main.floors.MT31= ], "eachArrive": [], "parallelDo": "", - "events": {}, + "events": { + "14,7": [ + { + "type": "if", + "condition": "(!flag:inWinter)", + "true": [ + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1500, + "keep": true + }, + { + "type": "setText", + "text": [ + 0, + 0, + 0, + 1 + ], + "background": "winskin3.png" + }, + "人类简史——进化篇", + { + "type": "playSound", + "name": "paper.mp3" + }, + "经过了漫长的行走,他感到真相越来越接近。", + { + "type": "playSound", + "name": "paper.mp3" + }, + "前方,是会将凛冽渗入骨髓的冰封雪原。", + { + "type": "playSound", + "name": "paper.mp3" + }, + "这里,他将寻找到所谓的真相。", + { + "type": "changeFloor", + "floorId": "MT32", + "loc": [ + 0, + 7 + ] + }, + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "setText", + "text": [ + 255, + 255, + 255, + 1 + ], + "background": "winskin2.png" + }, + "\t[初级智人]\b[up,hero]呼,好冷。", + "\t[初级智人]\b[up,hero]嗯?", + { + "type": "moveHero", + "time": 250, + "steps": [ + "right:1" + ] + }, + "\t[初级智人]\b[up,hero]这是杰克给我留下的衣服吗?", + "\t[初级智人]\b[up,hero]先穿上吧,这里太冷了。", + { + "type": "setValue", + "name": "flag:inWinter", + "value": "true" + } + ], + "false": [ + { + "type": "changeFloor", + "floorId": "MT32", + "loc": [ + 0, + 7 + ] + } + ] + } + ] + }, "changeFloor": { "0,7": { "floorId": "MT29", @@ -153,7 +247,7 @@ main.floors.MT31= [143,143, 0, 0, 0, 0,143,491,491,468,468,466,466,143,143], [143,143, 0,491,491, 0,143, 85,143,143,143,143,143,143,143], [143,143, 0, 0, 0, 0,143, 0, 0, 0, 0, 0, 0,143,143], - [ 92, 0, 0, 23,123, 0,497, 0, 0, 0,577, 0, 0, 0, 0], + [ 92, 0, 0, 23,123, 0,497, 0, 0, 0,577, 0, 0, 0, 94], [143,143, 0, 0, 0, 0,143, 0, 0, 0, 0, 0, 0,143,143], [143,143, 0,491,491, 0,143, 85,143,143,143,143,143,143,143], [143,143, 0, 0, 0, 0,143,491,491,468,468,467,467,143,143], diff --git a/public/project/floors/MT32.js b/public/project/floors/MT32.js new file mode 100644 index 0000000..9edcef4 --- /dev/null +++ b/public/project/floors/MT32.js @@ -0,0 +1,104 @@ +main.floors.MT32= +{ + "floorId": "MT32", + "title": "冰封雪原", + "name": "冰封雪原", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T580", + "bgm": "winter.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "0,7": [ + { + "type": "changeFloor", + "floorId": "MT31", + "loc": [ + 14, + 7 + ] + } + ], + "1,6": [ + "宝石血瓶的加成已提升至8倍" + ], + "1,8": [ + "衣服是个装备,记得穿上", + "光环会在地图上显示,如果不想要可以在背包里面的系统设置里面关闭", + "每张地图会保证极昼怪的数量与永夜怪的数量相同" + ] + }, + "changeFloor": {}, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [147,147,147,147,147,147,147,147,147,147,147,147,147,147,147], + [147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,147], + [147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,147], + [147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,147], + [147, 0, 0, 0, 0,514, 0, 0, 0, 0, 0, 0, 0, 0,147], + [147,147,147,147,147, 0,274, 0, 0, 0, 0, 0, 0, 0,147], + [147,129, 0, 21,147,590, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 92, 0,589, 0,492, 0,595, 0, 0, 0, 0, 0, 0, 0,147], + [147,129, 0, 22,147,602, 0, 0, 0, 0, 0, 0, 0, 0,147], + [147,147,147,147,147, 0,603, 0, 0, 0, 0, 0, 0, 0,147], + [147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,147], + [147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,592, 0, 0,147], + [147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,147], + [147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,147], + [147,147,147,147,147,147,147,147,147,147,147,147,147,147,147] +], + "bgmap": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145,145,145], + [145,145,145,145,145,145,145,145,145,145,145,145, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fgmap": [ + +], + "bg2map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/public/project/floors/MT33.js b/public/project/floors/MT33.js new file mode 100644 index 0000000..f6ed191 --- /dev/null +++ b/public/project/floors/MT33.js @@ -0,0 +1,45 @@ +main.floors.MT33= +{ +"floorId": "MT33", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT34.js b/public/project/floors/MT34.js new file mode 100644 index 0000000..d03ccf5 --- /dev/null +++ b/public/project/floors/MT34.js @@ -0,0 +1,45 @@ +main.floors.MT34= +{ +"floorId": "MT34", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT35.js b/public/project/floors/MT35.js new file mode 100644 index 0000000..9ac6357 --- /dev/null +++ b/public/project/floors/MT35.js @@ -0,0 +1,45 @@ +main.floors.MT35= +{ +"floorId": "MT35", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT36.js b/public/project/floors/MT36.js new file mode 100644 index 0000000..7476eaf --- /dev/null +++ b/public/project/floors/MT36.js @@ -0,0 +1,45 @@ +main.floors.MT36= +{ +"floorId": "MT36", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT37.js b/public/project/floors/MT37.js new file mode 100644 index 0000000..f7cbc4e --- /dev/null +++ b/public/project/floors/MT37.js @@ -0,0 +1,45 @@ +main.floors.MT37= +{ +"floorId": "MT37", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT38.js b/public/project/floors/MT38.js new file mode 100644 index 0000000..61ed4db --- /dev/null +++ b/public/project/floors/MT38.js @@ -0,0 +1,45 @@ +main.floors.MT38= +{ +"floorId": "MT38", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT39.js b/public/project/floors/MT39.js new file mode 100644 index 0000000..475b108 --- /dev/null +++ b/public/project/floors/MT39.js @@ -0,0 +1,45 @@ +main.floors.MT39= +{ +"floorId": "MT39", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT40.js b/public/project/floors/MT40.js new file mode 100644 index 0000000..7344113 --- /dev/null +++ b/public/project/floors/MT40.js @@ -0,0 +1,45 @@ +main.floors.MT40= +{ +"floorId": "MT40", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT41.js b/public/project/floors/MT41.js new file mode 100644 index 0000000..a83742b --- /dev/null +++ b/public/project/floors/MT41.js @@ -0,0 +1,45 @@ +main.floors.MT41= +{ +"floorId": "MT41", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT42.js b/public/project/floors/MT42.js new file mode 100644 index 0000000..a9faf42 --- /dev/null +++ b/public/project/floors/MT42.js @@ -0,0 +1,45 @@ +main.floors.MT42= +{ +"floorId": "MT42", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT43.js b/public/project/floors/MT43.js new file mode 100644 index 0000000..819dee9 --- /dev/null +++ b/public/project/floors/MT43.js @@ -0,0 +1,45 @@ +main.floors.MT43= +{ +"floorId": "MT43", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT44.js b/public/project/floors/MT44.js new file mode 100644 index 0000000..4d7b1c0 --- /dev/null +++ b/public/project/floors/MT44.js @@ -0,0 +1,45 @@ +main.floors.MT44= +{ +"floorId": "MT44", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/floors/MT45.js b/public/project/floors/MT45.js new file mode 100644 index 0000000..04a9a3a --- /dev/null +++ b/public/project/floors/MT45.js @@ -0,0 +1,45 @@ +main.floors.MT45= +{ +"floorId": "MT45", +"title": "冰封雪原", +"name": "冰封雪原", +"width": 15, +"height": 15, +"canFlyTo": true, +"canFlyFrom": true, +"canUseQuickShop": true, +"cannotViewMap": false, +"images": [], +"ratio": 8, +"defaultGround": "T580", +"bgm": "winter.mp3", +"firstArrive": [], +"eachArrive": [], +"parallelDo": "", +"events": {}, +"changeFloor": {}, +"beforeBattle": {}, +"afterBattle": {}, +"afterGetItem": {}, +"afterOpenDoor": {}, +"autoEvent": {}, +"cannotMove": {}, +"cannotMoveIn": {}, +"map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], +} \ No newline at end of file diff --git a/public/project/functions.js b/public/project/functions.js index b136f72..de6f49d 100644 --- a/public/project/functions.js +++ b/public/project/functions.js @@ -378,6 +378,10 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { Math.ceil((core.status.hero.mdef / 10) * 0.3) * 10; } + if (core.getSkillLevel(11) > 0) { + core.declineStudiedSkill(); + } + // 计算当前怪物的支援怪物 var guards = []; if (x != null && y != null) { @@ -409,18 +413,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { hint += ',经验+' + exp; core.drawTip(hint, enemy.id); - // 战后的技能处理,比如扣除魔力值 - if (core.flags.statusBarItems.indexOf('enableSkill') >= 0) { - // 检测当前开启的技能类型 - var skill = core.getFlag('skill', 0); - if (skill == 1) { - // 技能1:二倍斩 - core.status.hero.mana -= 5; // 扣除5点魔力值 - } - // 关闭技能 - core.setFlag('skill', 0); - core.setFlag('skillName', '无'); - } if (core.getFlag('bladeOn') && core.getFlag('blade')) { core.setFlag('blade', false); } @@ -575,7 +567,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { '%的伤害' ); }, - '#ffcc33' + '#fc3' ], [2, '恶毒', '怪物攻击无视勇士的防御', '#bbb0ff'], [3, '坚固', '怪物防御不小于勇士攻击-1', '#c0b088'], @@ -713,37 +705,34 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { ',最后与该怪物战斗', '#ff6666' ], - [20, '荆棘', '勇士无法打败怪物,除非拥有十字架', '#aaaaaa'], + [ + 20, + '霜冻', + enemy => + `怪物寒冷的攻击使勇士动作变慢,勇士每回合对怪物造成的伤害减少${enemy.ice}%。装备杰克的衣服后可以免疫。`, + 'cyan' + ], [ 21, - '退化', - function (enemy) { - return ( - '战斗后勇士永久下降' + - (enemy.atkValue || 0) + - '点攻击和' + - (enemy.defValue || 0) + - '点防御' - ); - } + '冰封光环', + enemy => + `寒气逼人,使勇士对该怪物周围7*7范围内的怪物伤害减少${enemy.iceHalo}%(线性叠加)`, + 'cyan', + 1 ], [ 22, - '固伤', - function (enemy) { - return ( - '战斗前,怪物对勇士造成' + - (enemy.damage || 0) + - '点固定伤害,未开启负伤时无视勇士护盾。' - ); - }, - '#ff9977' + '永夜', + enemy => + `战斗后,减少勇士${enemy.night}点攻防,加到本层所有怪物身上`, + '#d8a' ], [ 23, - '重生', - '怪物被击败后,角色转换楼层则怪物将再次出现', - '#a0e0ff' + '极昼', + enemy => + `战斗后,减少本层所有怪物${enemy.day}点攻防,加到勇士身上`, + '#ffd' ], [ 24, @@ -811,6 +800,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { mon_exp = core.getEnemyValue(enemy, 'exp', x, y, floorId), mon_point = core.getEnemyValue(enemy, 'point', x, y, floorId); + let iceDecline = 0; + if (typeof enemy === 'number') core.getBlockByNumber(enemy).event.id; if (typeof enemy === 'string') enemy = core.material.enemys[enemy]; @@ -851,56 +842,68 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { // 检查光环和支援的缓存 var index = x != null && y != null ? x + ',' + y : 'floor' + enemy.id; - if (!core.status.checkBlock.cache) - core.status.checkBlock.cache = {}; + core.status.checkBlock.cache ??= {}; var cache = core.status.checkBlock.cache[index]; if (!cache) { // 没有该点的缓存,则遍历每个图块 core.extractBlocks(floorId); core.status.maps[floorId].blocks.forEach(function (block) { - if (!block.disable) { - // 获得该图块的ID - var id = block.event.id, - e = core.material.enemys[id]; - var dx = Math.abs(block.x - x), - dy = Math.abs(block.y - y); - // 检查【支援】技能,数字26 - if ( - e && - core.hasSpecial(e.special, 26) && - // 检查支援条件,坐标存在,距离为1,且不能是自己 - // 其他类型的支援怪,比如十字之类的话.... 看着做是一样的 - x != null && - y != null && - Math.abs(block.x - x) <= 1 && - Math.abs(block.y - y) <= 1 && - !(x == block.x && y == block.y) - ) { - // 记录怪物的x,y,ID - guards.push([block.x, block.y, id]); - } - // 抱团 - if ( - e && - core.hasSpecial(mon_special, 8) && - core.hasSpecial(e.special, 8) && - !(dx == 0 && dy == 0) && - dx < 3 && - dy < 3 - ) { - atk_buff += enemy.together || 0; - def_buff += enemy.together || 0; - } - - // TODO:如果有其他类型光环怪物在这里仿照添加检查 - // 注:新增新的类光环属性(需要遍历全图的)需要在特殊属性定义那里的第五项写1,参见光环和支援的特殊属性定义。 + if (block.disable) return; + // 获得该图块的ID + var id = block.event.id, + e = core.material.enemys[id]; + var dx = Math.abs(block.x - x), + dy = Math.abs(block.y - y); + // 检查【支援】技能,数字26 + if ( + e && + core.hasSpecial(e.special, 26) && + // 检查支援条件,坐标存在,距离为1,且不能是自己 + // 其他类型的支援怪,比如十字之类的话.... 看着做是一样的 + x != null && + y != null && + Math.abs(block.x - x) <= 1 && + Math.abs(block.y - y) <= 1 && + !(x == block.x && y == block.y) + ) { + // 记录怪物的x,y,ID + guards.push([block.x, block.y, id]); } + + // 抱团 + if ( + e && + core.hasSpecial(mon_special, 8) && + core.hasSpecial(e.special, 8) && + !(dx == 0 && dy == 0) && + dx < 3 && + dy < 3 + ) { + atk_buff += enemy.together || 0; + def_buff += enemy.together || 0; + } + + // 冰封光环 + if ( + e && + core.hasSpecial(e.special, 21) && + x != null && + y != null && + dx < 4 && + dy < 4 + ) { + iceDecline += e.iceHalo; + } + + // TODO:如果有其他类型光环怪物在这里仿照添加检查 + // 注:新增新的类光环属性(需要遍历全图的)需要在特殊属性定义那里的第五项写1,参见光环和支援的特殊属性定义。 }); core.status.checkBlock.cache[index] = { hp_buff: hp_buff, atk_buff: atk_buff, def_buff: def_buff, - guards: guards + guards: guards, + iceHalo: iceDecline }; } else { // 直接使用缓存数据 @@ -908,6 +911,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { atk_buff = cache.atk_buff; def_buff = cache.def_buff; guards = cache.guards; + iceDecline = cache.iceHalo; } // 增加比例;如果要增加数值可以直接在这里修改 @@ -931,7 +935,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { exp: Math.floor(mon_exp), point: Math.floor(mon_point), special: mon_special, - guards: guards // 返回支援情况 + guards: guards, // 返回支援情况 + iceDecline }; }, getDamageInfo: function (enemy, hero, x, y, floorId) { @@ -1011,12 +1016,12 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { if (core.hasSpecial(mon_special, 5)) per_damage *= 3; if (core.hasSpecial(mon_special, 6)) per_damage *= enemy.n || 4; // 勇士每回合对怪物造成的伤害 + let hero_per_damage = Math.max(hero_atk - mon_def, 0); if (!core.hasSpecial(mon_special, 9)) { - var hero_per_damage = Math.max(hero_atk - mon_def, 0); + hero_per_damage = Math.max(hero_atk - mon_def, 0); if (hero_per_damage > 0) hero_per_damage += hero_extraAtk; - } - if (core.hasSpecial(mon_special, 9)) { - var hero_per_damage = Math.max( + } else { + hero_per_damage = Math.max( hero_atk + hero_extraAtk - mon_def, 0 ); @@ -1025,6 +1030,15 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { // 如果没有破防,则不可战斗 if (hero_per_damage <= 0) return null; + if ( + core.hasSpecial(mon_special, 20) && + !core.hasEquip('I589') + ) { + hero_per_damage *= 1 - enemy.ice / 100; + } + + hero_per_damage *= 1 - enemyInfo.iceDecline / 100; + // 勇士的攻击回合数;为怪物生命除以每回合伤害向上取整 let turn = Math.ceil(mon_hp / hero_per_damage); @@ -1437,20 +1451,36 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { core.updateCheckBlock(); // 更新全地图显伤 core.updateDamage(); + + // 已学习的技能 + if ( + core.getSkillLevel(11) > 0 && + (core.status.hero.special?.num ?? []).length > 0 + ) { + core.plugin.showStudiedSkill.value = true; + } else { + core.plugin.showStudiedSkill.value = false; + } }, updateCheckBlock: function (floorId) { // 领域、夹击、阻击等的伤害值计算 floorId = floorId || core.status.floorId; if (!floorId || !core.status.maps) return; + const haloMap = { + 21: 'square:7:cyan' + }; + const haloEntry = Object.entries(haloMap); + var width = core.floors[floorId].width, height = core.floors[floorId].height; var blocks = core.getMapBlocksObj(floorId); - var damage = {}, // 每个点的伤害值 + const damage = {}, // 每个点的伤害值 type = {}, // 每个点的伤害类型 repulse = {}, // 每个点的阻击怪信息 - mockery = {}; // 电摇嘲讽 + mockery = {}, // 电摇嘲讽 + halo = {}; // 光环 var betweenAttackLocs = {}; // 所有可能的夹击点 var needCache = false; var canGoDeadZone = core.flags.canGoDeadZone; @@ -1680,6 +1710,16 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { ) needCache = true; if (specialFlag & 2) haveHunt = true; + + if (enemy) { + for (const [num, range] of haloEntry) { + const n = parseInt(num); + if (core.hasSpecial(enemy.special, n)) { + halo[loc] ??= []; + halo[loc].push(range); + } + } + } } // 对每个可能的夹击点计算夹击伤害 @@ -1758,7 +1798,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { mockery, needCache: needCache, cache: {}, // clear cache - haveHunt: haveHunt + haveHunt: haveHunt, + halo }; }, moveOneStep: function (callback) { diff --git a/public/project/icons.js b/public/project/icons.js index f3a13af..b2eeac3 100644 --- a/public/project/icons.js +++ b/public/project/icons.js @@ -112,7 +112,16 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "T552": 52, "T553": 53, "T554": 54, - "T555": 55 + "T555": 55, + "T580": 56, + "T581": 57, + "T582": 58, + "T583": 59, + "T584": 60, + "T585": 61, + "T586": 62, + "T587": 63, + "T588": 64 }, "animates": { "star": 0, @@ -343,7 +352,21 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "E576": 131, "E577": 132, "E578": 133, - "E579": 134 + "E579": 134, + "E590": 135, + "E591": 136, + "E592": 137, + "E593": 138, + "E594": 139, + "E595": 140, + "E596": 141, + "E597": 142, + "E598": 143, + "E599": 144, + "E600": 145, + "E601": 146, + "E602": 147, + "E603": 148 }, "enemy48": { "angel": 0, @@ -536,7 +559,8 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "I560": 97, "I565": 98, "I574": 99, - "I575": 100 + "I575": 100, + "I589": 101 }, "autotile": { "autotile": 0, @@ -546,6 +570,9 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "autotile4": 0, "autotile5": 0, "autotile6": 0, - "autotile7": 0 + "autotile7": 0, + "autotile8": 0, + "autotile9": 0, + "autotile10": 0 } } \ No newline at end of file diff --git a/public/project/items.js b/public/project/items.js index 7605b54..2535ed8 100644 --- a/public/project/items.js +++ b/public/project/items.js @@ -1326,5 +1326,18 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "atk": 10 } } + }, + "I589": { + "cls": "equips", + "name": "杰克的衣服", + "canUseItemEffect": "true", + "text": "杰克为主角留下的衣服,可以抵御寒冷。防御+25,免疫怪物的霜冻属性。", + "equip": { + "type": "衣服", + "value": { + "def": 25 + }, + "percentage": {} + } } } \ No newline at end of file diff --git a/public/project/maps.js b/public/project/maps.js index e552ef1..1b52db8 100644 --- a/public/project/maps.js +++ b/public/project/maps.js @@ -115,6 +115,9 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "142": {"cls":"autotile","id":"autotile5"}, "143": {"cls":"autotile","id":"autotile6"}, "144": {"cls":"autotile","id":"autotile7"}, + "145": {"cls":"autotile","id":"autotile8"}, + "146": {"cls":"autotile","id":"autotile9","canPass":true}, + "147": {"cls":"autotile","id":"autotile10"}, "151": {"cls":"autotile","id":"autotile1"}, "152": {"cls":"autotile","id":"autotile2"}, "153": {"cls":"autotile","id":"autotile3"}, @@ -504,6 +507,30 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "577": {"cls":"enemys","id":"E577"}, "578": {"cls":"enemys","id":"E578"}, "579": {"cls":"enemys","id":"E579"}, + "580": {"cls":"terrains","id":"T580","canPass":true}, + "581": {"cls":"terrains","id":"T581"}, + "582": {"cls":"terrains","id":"T582"}, + "583": {"cls":"terrains","id":"T583"}, + "584": {"cls":"terrains","id":"T584"}, + "585": {"cls":"terrains","id":"T585"}, + "586": {"cls":"terrains","id":"T586"}, + "587": {"cls":"terrains","id":"T587"}, + "588": {"cls":"terrains","id":"T588"}, + "589": {"cls":"items","id":"I589"}, + "590": {"cls":"enemys","id":"E590"}, + "591": {"cls":"enemys","id":"E591"}, + "592": {"cls":"enemys","id":"E592"}, + "593": {"cls":"enemys","id":"E593"}, + "594": {"cls":"enemys","id":"E594"}, + "595": {"cls":"enemys","id":"E595"}, + "596": {"cls":"enemys","id":"E596"}, + "597": {"cls":"enemys","id":"E597"}, + "598": {"cls":"enemys","id":"E598"}, + "599": {"cls":"enemys","id":"E599"}, + "600": {"cls":"enemys","id":"E600"}, + "601": {"cls":"enemys","id":"E601"}, + "602": {"cls":"enemys","id":"E602"}, + "603": {"cls":"enemys","id":"E603"}, "20037": {"cls":"tileset","id":"X20037","cannotOut":["up","left"],"cannotIn":["up","left"]}, "20038": {"cls":"tileset","id":"X20038","cannotOut":["up"],"cannotIn":["up"]}, "20039": {"cls":"tileset","id":"X20039","cannotOut":["up","right"],"cannotIn":["up","right"]}, diff --git a/public/project/materials/enemys.png b/public/project/materials/enemys.png index 11356b3..7a51db6 100644 Binary files a/public/project/materials/enemys.png and b/public/project/materials/enemys.png differ diff --git a/public/project/materials/items.png b/public/project/materials/items.png index 9d2b217..88f43e1 100644 Binary files a/public/project/materials/items.png and b/public/project/materials/items.png differ diff --git a/public/project/materials/terrains.png b/public/project/materials/terrains.png index 3ba5468..dec89e9 100644 Binary files a/public/project/materials/terrains.png and b/public/project/materials/terrains.png differ diff --git a/public/project/plugins.js b/public/project/plugins.js index e86adfa..afbd3de 100644 --- a/public/project/plugins.js +++ b/public/project/plugins.js @@ -1640,7 +1640,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { false ); if (!firstNoPass) return; - core.status.hero.hp -= 200 * flags.hard; + if (flags.chapter <= 1) core.status.hero.hp -= 200 * flags.hard; core.updateStatusBar(); flags['jump_' + core.status.floorId]++; if (core.status.hero.hp <= 0) { @@ -4103,7 +4103,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { title: '学习', desc: [ '主动技能,可以消耗500智慧学习一个怪物的技能,', - '持续5场战斗,每学习一次消耗的智慧点增加200,每次升级使持续的战斗次数增加3次。更多信息可在学习后在百科全书查看。' + '持续5场战斗,每学习一次消耗的智慧点增加250,每次升级使持续的战斗次数增加3次。更多信息可在学习后在百科全书查看。' ], consume: '2500 * level ** 2 + 2500', front: [ @@ -4528,7 +4528,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { 1: ['crit'], 6: ['n'], 7: ['hungry'], - 8: ['togrther'], + 8: ['together'], 10: ['courage'], 11: ['charge'] }; @@ -4536,10 +4536,10 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { const cannotStudy = [9, 12, 14, 15, 24]; this.canStudySkill = function (number) { - core.status.hero.special ??= { num: [] }; - if (core.status.hero.special.num.length >= 1) { - return false; - } + const s = (core.status.hero.special ??= { num: [], last: [] }); + if (core.getSkillLevel(11) === 0) return false; + if (s.num.length >= 1) return false; + if (s.num.includes(number)) return false; if (cannotStudy.includes(number)) return false; return true; }; @@ -4577,7 +4577,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { }; this.declineStudiedSkill = function () { - const s = core.status.hero.special; + const s = (core.status.hero.special ??= { num: [], last: [] }); s.last = s.last.map(v => v - 1); }; @@ -4590,5 +4590,58 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { } } }; + }, + haloRange: function () { + /** + * 绘制光环范围 + * @param {CanvasRenderingContext2D} ctx + * @param {boolean} onMap + */ + this.drawHalo = function (ctx, onMap) { + if (main.replayChecking) return; + if (!core.getLocalStorage('showHalo', true)) return; + const halo = core.status.checkBlock.halo; + ctx.save(); + core.clearMap(ctx); + ctx.globalAlpha = 0.1; + ctx.globalCompositeOperation = 'source-over'; + for (const [loc, range] of Object.entries(halo)) { + const [x, y] = loc.split(',').map(v => parseInt(v)); + for (const r of range) { + const [type, value, color, border] = r.split(':'); + if (type === 'square') { + // 正方形光环 + const n = parseInt(value); + const r = Math.floor(n / 2); + let left = x - r, + right = x + r, + top = y - r, + bottom = y + r; + if (onMap && core.bigmap.v2) { + left -= core.bigmap.posX; + top -= core.bigmap.posY; + right -= core.bigmap.posX; + bottom -= core.bigmap.posY; + if ( + right < -1 || + left > core._PX_ / 32 + 1 || + top < -1 || + bottom > core._PY_ / 32 + 1 + ) { + continue; + } + } + ctx.fillStyle = color; + ctx.strokeStyle = border ?? color; + ctx.lineWidth = 1; + ctx.fillRect(left * 32, top * 32, n * 32, n * 32); + ctx.globalAlpha = 0.6; + ctx.strokeRect(left * 32, top * 32, n * 32, n * 32); + ctx.globalAlpha = 0.1; + } + } + } + ctx.restore(); + }; } }; diff --git a/public/project/tilesets/winter1.png b/public/project/tilesets/winter1.png new file mode 100644 index 0000000..32fb888 Binary files /dev/null and b/public/project/tilesets/winter1.png differ diff --git a/public/project/tilesets/winter2.png b/public/project/tilesets/winter2.png new file mode 100644 index 0000000..4679603 Binary files /dev/null and b/public/project/tilesets/winter2.png differ diff --git a/public/project/tilesets/winter3.png b/public/project/tilesets/winter3.png new file mode 100644 index 0000000..9b10b0c Binary files /dev/null and b/public/project/tilesets/winter3.png differ diff --git a/src/App2.vue b/src/App2.vue index 17b94fd..2eeaa7a 100644 --- a/src/App2.vue +++ b/src/App2.vue @@ -1,7 +1,10 @@ - + + @@ -9,11 +12,13 @@ diff --git a/src/ui/markedEnemy.vue b/src/ui/markedEnemy.vue index 0f47799..ce0e50d 100644 --- a/src/ui/markedEnemy.vue +++ b/src/ui/markedEnemy.vue @@ -9,6 +9,7 @@ v-model:width="getBoxPos(v).width" v-model:height="getBoxPos(v).height" :resizable="true" + :dragable="true" > diff --git a/src/ui/settings.vue b/src/ui/settings.vue index 9623aea..c6e8e13 100644 --- a/src/ui/settings.vue +++ b/src/ui/settings.vue @@ -34,6 +34,23 @@ autoScale ? 'ON' : 'OFF' }} + 展示范围光环: {{ + showHalo ? 'ON' : 'OFF' + }} + 展示已学习技能: {{ + showStudied ? 'ON' : 'OFF' + }} ('transition'); const descText = computed(() => { @@ -77,6 +98,8 @@ function click(id: keyof Settings) { autoSkill.value = !autoSkill.value; } else if (id === 'autoScale') { autoScale.value = !autoScale.value; + } else if (id === 'showHalo') { + showHalo.value = !showHalo.value; } } diff --git a/src/ui/statusBar.vue b/src/ui/statusBar.vue index b7ced59..4c796cc 100644 --- a/src/ui/statusBar.vue +++ b/src/ui/statusBar.vue @@ -1,6 +1,11 @@ - + {{ floor }} @@ -271,7 +276,7 @@ function openStudy() {} .status-extra { position: absolute; - right: 15%; + right: 10%; bottom: 0; font-size: 1.6vw; } diff --git a/src/ui/studied.vue b/src/ui/studied.vue new file mode 100644 index 0000000..919cfc2 --- /dev/null +++ b/src/ui/studied.vue @@ -0,0 +1,115 @@ + + + + + + + + + {{ i }}. {{ skills[i] }},剩余{{ + last[i] + }}场战斗 + + + {{ hint(num) }} + + + + + + + + +