Signature updated for actions

This commit is contained in:
MagicBot committed 2025-02-22 07:54:49 -05:00
1 parent 6018be3c72
commit 0a2e487a76
3 files changed
+43 -39

No files matched your search

+3 -3
View File
@@ -1376,7 +1376,7 @@ public class mbEnums {
@FunctionalInterface
public interface PowerActionFunction {
void execute(AbstractCharacter caster, AbstractWorldObject target, Power power,
PowerAction powerAction, Effect effect, ModifierEntry modifierEntry, Integer rank);
Integer rank, PowerAction powerAction);
}
public enum PowerActionType {
@@ -1421,8 +1421,8 @@ public class mbEnums {
// Identical to behaviours?
public void execute(AbstractCharacter caster, AbstractWorldObject target, Power power,
PowerAction powerAction, Effect effect, ModifierEntry modifierEntry, Integer rank) {
function.execute(caster, target, power, powerAction, effect, modifierEntry, rank);
Integer rank, PowerAction powerAction) {
function.execute(caster, target, power, rank, powerAction);
}
}