forked from MagicBane/Server
Comment added
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user