ZeroSpace.gg

Weaver

Grell T3.5 Army Unit

import { GrellArmyUnit } from "../../../../defaults/grell.js"; import { Attack, Channel, Spell, Upgrade } from "../../../../engine/ability.js"; export class Weaver extends GrellArmyUnit { override uuid: string; static override src = "src/zerospace/faction/grell/unit/weaver.ts"; override get infuseCost(): number { return 30; } constructor() { super(); this.hexiteCost = 75; this.fluxCost = 175; this.buildTime = 40; this.buildCount = 1; this.name = "Weaver"; this.tier = "T3.5"; this.hotkey = "E"; this.energy = 50; this.uuid = "958e5bfe-1482-4776-a6fd-88cee520a3b3"; this.internalId = "Troop_GrellWeaver_C"; this.internalPath = "/Game/Nova/Archetypes_Troops/Troop_GrellWeaver.Default__Troop_GrellWeaver_C"; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Medium", "Logic.ConstantMaxEnergy", "Attackable.Biological", ]; this.internalSecondaryTags = []; this.unlockedBy = ["faction/grell/building/synapse-canopy"]; this.createdBy = ["faction/grell/building/elderwomb"]; this.upgradedBy = ["faction/grell/building/synapse-canopy"]; const unit = this; this.hp = 200; this.shields = 0; this.armor = 0; this.armorType = "medium"; this.speed = 650; this.supply = 4; this.turnSpeed = 2000; this.description = "Grell caster. \nDeals bonus damage against air."; this.attacks.mephiticSpit = new Attack({ name: "Mephitic Spit", damage: 20, range: 1200, cooldown: 2, targets: ["air", "ground"], bonusDamage: [{ multiplier: 2.0, vs: ["domain:air"] }], parentId: this.id, parentUUID: this.uuid, armorPenetration: 0, delay: 0.26, }); this.spells.acidBlight = new Spell({ name: "Acid Blight", description: "Create an acid puddle at target location. Puddle poisons enemy units. Lasts 10 seconds.", energyCost: 80, energyType: "classic", targets: ["map"], hotkey: "F", parentId: this.id, parentUUID: this.uuid, }); this.spells.siphonLife = new Channel({ name: "Siphon Life", description: "Drain enemy health, slowing them by 20%, and poisoning them \nOR \nHeal allies for 5 health per second and grant them 1 armor", energyCost: 10, energyType: "classic", hotkey: "Y", targets: ["air", "ground"], parentId: this.id, parentUUID: this.uuid, }); this.upgrades.koruNeuropaths = new Upgrade({ name: "Koru Neuropaths", description: "+25% cast range", tier: "T3.5", fluxCost: 100, researchTime: 50, apply() {}, parentId: this.id, parentUUID: this.uuid, }); } } export default Weaver;