ZSGG Public Library
Boomer
Grell Co-Op Army Unit
import { CoopFrenzySkill } from "../../../../../defaults/grell.js";
import { GrellArmyUnit } from "../../../../../defaults/grell.js";
import { Attack } from "../../../../../engine/ability.js";
export class CoopVynthraBoomer extends GrellArmyUnit {
override uuid: string;
static override src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-boomer.ts";
override get variantOf(): string {
return "faction/grell/unit/boomer";
}
constructor() {
super();
this.name = "Boomer";
this.description = "Timed-life explosive unit.";
this.tier = "";
this.uuid = "368d6c86-a386-4556-a424-f097473f2749";
this.hexiteCost = 0;
this.fluxCost = 0;
this.buildTime = 0;
this.buildCount = 1;
this.supply = 0;
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.ArmorType.Medium",
"Attackable.Biological",
"Unit.Temporary",
];
this.hp = 150;
this.armor = 0;
this.armorType = "medium";
this.speed = 300;
this.createdBy = ["faction/grell/building/deep-nest"];
this.unlockedBy = ["faction/grell/talent/deep-nest"];
this.attacks.explode = new Attack({
name: "Explode",
damage: 250,
range: 200,
targets: ["ground", "air"],
splash: { multiplier: 1.0, range: 300 },
bonusDamage: [{ multiplier: 2.0, vs: ["armor:building"] }],
diesOnUse: true,
parentId: this.id,
parentUUID: this.uuid,
});
this.uuid = "11fc882c-c55f-4c3a-a567-74fa8b26ceab";
this.internalId = "Troop_Koru_Boomer_C";
this.internalTags = [...this.internalTags!, "Logic.NoEssence"];
this.timedLife = 15;
this.hp = 525;
this.speed = 345;
this.attacks.explode.damage = 400;
this.attacks.explode.cooldown = 1;
this.createdBy = ["coop/commander/vynthra/unit/coop-vynthra-destroyer"];
this.unlockedBy = ["coop/commander/vynthra/unit/coop-vynthra-destroyer"];
this.spells.frenzy = new CoopFrenzySkill({ parentId: this.id, parentUUID: this.uuid });
}
}
export default CoopVynthraBoomer;