ZSGG Public Library
Griffin
Protectorate Co-Op T3 Army Unit
import Griffin from "../../../../faction/protectorate/unit/griffin.js";
import { Upgrade } from "../../../../../engine/ability.js";
export class CoopGriffin extends Griffin {
static override src = "src/zerospace/coop/commander/aster/unit/coop-aster-griffin.ts";
constructor() {
super();
// 25 hexite cheaper than the PvP Griffin.
this.hexiteCost = 100;
this.hp = 250;
this.internalId = undefined;
this.internalPath = undefined;
this.setVariantUUID("coop-aster");
this.upgrades.bioMatrix = new Upgrade({
name: "Bio-Matrix",
description: "Allows the Griffin to heal biological units.",
tier: "T1",
position: "B",
fluxCost: 150,
researchTime: 60,
parentId: this.id,
parentUUID: this.uuid,
uuid: "7371c6ba-bb74-4233-89ab-fbcc66b1a4ce",
});
this.upgrades.serviceRelay.tier = "T2";
this.upgrades.serviceRelay.position = "A";
this.upgrades.serviceRelay.description = "+40% Support Matrix repair rate.";
this.unlockedBy = ["coop/commander/aster/building/coop-aster-war-foundry"];
this.createdBy = ["coop/commander/aster/building/coop-aster-war-foundry"];
this.upgradedBy = ["coop/commander/aster/building/coop-aster-mechanical-research-lab"];
this.upgrades.serviceRelay.fluxCost = 200;
this.upgrades.serviceRelay.researchTime = 70;
}
}
export default CoopGriffin;