@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
53 lines • 2.24 kB
JavaScript
/**
* Marran Hover Tank - T1 fast mobile platform with superior shields
* Mobile evolution of fortress world defensive philosophy
*/
import { MarranMercUnit } from "../../../../defaults/marran.js";
import { Attack } from "../../../../engine/ability.js";
export class MarranHoverTank extends MarranMercUnit {
constructor() {
super();
this.hexiteCost = 200;
this.fluxCost = 0;
this.buildCount = 2;
this.name = "Marran Hover Tank";
this.tier = "T1";
this.internalId = "Troop_MarranHoverTank_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_MarranHoverTank.Default__Troop_MarranHoverTank_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.ArmorType.Medium"];
this.internalSecondaryTags = ["Vehicle"];
this.uuid = "41898d3e-2574-42c6-94e8-87a7d9693f4a";
this.description = "Fast moving hovertank with fast recharging shields. Attacks ground and air units.";
// Set short name
this.shortName = "Hover Tank";
// Mutable properties - fast mobile platform with shield superiority
this.supply = 3;
this.hp = 100;
this.shields = 200; // Superior shield-to-hull ratio
this.armorType = "medium";
this.speed = 800; // Extremely fast for rapid response
this.turnSpeed = 10000;
this.pushability = 0.45;
// TODO: Convert to getter - this.infuseCost = 5;
// Relationships
this.createdBy = ["mercenary/marran/building/marran-merc-outpost"];
this.unlockedBy = ["mercenary/marran/building/marran-merc-outpost"];
// Abilities using direct constructors
this.attacks.attack = new Attack({
name: "Attack",
damage: 11,
cooldown: 0.6,
cooldownBetweenShots: 0.6,
armorPenetration: 0,
delay: 0.01,
range: 700,
targets: ["air", "ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
// Static property for source path
MarranHoverTank.src = "src/zerospace/mercenary/marran/unit/marran-hover-tank.ts";
export default MarranHoverTank;
//# sourceMappingURL=marran-hover-tank.js.map