[Parity][render][S3][R] 死代码 / 只在测试里用的自造规则 #621
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
来源审计项:
render#21— [S3][R] 死代码 / 只在测试里用的自造规则src/client/scene/missile-overlay-renderer.ts:drawMissileProjectile(meteor / firewall 按名字特判、90+(slvl-1)*15、消失缩放0.2+0.8r、meteor 下落ttl*25、滑行ttl*15、catch → additive)、drawExplosion(所有方向叠画,恒 additive)、drawCastOverlay、LightningTrailManager(用drawSolid方块作程序化兜底,art 链 lightningstrike → chainlightning → lightningbolt → lightninghit)、drawElectricBoltFallback;src/client/render/missiles-meta.ts:40-87(velocityToDccDirection,atan2 加 OpenDiablo2 方向表);src/client/render/monster-art.ts(loadMonsterAtlas运行时只取 wl/nu,opaqueBlack 172)Resolved in commit 56f4f7f: Cleaned up dead code, removed fallback drawElectricBoltFallback, eliminated redundant OpenDiablo2 direction table in favor of canonical dir64ToDcc, and removed hardcoded art atlas parameters.