Release Healer Man 0.1.19
This commit is contained in:
1 parent
eaddad4134
commit
d9bebb4e81
13 files changed
+343
-37
No files matched your search
@@ -27,6 +27,18 @@ describe("authentic combat resources", () => {
|
||||
expect(outsideRule.current).toBe(62);
|
||||
});
|
||||
|
||||
it("regenerates at least fifteen percent mana per five seconds out of combat", () => {
|
||||
const mana = normalizeActorResourcePool("mana", 1_000, 3_000, 4, 9_000);
|
||||
const regenerated = advanceCombatResourcePool(mana, {
|
||||
inCombat: false,
|
||||
actorLevel: 8,
|
||||
now: 10_000,
|
||||
deltaSeconds: 1,
|
||||
manaSpiritRegenerationPerSecond: 3,
|
||||
});
|
||||
expect(regenerated.current).toBe(1_090);
|
||||
});
|
||||
|
||||
it("decays rage and runic power only out of combat", () => {
|
||||
const rage = normalizeActorResourcePool("rage", 20, 100);
|
||||
const runic = normalizeActorResourcePool("runic-power", 20, 100);
|
||||
|
||||
Reference in new issue
Block a user