An oversight in PieceTrickPotionBase allowed int overflows to occur, permitting the construction of spells with no cost and insane power. One such spell is the following:
It is possible to use this exploit for all potion effects, even multiple in the same spell simultaneously.
This patch fixes PieceTrickPotionBase and makes PieceTrick's safe multiplication utility function more resilient to reduce the likelihood of future development / addons running into this again.
This bug may be present in other versions of the mod- I haven't checked.
An oversight in
PieceTrickPotionBase
allowed int overflows to occur, permitting the construction of spells with no cost and insane power. One such spell is the following:It is possible to use this exploit for all potion effects, even multiple in the same spell simultaneously.
This patch fixes
PieceTrickPotionBase
and makesPieceTrick
's safe multiplication utility function more resilient to reduce the likelihood of future development / addons running into this again.This bug may be present in other versions of the mod- I haven't checked.