@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
83 lines • 3.38 kB
JavaScript
"use strict";
/**
* Arandi Time Warper - Elite interdimensional unit
* Represents the absolute pinnacle of interdimensional mastery
* Masters of temporal manipulation and battlefield control
*/
Object.defineProperty(exports, "__esModule", { value: true });
const arandi_js_1 = require("../../../../defaults/arandi.cjs");
const ability_js_1 = require("../../../../engine/ability.cjs");
class ArandiTimeWarper extends arandi_js_1.ArandiMercUnit {
constructor() {
super();
// Auto-generated fixes from dev data comparison
this.hexiteCost = 50;
this.fluxCost = 200;
this.name = "Time Warper";
this.tier = "T3";
this.hotkey = "W";
this.uuid = "e6340371-da00-463a-9de1-34d014faa612";
// Internal game engine data
this.internalId = "Troop_Arandi_Ball_C";
this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Arandi_Ball.Default__Troop_Arandi_Ball_C";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.FlyingUnit", "Attackable.ArmorType.Medium"];
this.internalSecondaryTags = ["Air", "Vehicle"];
this.description =
"Flying unit that can teleport friendly units to its location. It can enter a siege mode where it slows enemy units in an area.";
// Mutable properties (can be modified by upgrades)
this.hp = 350;
this.shields = 0;
this.armor = 0;
this.armorType = "light";
this.speed = 500;
this.supply = 6;
this.turnSpeed = 3000;
this.vision = 1800;
this.pushability = 1;
// this.infuseCost = 14; // Remove - readonly property
// Primary attack - Light Pulse Cannon
this.attacks.lightPulseCannon = new ability_js_1.Attack({
name: "Light Pulse Cannon",
damage: 15,
range: 1200,
cooldown: 0.7,
cooldownBetweenShots: 1,
armorPenetration: 0,
delay: 0,
targets: ["ground", "air"],
description: "Concentrated packets of accelerated time that age targets rapidly",
parentId: this.id,
parentUUID: this.uuid,
});
// B - Teleport
this.spells.teleport = new ability_js_1.Spell({
name: "Teleport",
hotkey: "B",
cooldown: 120,
energyCost: 0,
energyType: "classic",
range: 300,
targets: ["map"], // REMOVED: targetType: "location", // Not valid in Spell type
description: "Teleport friendly units to the caster location. 300 radius.",
parentId: this.id,
parentUUID: this.uuid,
});
// N - Phase (Siege Mode)
this.spells.phase = new ability_js_1.Spell({
name: "Phase",
hotkey: "N",
cooldown: 1,
energyCost: 0,
energyType: "classic",
abilityType: "toggle",
togglesMode: "siege",
description: "Siege ability. Slow attack and movement speed of enemy units in area (-50%)",
parentId: this.id,
parentUUID: this.uuid,
});
}
}
// Static property for source path
ArandiTimeWarper.src = "src/zerospace/mercenary/arandi/unit/arandi-time-warper.ts";
exports.default = ArandiTimeWarper;
//# sourceMappingURL=arandi-time-warper.js.map