@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
47 lines • 1.9 kB
JavaScript
/**
* Valkaru Flame Walker - Fire-based assault trooper with incendiary weapons and heat-resistant armor
* T1 area damage specialist that excels at crowd control and fortification destruction
*/
import { Attack } from "../../../../engine/ability.js";
import { ValkaruMercUnit } from "../../valkaru-classes.js";
import ValkaruMercOutpost from "../building/valkaru-merc-outpost.js";
class ValkaruFlameWalker extends ValkaruMercUnit {
constructor() {
super();
this.name = "Valkaru Flame Walker";
this.tier = "T1";
this.hotkey = "";
this.hexiteCost = 125;
this.fluxCost = 50;
this.buildTime = 30;
this.buildCount = 1;
this.uuid = "b03e88d5-5879-4fa0-89d0-0afdd7ed5db1";
this.description = "Heavy ranged infantry which deals damage in a line. Deals bonus damage vs light units.";
// Mutable properties (can be modified by upgrades)
this.shortName = "Flame Walker";
this.hp = 250;
this.shields = 0;
this.armor = 2;
this.armorType = "medium";
this.speed = 400;
this.supply = 2;
// Relationships
this.createdBy = [ValkaruMercOutpost.id];
this.unlockedBy = [ValkaruMercOutpost.id];
// Flame Burst attack - area damage specialist
this.attacks.flameBurst = new Attack({
name: "Flame Burst",
damage: 35,
cooldown: 2.0,
range: 450,
targets: ["ground"],
description: "Incendiary projectiles that create sustained burning damage across enemy formations",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
// Static property for source path
ValkaruFlameWalker.src = "src/zerospace/mercenary/valkaru/unit/valkaru-flame-walker.ts";
export default ValkaruFlameWalker;
//# sourceMappingURL=valkaru-flame-walker.js.map