ZeroSpace.gg

Dark Disciple

Legion Co-Op T2 Army Unit

import { DarkDisciple } from "../../../../faction/legion/unit/dark-disciple.js"; import { Channel, Spell, Upgrade } from "../../../../../engine/ability.js"; export class CoopGalavaxDarkDisciple extends DarkDisciple { static override src = "src/zerospace/coop/commander/galavax/unit/coop-galavax-dark-disciple.ts"; constructor() { super(); this.uuid = "3db83451-3ce1-4b46-bdad-9018bd950486"; this.upgrades.frenzy.name = "Battle Frenzy"; this.spells.battleFrenzy = new Spell({ name: "Battle Frenzy", description: "Gain +50% attack speed and +30% movement speed for 20 seconds.", energyCost: 75, energyType: "classic", cooldown: 20, duration: 20, unlocked: false, parentId: this.id, parentUUID: this.uuid, }); this.internalId = "Troop_Galavax_DarkDisciple_C"; this.hexiteCost = 50; this.fluxCost = 100; this.supply = 4; this.internalTags = [ "Attackable.Unit.Troop", "Attackable.Unit.Light", "Attackable.ArmorType.Light", "Attackable.Biological", "Local.Legion.Infantry.DarkDisciple", ]; this.hp = 180; this.energy = 100; this.armor = 0; this.armorType = "light"; this.speed = 450; this.upgrades.frenzy.description = "Gain +50% attack speed and +30% movement speed for 20 seconds. Costs 75 energy."; this.upgrades.erodingLightning = new Upgrade({ name: "Eroding Lightning", description: "Attacks reduce the target's armor by 5.", tier: "T1", position: "B", fluxCost: 150, researchTime: 60, parentId: this.id, parentUUID: this.uuid, uuid: "8b34b5d7-4af8-43af-bd14-cbef634bb4d6", }); this.attacks.oblivionSCall.damage = 6; this.spells.shadowTraining = new Channel({ name: "Shadow Training", damage: 30, cooldown: 1, cooldownBetweenShots: 0.5, energyCost: 1, energyType: "classic", targets: ["map"], description: "Channel storm at targeted location. Each lightning hit consumes 1 energy. Deals 30 damage every 0.5 seconds.", parentId: this.id, parentUUID: this.uuid, }); this.createdBy = ["coop/commander/galavax/building/coop-galavax-legion-barracks"]; this.unlockedBy = ["coop/commander/galavax/building/coop-galavax-terror-tower"]; this.upgradedBy = ["coop/commander/galavax/building/coop-galavax-citadel"]; this.upgrades.frenzy.fluxCost = 150; this.upgrades.frenzy.researchTime = 60; } } export default CoopGalavaxDarkDisciple;