Set curve names properly

This commit is contained in:
2024-11-30 09:57:04 -05:00
parent 92db9e1086
commit f410fc5482
6 changed files with 22 additions and 22 deletions
@@ -28,8 +28,8 @@ public class CharmPowerAction extends AbstractPowerAction {
public CharmPowerAction(PowerAction powerAction) {
super(powerAction);
this.levelCap = powerAction.levelCap;
this.levelCapRamp = powerAction.levelCurve.ordinal();
this.levelCap = powerAction.ramp;
this.levelCapRamp = powerAction.rampCurve.ordinal();
}
@Override
@@ -29,8 +29,8 @@ public class FearPowerAction extends AbstractPowerAction {
public FearPowerAction(PowerAction powerAction) {
super(powerAction);
this.levelCap = powerAction.levelCap;
this.levelCapRamp = powerAction.levelCurve.ordinal();
this.levelCap = powerAction.ramp;
this.levelCapRamp = powerAction.rampCurve.ordinal();
}
@Override
@@ -71,7 +71,7 @@ public class TransferStatPowerAction extends AbstractPowerAction {
public float getTransferAmount(float trains) {
// if (this.transferRampAdd)
return this.powerAction.statTransfer.fromStatValue + (this.transferRamp * trains);
return this.powerAction.statTransfer.ramp + (this.transferRamp * trains);
// else
// return this.transferAmount * (1 + (this.transferRamp * trains));
}