UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

49 lines 1.87 kB
/** * Dread Flamer - Elite T3 flame unit with arc attack capabilities * Heavy armored revolutionary who uses fire as both weapon and symbol of liberation */ import { Attack } from "../../../../engine/ability.js"; import { DreadRaidersMercUnit } from "../../dread-classes.js"; import DreadMercOutpost from "../building/dread-merc-outpost.js"; class DreadFlamer extends DreadRaidersMercUnit { constructor() { super(); this.name = "Dread Flamer"; this.tier = "T3"; this.hotkey = ""; this.hexiteCost = 100; this.fluxCost = 200; this.buildTime = 45; this.buildCount = 3; this.uuid = "2f95493e-6fee-4d2e-a722-9c537690c413"; this.description = "Heavy tank with short range area damage. Deals bonus damage vs light units. Attacks ground units."; // Mutable properties (can be modified by upgrades) this.shortName = "Flamer"; this.hp = 1150; this.shields = 0; this.armor = 1; this.armorType = "heavy"; this.speed = 500; this.supply = 6; // TODO: Convert to getter - this.infuseCost = 16; // Relationships this.createdBy = [DreadMercOutpost.id]; this.unlockedBy = [DreadMercOutpost.id]; // Primary attack this.attacks.attack = new Attack({ name: "Attack", damage: 8, volleys: 2, cooldown: 0.25, range: 350, targets: ["ground"], // REMOVED: arcAngle: 40, // Not valid in Attack type bonusDamage: [{ multiplier: 1.5, vs: ["armor:light"] }], parentId: this.id, parentUUID: this.uuid, }); } } // Static property for source path DreadFlamer.src = "src/zerospace/mercenary/dread/unit/dread-flamer.ts"; export default DreadFlamer; //# sourceMappingURL=dread-flamer.js.map