More changes related to augmentation.

This commit is contained in:
MobiusDev
2017-08-11 02:18:57 +00:00
parent a7a354ceea
commit 72d372e2c8
327 changed files with 1668 additions and 337323 deletions

View File

@ -390,7 +390,14 @@ public class AugmentationData
aAugmentId = Integer.parseInt(aNodeAttributes.getNamedItem("id").getNodeValue());
aAugmentChance = Float.parseFloat(aNodeAttributes.getNamedItem("chance").getNodeValue());
_augmentationChances.add(new AugmentationChance(aWeaponType, aStoneId, aVariationId, aCategoryChance, aAugmentId, aAugmentChance));
if (OptionData.getInstance().getOptions(aAugmentId) != null)
{
_augmentationChances.add(new AugmentationChance(aWeaponType, aStoneId, aVariationId, aCategoryChance, aAugmentId, aAugmentChance));
}
else
{
LOGGER.warning(getClass().getSimpleName() + ": Missing augment " + aAugmentId + " for stone " + aStoneId + " variation " + aVariationId + ".");
}
}
}
}