forked from MagicBane/Server
Set curve names properly
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user