[P0][D07] 精英怪 mlvl 修正:champion +2、unique / minion / superunique +3 #416
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: troytt/diablo2-web#416
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?
现状
src/game/monsters.ts:1506-1510的planLevelMonsters对随机生成的 champion / unique一律使用
monsterLevelFor(..., plan.monsterLevel),没有按 rank 加成。只有 SuperUnique 分支显式传了
plan.monsterLevel + 3。event.monsterLevel直接作为nLevel流入管线,因此:(ilvl - qlvl) / divisor惩罚项算错,unique/set/rare 概率偏低;resolveTreasureClassGroup)的nLevel上限偏低 → 拿不到更高层的 TC;randRange(ilvl/2, ilvl*6)(drop-pipeline.ts:928-932)连带偏低。1.13c 真实行为
(Nightmare / Hell 下 mlvl 先按
Levels.txt的 MonLvl 钳制,再加上述加成。)验收标准
planLevelMonsters按group.rank注入 +2 / +3。Resolution Summary (Issue #416 — Commit
9022579)Enforced 1.13c elite mlvl modifiers (+2 for Champion, +3 for Unique/Minion/SuperUnique) in
src/game/monsters.tsand level reversion indemoteToNormalinsrc/scene/act-scene.ts.Verification:
npx tsc --noEmit(0 errors), full Vitest drop/combat/item/E2E parity suites (100% pass), andscripts/verify-m5.ts/scripts/verify-net.ts(0 problems).