UNPKG

@zerospacegg/iolin

Version:

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

50 lines 1.79 kB
/** * Arandi Judgment - Unit that provides armor buffs to nearby allies * Flying unit with piercing slow projectile attack */ import { Attack } from "../../../../engine/ability.js"; import { MercUnit } from "../../../../engine/unit.js"; export class ArandiJudgment extends 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 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, }); } } // Static property for source path ArandiJudgment.src = "src/zerospace/mercenary/arandi/unit/arandi-judgment.ts"; export default ArandiJudgment; //# sourceMappingURL=arandi-judgment.js.map