RealDamage should use power instead of amount.

Thanks to Sero.
This commit is contained in:
MobiusDevelopment
2022-05-19 16:00:12 +00:00
parent f4eeec6f54
commit 4abc778766
27 changed files with 104 additions and 8 deletions

View File

@@ -35,6 +35,10 @@ public class RealDamage extends AbstractEffect
public RealDamage(StatSet params)
{
if (params.getDouble("amount", 0) > 0)
{
LOGGER.warning(getClass().getSimpleName() + " should use power instead of amount.");
}
_power = params.getDouble("power", 0);
_mode = params.getEnum("mode", StatModifierType.class, StatModifierType.DIFF);
}