mirror of
				https://github.com/unanmed/HumanBreak.git
				synced 2025-11-04 07:02:58 +08:00 
			
		
		
		
	fix: 装备录像 & boss战
This commit is contained in:
		
							parent
							
								
									56365b38df
								
							
						
					
					
						commit
						5c449c6abd
					
				@ -1763,7 +1763,7 @@ control.prototype._replayAction_equip = function (action) {
 | 
			
		||||
 | 
			
		||||
    const cb = function () {
 | 
			
		||||
        const next = core.status.replay.toReplay[0] || '';
 | 
			
		||||
        if (!next.startsWith('equip:') && !next.startsWith('unEquip:')) {
 | 
			
		||||
        if (!next.startsWith('equip:') && !next.startsWith('unequip:')) {
 | 
			
		||||
            core.removeFlag('__doNotCheckAutoEvents__');
 | 
			
		||||
            core.checkAutoEvents();
 | 
			
		||||
        }
 | 
			
		||||
@ -1803,7 +1803,7 @@ control.prototype._replayAction_unEquip = function (action) {
 | 
			
		||||
 | 
			
		||||
    var cb = function () {
 | 
			
		||||
        var next = core.status.replay.toReplay[0] || '';
 | 
			
		||||
        if (!next.startsWith('equip:') && !next.startsWith('unEquip:')) {
 | 
			
		||||
        if (!next.startsWith('equip:') && !next.startsWith('unequip:')) {
 | 
			
		||||
            core.removeFlag('__doNotCheckAutoEvents__');
 | 
			
		||||
            core.checkAutoEvents();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@ -689,8 +689,6 @@ utils.prototype._encodeRoute_encodeOne = function (t) {
 | 
			
		||||
    if (t.startsWith('item:'))
 | 
			
		||||
        return 'I' + this._encodeRoute_id2number(t.slice(5)) + ':';
 | 
			
		||||
    else if (t.startsWith('unEquip:')) return 'u' + t.slice(8);
 | 
			
		||||
    else if (t.startsWith('equip:'))
 | 
			
		||||
        return 'e' + this._encodeRoute_id2number(t.slice(6)) + ':';
 | 
			
		||||
    else if (t.startsWith('saveEquip:')) return 's' + t.slice(10);
 | 
			
		||||
    else if (t.startsWith('loadEquip:')) return 'l' + t.slice(10);
 | 
			
		||||
    else if (t.startsWith('fly:')) return 'F' + t.slice(4) + ':';
 | 
			
		||||
 | 
			
		||||
@ -193,7 +193,7 @@ export class TowerBoss extends BarrageBoss {
 | 
			
		||||
        TowerBoss.effect.end();
 | 
			
		||||
        core.status.hero.hp = this.heroHp;
 | 
			
		||||
 | 
			
		||||
        Mota.Plugin.require('replay_g').clip('choice:0');
 | 
			
		||||
        Mota.Plugin.require('replay_g').clip('choices:0');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user