From d99278c0367a6a6f04112486a4cc53d6d0e04852 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sun, 17 Nov 2024 22:36:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=89=B9=E6=AE=8A=E6=88=98=E5=89=8D?= =?UTF-8?q?=E5=90=8E=E5=8B=87=E5=A3=AB=E8=A1=80=E9=87=8F=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E4=B8=8D=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugin/boss/towerBoss.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugin/boss/towerBoss.ts b/src/plugin/boss/towerBoss.ts index 9ae9909..ab88a14 100644 --- a/src/plugin/boss/towerBoss.ts +++ b/src/plugin/boss/towerBoss.ts @@ -119,6 +119,8 @@ export class TowerBoss extends BarrageBoss { /** 技能7的释放间隔 */ private skill7Interval: number = 10000; + private heroHp: number = 0; + constructor() { super(); @@ -168,6 +170,8 @@ export class TowerBoss extends BarrageBoss { TowerBoss.effect.start(); TowerBoss.effect.use(); + + this.heroHp = core.status.hero.hp; } override end() { @@ -189,6 +193,7 @@ export class TowerBoss extends BarrageBoss { AttackProjectile.end(); TowerBoss.effect.end(); + core.status.hero.hp = this.heroHp; Mota.Plugin.require('replay_g').clip('choice:0'); }