Skip to content

Commit

Permalink
air damage hack
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Nov 30, 2024
1 parent b4ee24d commit c31d4d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parse_unity.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,10 @@ func ParseEffectsUnity(data *JSONGameDataUnity, allEffects [][]*JSONGameItemPoss
mappedEffect.Active = true
}
searchTypeEn := mappedEffect.Type["en"]
// TODO this is a hack since the beta has probably a typo that changed the ID of the element
if searchTypeEn == "Air damage" {
searchTypeEn = "Air Damage"
}
if mappedEffect.Active {
searchTypeEn += " (Active)"
}
Expand Down

0 comments on commit c31d4d6

Please sign in to comment.