之前的代码有错误

This commit is contained in:
枫谷剑仙 2020-12-01 18:17:08 +08:00
parent 1554f7bac1
commit 3b8e9e1ade
1 changed files with 2 additions and 2 deletions

View File

@ -174,9 +174,9 @@ function awokenCountInTeam(team,awokenIndex,solo,teamsCount)
//启用的觉醒数组片段
let enableAwoken = card.awakenings.slice(0, mon.awoken);
//单人、3人时,大于等于100级时增加超觉醒
if (solo || teamsCount === 3 && member.sawoken>=0 && member.level>=100)
if ((solo || teamsCount === 3) && mon.sawoken>=0 && mon.level>=100)
{
const sAwokenT = memberCard.superAwakenings[mon.sawoken];
const sAwokenT = card.superAwakenings[mon.sawoken];
if (sAwokenT >= 0)
enableAwoken = enableAwoken.concat(sAwokenT);
}