forked from phenom/healer-man
Release Healer Man 0.1.40
This commit is contained in:
1 parent
ed0d2fea3d
commit
197a64117c
215 files changed
+5131
-181
No files matched your search
@@ -6,6 +6,7 @@ import {
|
||||
|
||||
export type TalentModifierKind =
|
||||
| "damage-percent"
|
||||
| "critical-damage-percent"
|
||||
| "healing-percent"
|
||||
| "damage-taken-percent"
|
||||
| "max-health-percent"
|
||||
@@ -70,6 +71,8 @@ export function parseTalentModifiers(description: string): readonly ParsedModifi
|
||||
if (/cooldown/.test(lower)) add({ kind: "cooldown-percent", amount, unit: "percent", scope });
|
||||
if (/damage (?:done )?to you|damage you (?:take|suffer)|damage taken/.test(lower)) {
|
||||
add({ kind: "damage-taken-percent", amount, unit: "percent", scope });
|
||||
} else if (/\bcritical damage\b/.test(lower)) {
|
||||
add({ kind: "critical-damage-percent", amount, unit: "percent", scope });
|
||||
} else if (/\bdamage\b/.test(lower)) {
|
||||
add({ kind: "damage-percent", amount, unit: "percent", scope });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user