Update code for FLB
If a weapon has ULB, it has FLB too
This commit is contained in:
parent
bd3464e589
commit
6cd64e1eff
1 changed files with 1 additions and 1 deletions
|
|
@ -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'])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue