Update Healer Man server
This commit is contained in:
1 parent
48a678dcc5
commit
9c5fb4c614
18 files changed
+397
-46
No files matched your search
@@ -37,6 +37,15 @@ function isMeaningfulEffect(effect: AbilityEffect): boolean {
|
||||
}
|
||||
|
||||
describe("executable RuneWaker ability mappings", () => {
|
||||
it("shows readable Priest / Knight spell descriptions without client string tokens", () => {
|
||||
const priest = ROM_ALL_ABILITIES.filter((ability) => ability.classId === "rom-priest"
|
||||
&& (!ability.secondaryClassId || ability.secondaryClassId === "rom-knight"));
|
||||
for (const ability of priest) {
|
||||
for (const description of [ability.description, ...(ability.ranks ?? []).map((rank) => rank.description)]) {
|
||||
expect(description, ability.name).not.toMatch(/\([^)]*(?:Buff\d*|DMG\d*)[^)]*\)|\[SC_SKILLTIPS_[^\]]+\]|\[\d{6}\]/i);
|
||||
}
|
||||
}
|
||||
});
|
||||
it("maps Taunt, Shout, and Cleanse to their real combat mechanics", () => {
|
||||
expect(named("Taunt").effects).toEqual(expect.arrayContaining([
|
||||
expect.objectContaining({ kind: "taunt" }),
|
||||
|
||||
Reference in new issue
Block a user