Browse Source

Comment added

feature-config-usage
MagicBot 2 days ago
parent
commit
556eb30ab0
  1. 4
      src/engine/wpakpowers/WpakPowerManager.java

4
src/engine/wpakpowers/WpakPowerManager.java

@ -358,7 +358,9 @@ public class WpakPowerManager { @@ -358,7 +358,9 @@ public class WpakPowerManager {
appliedEffect.effect = effect;
appliedEffect.rank = rank;
// Add calculated modifiers to pojo
// Add modifier objects from behaviours to pojo.
// Anything from a float to an array can be returned
// based on the needs of the behaviour.
for (ModifierEntry modifierEntry : effect.mods) {
Object modifier = modifierEntry.type.behaviorType.apply(caster, target, power,

Loading…
Cancel
Save