Comment added

This commit is contained in:
2025-02-20 15:21:47 -05:00
parent 4f74d43081
commit 556eb30ab0
+3 -1
View File
@@ -358,7 +358,9 @@ public class WpakPowerManager {
appliedEffect.effect = effect; appliedEffect.effect = effect;
appliedEffect.rank = rank; 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) { for (ModifierEntry modifierEntry : effect.mods) {
Object modifier = modifierEntry.type.behaviorType.apply(caster, target, power, Object modifier = modifierEntry.type.behaviorType.apply(caster, target, power,