Skip to content

Commit

Permalink
fix active only for fighting
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Jan 17, 2024
1 parent 5e5cc7a commit 8a3a2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func ParseEffects(data *JSONGameData, allEffects [][]JSONGameItemPossibleEffect,
continue
}

mappedEffect.Active = currentEffect.BonusType == 0
mappedEffect.Active = currentEffect.UseInFight
searchTypeEn := mappedEffect.Type["en"]
if mappedEffect.Active {
searchTypeEn += " (Active)"
Expand Down

0 comments on commit 8a3a2d6

Please sign in to comment.