Release Healer Man 0.1.53
This commit is contained in:
1 parent
d0a02487db
commit
d6976e6ef6
17 files changed
+555
-69
No files matched your search
@@ -8,6 +8,7 @@ import {
|
||||
} from "../app/characterCatalog";
|
||||
import {
|
||||
createDungeonParty,
|
||||
createConfiguredPartyMember,
|
||||
isHealerSpecialization,
|
||||
isTankSpecialization,
|
||||
usePartyStore,
|
||||
@@ -74,6 +75,30 @@ describe("dungeon party composition", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("creates the secondary Rage and Energy pools used by druid forms", () => {
|
||||
const bear = createConfiguredPartyMember({
|
||||
name: "Balance Bear",
|
||||
classId: "druid",
|
||||
specialization: "Feral (Bear)",
|
||||
specializationId: "druid:feral-bear",
|
||||
talentTreeId: "druid-feral-bear",
|
||||
talentRanks: {},
|
||||
role: "tank",
|
||||
}, 80, 0, "feral-resources");
|
||||
const cat = createConfiguredPartyMember({
|
||||
name: "Balance Cat",
|
||||
classId: "druid",
|
||||
specialization: "Feral (Cat)",
|
||||
specializationId: "druid:feral-cat",
|
||||
talentTreeId: "druid-feral-cat",
|
||||
talentRanks: {},
|
||||
role: "damage",
|
||||
}, 80, 1, "feral-resources");
|
||||
|
||||
expect(bear.resourcePools).toMatchObject({ mana: bear.maxResource, rage: 0, energy: 100 });
|
||||
expect(cat.resourcePools).toMatchObject({ mana: cat.maxResource, rage: 0, energy: 100 });
|
||||
});
|
||||
|
||||
it("is deterministic per character and scales every ally to the player level", () => {
|
||||
const first = createDungeonParty("character-42", 18);
|
||||
const second = createDungeonParty("character-42", 18);
|
||||
|
||||
Reference in new issue
Block a user