装备替换

This commit is contained in:
mamengke01
2020-12-30 15:02:00 +08:00
parent 552534b585
commit ac2fc62f69
4 changed files with 6 additions and 9 deletions

View File

@@ -465,8 +465,10 @@ export function calEquipSeids(hero: HeroType) {
for (let { equip } of ePlace) {
if (equip) {
let e = <EquipType>equip;
for (let { seid, rand } of e.randSe) {
seids.push(seid, rand);
if (!!e.randSe) {
for (let { seid, rand } of e.randSe) {
seids.push(seid, rand);
}
}
if (e.suitId > 0) {
if (suits.has(e.suitId)) {