forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
35dfdaed61
commit
4fb7a0b9c8
161 files changed
+24618
-529
No files matched your search
@@ -95,6 +95,7 @@ export interface RomSourceComponent {
|
||||
|
||||
export interface RomGeneratedAbilityLike {
|
||||
readonly classId?: string;
|
||||
readonly secondaryClassId?: string;
|
||||
readonly sourceSkillId?: number;
|
||||
readonly name: string;
|
||||
readonly description: string;
|
||||
@@ -365,7 +366,14 @@ function addIfMissing(
|
||||
if (row.kind === "proc" && semantic.kind === "proc") {
|
||||
return row.trigger === semantic.trigger && row.triggerSkillId === semantic.triggerSkillId;
|
||||
}
|
||||
if (row.kind === "aura" && semantic.kind === "aura") return row.effect === semantic.effect;
|
||||
if (row.kind === "aura" && semantic.kind === "aura") {
|
||||
const seedBranches = new Set([503815, 620458, 503814, 620457]);
|
||||
const previousComponent = row.sourceComponentIds[0];
|
||||
const nextComponent = semantic.sourceComponentIds[0];
|
||||
if (row.effect === semantic.effect && previousComponent !== nextComponent
|
||||
&& seedBranches.has(previousComponent) && seedBranches.has(nextComponent)) return false;
|
||||
return row.effect === semantic.effect;
|
||||
}
|
||||
if (row.kind === "resource" && semantic.kind === "resource") return row.resource === semantic.resource && row.operation === semantic.operation;
|
||||
if (row.kind === "custom" && semantic.kind === "custom") return row.mechanicId === semantic.mechanicId;
|
||||
return discriminator.length === 0;
|
||||
|
||||
Reference in new issue
Block a user