@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
54 lines • 1.97 kB
JavaScript
"use strict";
/**
* Arandi Judgment - Unit that provides armor buffs to nearby allies
* Flying unit with piercing slow projectile attack
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArandiJudgment = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const unit_js_1 = require("../../../../engine/unit.cjs");
class ArandiJudgment extends unit_js_1.MercUnit {
constructor() {
super();
this.hexiteCost = 100;
this.fluxCost = 0;
this.buildTime = 20;
this.buildCount = 1;
this.name = "Judgment";
this.tier = "T4";
this.supply = 6;
this.faction = "arandi";
this.factionName = "Arandi";
this.uuid = "3493bcca-f6ab-4d97-9bfb-161b81687fb7";
// Unit stats
this.hp = 600;
this.shields = 0;
this.armor = 2;
this.armorType = "light";
this.speed = 550;
this.vision = 1600;
this.domain = "air";
this.internalTags = ["Attackable.Unit.Troop", "Attackable.FlyingUnit", "Attackable.ArmorType.Light"];
this.internalSecondaryTags = ["Infantry"];
this.description =
"Flying unit that provides armor to nearby friendly units when it attacks. Targets ground units with piercing slow projectile.";
// Energy Pulsar attack
this.attacks.energyPulsar = new ability_js_1.Attack({
name: "Energy Pulsar",
damage: 50,
cooldown: 2.4,
cooldownBetweenShots: 2.4,
armorPenetration: 0,
delay: 0,
range: 1300,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
exports.ArandiJudgment = ArandiJudgment;
// Static property for source path
ArandiJudgment.src = "src/zerospace/mercenary/arandi/unit/arandi-judgment.ts";
exports.default = ArandiJudgment;
//# sourceMappingURL=arandi-judgment.js.map