UNPKG

@zerospacegg/iolin

Version:

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

58 lines 2.38 kB
"use strict"; /** * Dread Flamer - Elite T3 flame unit with arc attack capabilities * Heavy armored revolutionary who uses fire as both weapon and symbol of liberation */ Object.defineProperty(exports, "__esModule", { value: true }); const dread_js_1 = require("../../../../defaults/dread.cjs"); const ability_js_1 = require("../../../../engine/ability.cjs"); class DreadFlamer extends dread_js_1.DreadRaidersMercUnit { constructor() { super(); this.hexiteCost = 100; this.fluxCost = 200; this.name = "Dread Flamer"; this.tier = "T3"; this.hotkey = ""; this.internalId = "Troop_Dread_Flamer_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Dread_Flamer.Default__Troop_Dread_Flamer_C"; this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Heavy"]; this.internalSecondaryTags = ["Vehicle"]; 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 = 1000; this.shields = 0; this.armor = 1; this.armorType = "heavy"; this.speed = 450; this.supply = 6; this.turnSpeed = 1000; this.pushability = 0.45; // TODO: Convert to getter - this.infuseCost = 16; // Relationships this.createdBy = ["mercenary/dread/building/dread-merc-outpost"]; this.unlockedBy = ["mercenary/dread/building/dread-merc-outpost"]; // Primary attack this.attacks.attack = new ability_js_1.Attack({ name: "Attack", damage: 8, volleys: 2, cooldown: 0.25, cooldownBetweenShots: 0, armorPenetration: 0, delay: 0.01, 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"; exports.default = DreadFlamer; //# sourceMappingURL=dread-flamer.js.map