ZSGG Public Library
Boomer
Grell Army Unit
import { GrellArmyUnit } from "../../../../defaults/grell.js";
import { Attack } from "../../../../engine/ability.js";
export class Boomer extends GrellArmyUnit {
override uuid: string;
static override src = "src/zerospace/faction/grell/unit/boomer.ts";
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,
});
}
}
export default Boomer;