[Parity][motion-input][S1][R] 死亡怪物一律不能选中,尸体类技能无法指定目标 #583
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?
来源审计项:
motion-input#3— [S1][R] 3. 死亡怪物一律不能选中,尸体类技能无法指定目标command-mapper.ts:243-246(注释写着 "unless interactable"),:272-275if (unitType === 1 && (unit.mode === 12 || unit.lifePct <= 0)) continueskills.txt里 TargetCorpse=1 的技能必须以尸体为目标:#70 Raise Skeleton、#74 Corpse Explosion、#80 Raise Skeletal Mage、#95 Revive、#131 Find Potion、#142 Find Item、#150 Grim Ward(V-data;它们的 SelectProc 依次是 2/1/2/3/4/5/6,说明客户端对每个技能有专门的尸体选择过程)。服务器端的技能处理(如 Raise Skeleton)必须拿到目标单位(V-src D2GameSkillNec.cpp:97-109)。注释里说的 "unless interactable" 分支,代码里根本没有。skills.txt中的TargetCorpse/SelectProc/TargetPet/TargetableOnly列决定哪些单位可选。选尸体技能时,死亡怪物应当可选。