More behaviour work

This commit is contained in:
2025-02-20 07:37:22 -05:00
parent 42daf1c049
commit 79864713b5
2 changed files with 3 additions and 15 deletions
+1 -7
View File
@@ -1336,13 +1336,7 @@ public class mbEnums {
}
public enum ModBehaviorType {
Behavior {
@Override
public Object apply(AbstractCharacter caster, AbstractWorldObject target, Power power,
ActionEntry powerAction, Effect effect, ModifierEntry modifierEntry, Integer rank) {
return Behaviour.Behaviour(caster, target, power, powerAction, effect, modifierEntry, rank);
}
},
Flag {
@Override
public Object apply(AbstractCharacter caster, AbstractWorldObject target, Power power,
+2 -8
View File
@@ -17,16 +17,10 @@ import engine.wpak.data.Power;
public class Behaviour {
public static Object Behaviour(AbstractCharacter caster, AbstractWorldObject target, Power power,
ActionEntry powerAction, Effect effect, ModifierEntry modifierEntry, Integer rank) {
System.out.println("Behavior method called");
return null;
}
public static Object Flag(AbstractCharacter caster, AbstractWorldObject target, Power power,
ActionEntry powerAction, Effect effect, ModifierEntry modifierEntry, Integer rank) {
System.out.println("Behavior method called");
return null;
boolean modValue = true;
return modValue;
}
public static Object MapIntToInts(AbstractCharacter caster, AbstractWorldObject target, Power power,