mirror of
				https://github.com/unanmed/HumanBreak.git
				synced 2025-11-04 15:12:58 +08:00 
			
		
		
		
	完善第一章
This commit is contained in:
		
							parent
							
								
									b9fa8561d6
								
							
						
					
					
						commit
						fbed8fb725
					
				@ -3349,8 +3349,8 @@ maps.prototype.setBlock = function (number, x, y, floorId, noredraw) {
 | 
				
			|||||||
                if (!noredraw) {
 | 
					                if (!noredraw) {
 | 
				
			||||||
                    core.drawBlock(block);
 | 
					                    core.drawBlock(block);
 | 
				
			||||||
                    core.addGlobalAnimate(block);
 | 
					                    core.addGlobalAnimate(block);
 | 
				
			||||||
 | 
					                    core.updateStatusBar();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                core.updateStatusBar();
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -39,7 +39,8 @@ main.floors.MT17=
 | 
				
			|||||||
            "在地图上拥有追猎怪物的时候无法瞬移"
 | 
					            "在地图上拥有追猎怪物的时候无法瞬移"
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "13,6": [
 | 
					        "13,6": [
 | 
				
			||||||
            "这个绝对坚固怪能刷血还是尽量刷吧,塔里面有盾,拿了盾之后差不多就能防杀了,大概可以刷10w血"
 | 
					            "这个绝对坚固怪能刷血还是尽量刷吧,塔里面有盾,拿了盾之后差不多就能防杀了,大概可以刷10w血",
 | 
				
			||||||
 | 
					            "注意,如果你开启了自动切换技能,那么当你未防杀他的时候系统可能会自动选择开启技能导致你破了防。这时候你需要自行计算距离不开技能破防还需要吃多少攻"
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "changeFloor": {
 | 
					    "changeFloor": {
 | 
				
			||||||
 | 
				
			|||||||
@ -158,7 +158,7 @@ main.floors.tower1=
 | 
				
			|||||||
    "cannotMove": {},
 | 
					    "cannotMove": {},
 | 
				
			||||||
    "map": [
 | 
					    "map": [
 | 
				
			||||||
    [527,527,527,527,527,527,527,527,527,527,527,527,527,527,527],
 | 
					    [527,527,527,527,527,527,527,527,527,527,527,527,527,527,527],
 | 
				
			||||||
    [527, 87,381,381,381,492,  0, 32,  0,492,  0,484,528,  0,527],
 | 
					    [527, 32,381,381,381,492,  0, 87,  0,492,  0,484,528,  0,527],
 | 
				
			||||||
    [527,528,492,528,546,528,528,536,528,528,  0,  0,548, 29,527],
 | 
					    [527,528,492,528,546,528,528,536,528,528,  0,  0,548, 29,527],
 | 
				
			||||||
    [527, 32,381,537,  0, 32,550,  0, 21,  0, 29,  0, 35,  0,527],
 | 
					    [527, 32,381,537,  0, 32,550,  0, 21,  0, 29,  0, 35,  0,527],
 | 
				
			||||||
    [527,494,528,381,528,550,528,528,528,528,528,549,378,484,527],
 | 
					    [527,494,528,381,528,550,528,528,528,528,528,549,378,484,527],
 | 
				
			||||||
@ -237,7 +237,7 @@ main.floors.tower1=
 | 
				
			|||||||
                58
 | 
					                58
 | 
				
			||||||
            ]
 | 
					            ]
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "1,1": {
 | 
					        "7,1": {
 | 
				
			||||||
            "floorId": "tower2",
 | 
					            "floorId": "tower2",
 | 
				
			||||||
            "loc": [
 | 
					            "loc": [
 | 
				
			||||||
                7,
 | 
					                7,
 | 
				
			||||||
 | 
				
			|||||||
@ -65,7 +65,7 @@ main.floors.tower2=
 | 
				
			|||||||
        "7,1": {
 | 
					        "7,1": {
 | 
				
			||||||
            "floorId": "tower1",
 | 
					            "floorId": "tower1",
 | 
				
			||||||
            "loc": [
 | 
					            "loc": [
 | 
				
			||||||
                1,
 | 
					                7,
 | 
				
			||||||
                1
 | 
					                1
 | 
				
			||||||
            ]
 | 
					            ]
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
				
			|||||||
@ -21,14 +21,7 @@ main.floors.tower5=
 | 
				
			|||||||
            "这里是漏怪检测,会检测\r[gold]智慧之塔\r[]区域是否有遗漏怪物",
 | 
					            "这里是漏怪检测,会检测\r[gold]智慧之塔\r[]区域是否有遗漏怪物",
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "type": "function",
 | 
					                "type": "function",
 | 
				
			||||||
                "function": "function(){\ncore.checkEnemy([0, \"tower1\", \"tower2\", \"tower3\", \"tower4\", \"tower5\", \"tower6\"]);\n}"
 | 
					                "function": "function(){\nconst enemy = core.getRemainEnemyString([\"tower1\", \"tower2\", \"tower3\", \"tower4\", \"tower5\", \"tower6\"]);\nif (enemy.length === 0) {\n\tcore.insertAction(['当前无剩余怪物!', { \"type\": \"hide\", \"remove\": true }, ]);\n} else {\n\tcore.insertAction(enemy);\n}\n}"
 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                "type": "if",
 | 
					 | 
				
			||||||
                "condition": "(flag:enemyNumber===0)",
 | 
					 | 
				
			||||||
                "true": [
 | 
					 | 
				
			||||||
                    "请搜刮地上物资,之后此区域无法返回"
 | 
					 | 
				
			||||||
                ]
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
				
			|||||||
@ -1718,9 +1718,6 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
 | 
				
			|||||||
        };
 | 
					        };
 | 
				
			||||||
        // 血条
 | 
					        // 血条
 | 
				
			||||||
        this.healthBar = function (now, total) {
 | 
					        this.healthBar = function (now, total) {
 | 
				
			||||||
            // 关闭小地图
 | 
					 | 
				
			||||||
            flags.__useMinimap__ = false;
 | 
					 | 
				
			||||||
            core.drawMinimap();
 | 
					 | 
				
			||||||
            var nowLength = (now / total) * 476; // 当前血量下绘制长度
 | 
					            var nowLength = (now / total) * 476; // 当前血量下绘制长度
 | 
				
			||||||
            var color = [
 | 
					            var color = [
 | 
				
			||||||
                255 * 2 - (now / total) * 2 * 255,
 | 
					                255 * 2 - (now / total) * 2 * 255,
 | 
				
			||||||
 | 
				
			|||||||
@ -88,12 +88,14 @@
 | 
				
			|||||||
                            >减伤    <span
 | 
					                            >减伤    <span
 | 
				
			||||||
                                :style="{
 | 
					                                :style="{
 | 
				
			||||||
                                    color:
 | 
					                                    color:
 | 
				
			||||||
                                        enemy.criticalDamage < 0
 | 
					                                        enemy.criticalDamage < 0 &&
 | 
				
			||||||
 | 
					                                        !has(enemy.damage)
 | 
				
			||||||
                                            ? 'gold'
 | 
					                                            ? 'gold'
 | 
				
			||||||
                                            : 'lightpink'
 | 
					                                            : 'lightpink'
 | 
				
			||||||
                                }"
 | 
					                                }"
 | 
				
			||||||
                                ><span style="font-family: 'Fira Code'">{{
 | 
					                                ><span style="font-family: 'Fira Code'">{{
 | 
				
			||||||
                                    enemy.criticalDamage < 0
 | 
					                                    enemy.criticalDamage < 0 &&
 | 
				
			||||||
 | 
					                                    !has(enemy.damage)
 | 
				
			||||||
                                        ? isMobile
 | 
					                                        ? isMobile
 | 
				
			||||||
                                            ? '-'
 | 
					                                            ? '-'
 | 
				
			||||||
                                            : '=>'
 | 
					                                            : '=>'
 | 
				
			||||||
 | 
				
			|||||||
@ -13,7 +13,8 @@
 | 
				
			|||||||
    "autoSkill": {
 | 
					    "autoSkill": {
 | 
				
			||||||
        "text": "自动切换技能",
 | 
					        "text": "自动切换技能",
 | 
				
			||||||
        "desc": [
 | 
					        "desc": [
 | 
				
			||||||
            "开启后,打怪物的时候会自动选择伤害最低的技能。同时显伤也会显示此状态下的伤害。"
 | 
					            "开启后,打怪物的时候会自动选择伤害最低的技能。同时显伤也会显示此状态下的伤害,",
 | 
				
			||||||
 | 
					            "临界也会考虑技能在内"
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "autoScale": {
 | 
					    "autoScale": {
 | 
				
			||||||
 | 
				
			|||||||
@ -63,10 +63,10 @@
 | 
				
			|||||||
                >
 | 
					                >
 | 
				
			||||||
                <span
 | 
					                <span
 | 
				
			||||||
                    ><span style="font-family: 'Fira Code'">{{
 | 
					                    ><span style="font-family: 'Fira Code'">{{
 | 
				
			||||||
                        nowDamage[0] < 0 ? '=>' : ''
 | 
					                        nowDamage[0] < 0 && nowDamage[1] === '???' ? '=>' : ''
 | 
				
			||||||
                    }}</span
 | 
					                    }}</span
 | 
				
			||||||
                    >{{
 | 
					                    >{{
 | 
				
			||||||
                        nowDamage[0] < 0
 | 
					                        nowDamage[0] < 0 && nowDamage[1] === '???'
 | 
				
			||||||
                            ? format(-nowDamage[0])
 | 
					                            ? format(-nowDamage[0])
 | 
				
			||||||
                            : format(nowDamage[0])
 | 
					                            : format(nowDamage[0])
 | 
				
			||||||
                    }}</span
 | 
					                    }}</span
 | 
				
			||||||
 | 
				
			|||||||
@ -39,7 +39,7 @@
 | 
				
			|||||||
                    dashed
 | 
					                    dashed
 | 
				
			||||||
                    style="border-color: #ddd4; margin: 1vh 0 1vh 0"
 | 
					                    style="border-color: #ddd4; margin: 1vh 0 1vh 0"
 | 
				
			||||||
                ></a-divider>
 | 
					                ></a-divider>
 | 
				
			||||||
                <Scroll :width="10" id="equip-scroll"
 | 
					                <Scroll id="equip-scroll"
 | 
				
			||||||
                    ><div
 | 
					                    ><div
 | 
				
			||||||
                        class="equip selectable"
 | 
					                        class="equip selectable"
 | 
				
			||||||
                        v-for="([id, num], i) of toShow"
 | 
					                        v-for="([id, num], i) of toShow"
 | 
				
			||||||
@ -662,7 +662,6 @@ onUnmounted(() => {
 | 
				
			|||||||
    flex-direction: row;
 | 
					    flex-direction: row;
 | 
				
			||||||
    justify-content: space-between;
 | 
					    justify-content: space-between;
 | 
				
			||||||
    align-items: center;
 | 
					    align-items: center;
 | 
				
			||||||
    margin: 1vh 1vw 0 0.5vw;
 | 
					 | 
				
			||||||
    padding: 0.5vh 0.5vw 0.5vh 0.5vw;
 | 
					    padding: 0.5vh 0.5vw 0.5vh 0.5vw;
 | 
				
			||||||
    border: #0000 0.5px solid;
 | 
					    border: #0000 0.5px solid;
 | 
				
			||||||
    white-space: nowrap;
 | 
					    white-space: nowrap;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user