Update Healer Man server
This commit is contained in:
1 parent
71246e5b75
commit
a868401ebc
40 files changed
+1522
-161
No files matched your search
@@ -44,6 +44,7 @@ import {
|
||||
updateMobRuntimePosition,
|
||||
} from "../game/mobRuntimeRegistry";
|
||||
import { combatHasLineOfSight } from "../game/combatSpatial";
|
||||
import { registerCombatEffectTargetVisualSize } from "./combatEffectAnchorRegistry";
|
||||
import { registerDungeonRuntimeReset } from "../game/dungeonRuntimeReset";
|
||||
import { scaledDungeonEnemyLevel } from "../game/dungeonLevelScaling";
|
||||
import { dungeonEnemyScaling } from "../game/dungeonBossScaling";
|
||||
@@ -909,6 +910,8 @@ function ProxyMob({
|
||||
const proceduralModelAnimation = model?.animationMode === "procedural";
|
||||
const labelHeight = model?.labelHeight ?? (boss ? 3.25 : 2.65) * scale;
|
||||
const markerRadius = model?.markerRadius ?? 0.9 * scale;
|
||||
useEffect(() => registerCombatEffectTargetVisualSize(instanceId,
|
||||
{ height: labelHeight, radius: markerRadius }), [instanceId, labelHeight, markerRadius]);
|
||||
const dead = mob?.dead ?? false;
|
||||
const lootable = Boolean(dead && mob?.hasLoot && !mob.looted);
|
||||
const attackRevision = mob?.attackRevision ?? 0;
|
||||
|
||||
Reference in new issue
Block a user