Variable rename

This commit is contained in:
2025-02-22 15:37:38 -05:00
parent 6585248eb8
commit b9b88449ed
6 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -31,12 +31,12 @@ public class Behaviours {
public static Object Standard(AbstractCharacter caster, Power power, Integer rank, AbstractWorldObject target,
PowerAction powerAction, Effect effect, ModifierEntry modifierEntry) {
return WpakPowerManager.applyCurveToValue(powerAction.compoundCurveType, modifierEntry.compoundCurveType.getValue(), rank);
return WpakPowerManager.applyCurveToValue(powerAction.levelCapCurve, modifierEntry.compoundCurveType.getValue(), rank);
}
public static Object FPSubTypeAttr(AbstractCharacter caster, Power power, Integer rank, AbstractWorldObject target,
PowerAction powerAction, Effect effect, ModifierEntry modifierEntry) {
return WpakPowerManager.applyCurveToValue(powerAction.compoundCurveType, modifierEntry.compoundCurveType.getValue(), rank);
return WpakPowerManager.applyCurveToValue(powerAction.levelCapCurve, modifierEntry.compoundCurveType.getValue(), rank);
}
public static Object SubTypeSourceType(AbstractCharacter caster, Power power, Integer rank, AbstractWorldObject target,
@@ -58,7 +58,7 @@ public class Behaviours {
public static Object FPSubTypeDmg(AbstractCharacter caster, Power power, Integer rank, AbstractWorldObject target,
PowerAction powerAction, Effect effect, ModifierEntry modifierEntry) {
String key = modifierEntry.arg1;
float value = WpakPowerManager.applyCurveToValue(powerAction.compoundCurveType, modifierEntry.compoundCurveType.getValue(), rank);
float value = WpakPowerManager.applyCurveToValue(powerAction.levelCapCurve, modifierEntry.compoundCurveType.getValue(), rank);
return new Pair<>(key,value);
}