@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
32 lines • 1.18 kB
JavaScript
/**
* Light Turret - Temporary automated defense turret deployed by field commanders
* Defensive building with timed life and area denial capabilities
*/
import { Attack } from "../../../../engine/ability.js";
import { ProtectorateSpecialBuilding } from "../../../../defaults/protectorate.js";
export class LightTurret extends ProtectorateSpecialBuilding {
constructor() {
super();
this.buildTime = 3;
this.timedLife = 120;
this.name = "Light Turret";
this.tier = "T0";
this.uuid = "673bb3ae-8e9f-476a-b22d-27670c043de6";
this.hp = 300;
this.attacks.cannon = new Attack({
name: "Attack",
targets: ["air", "ground"],
damage: 10,
cooldown: 0.7,
range: 1350,
splash: { multiplier: 1.0, range: 60 },
parentId: this.id,
parentUUID: this.uuid,
});
// Building relationships - spell-summoned, not part of tech tree
}
}
// Static property for source path
LightTurret.src = "src/zerospace/faction/protectorate/building/light-turret.ts";
export default LightTurret;
//# sourceMappingURL=light-turret.js.map