Tweak to modifierentry

This commit is contained in:
MagicBot committed 2025-02-24 08:46:31 -05:00
1 parent 7e5fe56bc0
commit 3d4a9e18d0
3 files changed
+4 -4

No files matched your search

@@ -20,7 +20,6 @@ import engine.powers.EffectsBase;
import engine.wpak.data.ModifierEntry;
import java.sql.ResultSet;
import java.sql.SQLException;
public abstract class AbstractEffectModifier {
@@ -52,7 +51,7 @@ public abstract class AbstractEffectModifier {
this.sourceType = SourceType.GetSourceType(this.type.replace(" ", "").replace("-", ""));
this.minMod = mod.min;
this.maxMod = mod.max;
this.percentMod = mod.value;
this.percentMod = mod.percentage;
this.ramp = (float)mod.compoundCurveType.getValue();
this.useRampAdd = (float)mod.compoundCurveType.getValue() != 0;