Update Healer Man server
This commit is contained in:
1 parent
69809f7228
commit
ff20ab8779
101 files changed
+16713
-945
No files matched your search
@@ -11,11 +11,19 @@ export type EnemyDamageSchool =
|
||||
| "shadow"
|
||||
| "holy";
|
||||
|
||||
export interface WowEnemyHitSource {
|
||||
readonly attributes0: number;
|
||||
readonly attributes3: number;
|
||||
readonly attributes7: number;
|
||||
}
|
||||
|
||||
export interface WowEnemyDamageTypeSource {
|
||||
readonly spellId: number;
|
||||
readonly name: string;
|
||||
readonly damageClass: number;
|
||||
readonly schoolMask: number;
|
||||
/** Raw hit-gate attribute words copied from a matched WoW Spell.dbc row. */
|
||||
readonly hitSource?: WowEnemyHitSource;
|
||||
readonly schools: readonly EnemyDamageSchool[];
|
||||
readonly school?: EnemyDamageSchool;
|
||||
readonly attackKind?: EnemyAttackKind;
|
||||
@@ -69,6 +77,8 @@ export interface ResolvedEnemyDamageType {
|
||||
readonly damageClass?: number;
|
||||
readonly sourceDamageClass?: "none" | "magic" | "melee" | "ranged" | "physical" | "magical";
|
||||
readonly schoolMask?: number;
|
||||
/** Copied only from a matched WoW damage row; absent means unknown/not WoW. */
|
||||
readonly hitSource?: WowEnemyHitSource;
|
||||
readonly schools: readonly EnemyDamageSchool[];
|
||||
/** Present only when source evidence identifies exactly one runtime school. */
|
||||
readonly school?: EnemyDamageSchool;
|
||||
@@ -188,6 +198,7 @@ export function resolveEnemyDamageType(input: ResolveEnemyDamageTypeInput): Reso
|
||||
...(damageClass !== undefined ? { damageClass } : {}),
|
||||
...(sourceDamageClass ? { sourceDamageClass } : {}),
|
||||
...(schoolMask !== undefined ? { schoolMask } : {}),
|
||||
...(wowSource?.hitSource ? { hitSource: wowSource.hitSource } : {}),
|
||||
schools: maskResult.schools.length ? maskResult.schools : runewakerComponent?.school ? [runewakerComponent.school] : [],
|
||||
...(school ? { school } : {}),
|
||||
...(maskResult.unknownBits ? { unknownSchoolMaskBits: maskResult.unknownBits } : {}),
|
||||
|
||||
Reference in new issue
Block a user