@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
36 lines • 1.35 kB
JavaScript
;
/**
* Light Turret - Temporary automated defense turret deployed by field commanders
* Defensive building with timed life and area denial capabilities
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.LightTurret = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const protectorate_js_1 = require("../../../../defaults/protectorate.cjs");
class LightTurret extends protectorate_js_1.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 ability_js_1.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
}
}
exports.LightTurret = LightTurret;
// Static property for source path
LightTurret.src = "src/zerospace/faction/protectorate/building/light-turret.ts";
exports.default = LightTurret;
//# sourceMappingURL=light-turret.js.map