【魂印】修复神将恭送后没有重置魂印的穿戴状态,导致力战之躯魂印无法穿戴的问题
parent
a2d7bedb5b
commit
65efa9336c
|
|
@ -513,6 +513,14 @@ function this.DeleteHeroDatas(heroDIds)
|
|||
-- end
|
||||
--end
|
||||
|
||||
-- 清除佩戴的魂印
|
||||
local soulPrintList = heroDatas[heroDIds[i]].soulPrintList
|
||||
for i = 1, #soulPrintList do
|
||||
if soulPrintList[i] then
|
||||
SoulPrintManager.DelSoulPrintUpHeroDynamicId(soulPrintList[i].equipId, heroDIds[i])
|
||||
end
|
||||
end
|
||||
|
||||
--清楚编队上的英雄
|
||||
FormationManager.AllFormationDeleCurHeroId(heroDIds[i])
|
||||
--清除英雄魂印上挂载的英雄did
|
||||
|
|
|
|||
Loading…
Reference in New Issue