@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
103 lines • 4.03 kB
JavaScript
/**
* Inquisitress - Legion's warrior-priest and melee combat specialist
* Melee hero with cleave attacks, charge abilities, and sacrificial protection
*/
import { Attack, Spell, Upgrade } from "../../../../engine/ability.js";
import { LegionHeroUnit } from "../../legion-classes.js";
import Altar from "../building/altar.js";
import Armory from "../building/armory.js";
export class Inquisitress extends LegionHeroUnit {
constructor() {
super();
this.name = "Inquisitress";
this.hexiteCost = 200;
this.fluxCost = 200;
this.buildTime = 30;
this.buildCount = 1;
this.uuid = "85985ac0-ed49-4642-b37f-6aecd66d1c40";
// Melee warrior stats - divinely enhanced
this.hp = 400;
this.shields = 0;
this.armor = 0;
this.armorType = "medium";
this.speed = 500; // Divine purpose
this.supply = 10; // Heroes consume supply
this.stunResist = 50; // Divine protection
this.energy = 100; // Standard hero energy
// Costs
// Relationships
this.createdBy = [Altar.id];
this.unlockedBy = [Altar.id];
this.upgradedBy = [Armory.id];
// Tags
// Tags for identification and targeting - none needed for Inquisitress
// Powerful melee attack with blessed weaponry (faster attacks, longer leash range in patch)
this.attacks.attack = new Attack({
name: "Attack",
damage: 30,
range: 150,
cooldown: 0.9,
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
// Cleave spell - frontal area damage and slow
this.spells.cleave = new Spell({
name: "Cleave",
hotkey: "Q",
energyCost: 25,
energyType: "classic",
cooldown: 5,
targets: ["ground"],
description: "deals 65 damage to and slows by 50% for 2 seconds to enemy units in front of the hero.",
parentId: this.id,
parentUUID: this.uuid,
});
// Charge spell - mobility and damage
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 enemy units in its way. Gain increased +50% movement speed for 5s",
parentId: this.id,
parentUUID: this.uuid,
});
// Improved Charge upgrade - enhanced range and charges
this.upgrades.improvedCharge = new Upgrade({
name: "Improved Charge",
description: "+25% Charge range. Charge now has 2 cast charges.",
tier: "T2.5",
fluxCost: 125,
researchTime: 40,
parentId: this.id,
parentUUID: this.uuid,
});
// Improved Cleave upgrade - doubled area
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,
});
// One Life for Another upgrade - ultimate survival ability
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,
});
// Lore - warrior-priest embodying martial fanaticism
}
}
Inquisitress.src = "src/zerospace/faction/legion/hero/inquisitress.ts";
export default Inquisitress;
//# sourceMappingURL=inquisitress.js.map