ZSGG Public Library
Molten Roller
The-molten Co-Op T1 Merc Unit
import { TheMoltenMercUnit } from "../../../../../defaults/the-molten.js";
import { Attack } from "../../../../../engine/ability.js";
export class CoopTheMoltenRoller extends TheMoltenMercUnit {
override uuid: string;
static override src = "src/zerospace/coop/mercenary/the-molten/unit/coop-the-molten-roller.ts";
constructor() {
super();
this.hexiteCost = 180;
this.fluxCost = 0;
this.buildCount = 6;
this.name = "Molten Roller";
this.tier = "T1";
this.hotkey = "Z";
this.uuid = "a8e4ee1d-49b2-460c-aae7-242a2ccacb36";
this.description =
"Suicides itself to damage and stun nearby enemies for 2 seconds. Bonus movement speed and armor when rolling. Can attack ground units.";
this.shortName = "Roller";
this.supply = 1;
this.hp = 100;
this.speed = 450;
this.createdBy = ["coop/mercenary/the-molten/building/coop-the-molten-xol-relic-outpost"!];
this.attacks.shockwave = new Attack({
name: "Shockwave",
damage: 100,
cooldown: 1,
range: 100,
splash: { multiplier: 1, range: 300 },
bonusDamage: [{ multiplier: 2, vs: ["armor:medium"] }],
targets: ["ground"],
parentId: this.id,
parentUUID: this.uuid,
});
}
}
export default CoopTheMoltenRoller;