ZeroSpace.gg

Inquisitress

Legion Hero Unit

import { LegionHeroUnit } from "../../../../defaults/legion.js"; import { Attack, Spell, Upgrade } from "../../../../engine/ability.js"; export class Inquisitress extends LegionHeroUnit { override uuid: string; static override src = "src/zerospace/faction/legion/hero/inquisitress.ts"; constructor() { super(); this.hexiteCost = 150; this.fluxCost = 150; this.buildTime = 30; this.buildCount = 1; this.name = "Inquisitress"; this.description = "Melee hero with Charge and Cleave abilities"; this.internalId = "Troop_Empire_Inquisitress_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_Empire_Inquisitress.Default__Troop_Empire_Inquisitress_C"; this.internalTags = [ "Attackable.Unit.Hero", "Logic.SpawnAtOldestSpawner", "Attackable.Biological", "Logic.NoVeterancy", ]; this.internalSecondaryTags = ["Biological", "Infantry"]; this.uuid = "85985ac0-ed49-4642-b37f-6aecd66d1c40"; this.hp = 350; this.shields = 0; this.armor = 0; this.armorType = "hero"; this.speed = 500; this.stunResist = 70; this.energy = 100; this.vision = 1800; this.turnSpeed = 6000; this.pushability = 0.1; this.createdBy = ["faction/legion/building/altar"]; this.unlockedBy = ["faction/legion/building/altar"]; this.upgradedBy = ["faction/legion/building/armory"]; this.attacks.sylthar = new Attack({ name: "Sylthar", damage: 31, range: 200, cooldown: 1.05, armorPenetration: 0, delay: 0.303, targets: ["ground"], parentId: this.id, parentUUID: this.uuid, }); this.spells.cleave = new Spell({ name: "Cleave", hotkey: "Q", energyCost: 25, energyType: "classic", cooldown: 5, targets: ["ground"], description: "Deal 65 damae and slow enemies by 50% for 2 seconds.", parentId: this.id, parentUUID: this.uuid, }); this.spells.charge = new Spell({ name: "Charge", hotkey: "W", energyCost: 14, energyType: "classic", cooldown: 6, targets: ["ground"], description: "Charge to a location dealing 25 damage to enemies along the path. \nGain +50% movement speed for 3 seconds.", parentId: this.id, parentUUID: this.uuid, }); this.upgrades.improvedCharge = new Upgrade({ name: "Improved Charge", description: "+25% Charge range. \nCharge now has 2 cast charges.", tier: "T2.5", fluxCost: 125, researchTime: 40, parentId: this.id, parentUUID: this.uuid, }); this.upgrades.improvedCleave = new Upgrade({ name: "Improved Cleave", description: "+100% Cleave area", tier: "T2.5", fluxCost: 125, researchTime: 40, parentId: this.id, parentUUID: this.uuid, }); this.upgrades.oneLifeForAnother = new Upgrade({ name: "One Life for Another", description: "When taking fatal damage, sacrifice a nearby Thrall and heal instead. Each sacrifice consumes a green orb. Orbs regenerate when not attacked.", tier: "T3.5", fluxCost: 175, researchTime: 55, parentId: this.id, parentUUID: this.uuid, }); } } export default Inquisitress;