Tweak to modifierentry

This commit is contained in:
2025-02-24 08:46:31 -05:00
parent 7e5fe56bc0
commit 3d4a9e18d0
3 changed files with 4 additions and 4 deletions
@@ -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;