Add XLB suffix for summons

This commit is contained in:
Justin Edmund 2023-01-22 21:00:24 -08:00
parent 274b5d0872
commit 971f04e88f

View file

@ -139,11 +139,14 @@ const SummonUnit = ({
] ]
let suffix = '' let suffix = ''
if ( if (gridSummon.object.uncap.xlb && gridSummon.uncap_level == 6) {
suffix = '_03'
} else if (
upgradedSummons.indexOf(summon.granblue_id.toString()) != -1 && upgradedSummons.indexOf(summon.granblue_id.toString()) != -1 &&
gridSummon.uncap_level == 5 gridSummon.uncap_level == 5
) ) {
suffix = '_02' suffix = '_02'
}
// Generate the correct source for the summon // Generate the correct source for the summon
if (unitType == 0 || unitType == 2) if (unitType == 0 || unitType == 2)