Sometimes we see items with name VVVVVVVVVVVS or VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVS but we already know the maximum limit of star crumbs are 3 for neutral weapons.
So based on this i made a quick fix which makes the stuff work normally again, here we go :
In Misc.pm Find :
Code: Select all
} elsif ($cards[0] == 255) {
# Forged weapon
#
# Display e.g. "VVS Earth" or "Fire"
my $elementID = $cards[1] % 10;
my $elementName = $elements_lut{$elementID};
my $starCrumbs = ($cards[1] >> 8) / 5;
$prefix .= ('V'x$starCrumbs)."S " if $starCrumbs;
$prefix .= "$elementName " if ($elementName ne "");
$suffix = "$elementName" if ($elementName ne "");
}
Code: Select all
} elsif ($cards[0] == 255) {
# Forged weapon
#
# Display e.g. "VVS Earth" or "Fire"
my $elementID = $cards[1] % 10;
my $elementName = $elements_lut{$elementID};
my $starCrumbs = ($cards[1] >> 8) / 5;
if ( $starCrumbs <= 3 )
{
$prefix .= ('V'x$starCrumbs)."S " if $starCrumbs;
$prefix .= "$elementName " if ($elementName ne "");
$suffix = "$elementName" if ($elementName ne "");
}
}
