mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-14 02:04:30 +08:00
feat: 实装天气系统
This commit is contained in:
1 parent
e1d38ef81b
commit
597333adf7
7 files changed
+32
No files matched your search
@@ -21,6 +21,7 @@ import {
|
||||
} from './towerBossProjectile';
|
||||
import { IStateDamageable } from '@/game/state/interface';
|
||||
import { HeroRenderer } from '@/core/render/preset/hero';
|
||||
import { controller } from '@/module/weather';
|
||||
|
||||
Mota.require('var', 'loading').once('coreInit', () => {
|
||||
const shader = new Shader();
|
||||
@@ -427,6 +428,8 @@ export class TowerBoss extends BarrageBoss {
|
||||
const skill5Release = this.skill5Time * this.skill5Interval;
|
||||
const attack = this.attackTime * this.attackInterval;
|
||||
|
||||
controller.activate('rain', 6);
|
||||
|
||||
if (time > skill4Release) {
|
||||
this.releaseSkill4();
|
||||
this.skill4Time++;
|
||||
|
||||
Reference in new issue
Block a user