mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-31 23:29:27 +08:00
fix: 跳跃显示
This commit is contained in:
parent
c267622f8f
commit
29359364b3
@ -7,7 +7,6 @@ import * as removeMap from './removeMap';
|
||||
import * as shop from './shop';
|
||||
import * as skill from './skill';
|
||||
import * as skillTree from './skillTree';
|
||||
import * as towerBoss from './towerBoss';
|
||||
import * as utils from './utils';
|
||||
import * as chase from './chase';
|
||||
import * as remainEnemy from './enemy/remainEnemy';
|
||||
@ -22,7 +21,6 @@ Mota.Plugin.register('skillTree_g', skillTree);
|
||||
Mota.Plugin.register('removeMap_g', removeMap);
|
||||
Mota.Plugin.register('chase_g', chase);
|
||||
Mota.Plugin.register('skill_g', skill);
|
||||
Mota.Plugin.register('towerBoss_g', towerBoss);
|
||||
Mota.Plugin.register('fiveLayer_g', fiveLayer, fiveLayer.init);
|
||||
Mota.Plugin.register('itemDetail_g', itemDetail, itemDetail.init);
|
||||
// Mota.Plugin.register('study_g', study);
|
||||
|
@ -42,7 +42,7 @@
|
||||
}}/t</span
|
||||
>
|
||||
<span
|
||||
v-if="has(jumpCnt)"
|
||||
v-if="jumpCnt !== -1"
|
||||
id="status-jump"
|
||||
class="status-extra"
|
||||
>跳跃剩余{{ jumpCnt }}</span
|
||||
@ -207,9 +207,9 @@ function update() {
|
||||
|
||||
jumpCnt.value =
|
||||
HeroSkill.learnedSkill(HeroSkill.Jump) &&
|
||||
!Mota.Plugin.require('skill_g').jumpIgnoreFloor.has(core.status.floorId)
|
||||
? 3 - (flags[`jump_${core.status.floorId}`] ?? 0)
|
||||
: void 0;
|
||||
Mota.Plugin.require('skill_g').jumpIgnoreFloor.has(core.status.floorId)
|
||||
? -1
|
||||
: 3 - (flags[`jump_${core.status.floorId}`] ?? 0);
|
||||
}
|
||||
|
||||
function openSkillTree() {
|
||||
|
Loading…
Reference in New Issue
Block a user