ZSGG Public Library
Boomer
Grell Co-Op Army Unit
import { CoopFrenzySkill, GrellArmyUnit } from "../../../../../defaults/grell.js";
import { Attack } from "../../../../../engine/ability.js";
export class CoopVynthraBoomer extends GrellArmyUnit {
static override src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-boomer.ts";
constructor() {
super();
this.name = "Boomer";
this.uuid = "11fc882c-c55f-4c3a-a567-74fa8b26ceab";
this.description = "Timed-life explosive unit.";
this.tier = "";
this.hexiteCost = 0;
this.fluxCost = 0;
this.buildTime = 0;
this.buildCount = 1;
this.supply = 0;
this.internalId = "Troop_Koru_Boomer_C";
this.internalPath = undefined;
this.internalTags = [
"Attackable.Unit.Troop",
"Attackable.ArmorType.Medium",
"Attackable.Biological",
"Unit.Temporary",
"Logic.NoEssence",
];
this.timedLife = 15;
this.hp = 525;
this.armor = 0;
this.armorType = "medium";
this.speed = 345;
this.createdBy = ["coop/commander/vynthra/unit/coop-vynthra-destroyer"];
this.unlockedBy = ["coop/commander/vynthra/unit/coop-vynthra-destroyer"];
this.attacks.explode = new Attack({
name: "Explode",
damage: 400,
cooldown: 1,
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.spells.frenzy = new CoopFrenzySkill({ parentId: this.id, parentUUID: this.uuid });
}
}
export default CoopVynthraBoomer;