Update code for FLB

If a weapon has ULB, it has FLB too
This commit is contained in:
Justin Edmund 2023-08-19 22:58:15 -07:00
parent bd3464e589
commit 6cd64e1eff

View file

@ -146,7 +146,7 @@ class WeaponParser
info[:flavor] = { en: hash['flavor'], ja: hash['jpflavor'] } info[:flavor] = { en: hash['flavor'], ja: hash['jpflavor'] }
info[:id] = hash['id'] info[:id] = hash['id']
info[:flb] = hash['evo_max'].to_i == 4 info[:flb] = hash['evo_max'].to_i >= 4
info[:ulb] = hash['evo_max'].to_i == 5 info[:ulb] = hash['evo_max'].to_i == 5
info[:rarity] = rarity_from_hash(hash['rarity']) info[:rarity] = rarity_from_hash(hash['rarity'])