Is your effect stackable Once Per Combatant or simply Enabled? If it's once per combatant, it'd require a different user combatant each time, as it's otherwise coming from the same combatant, preventing it from being added.
Also, you can pass on null for the variable handler and selected data handler.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Change it to: user.Status.Effects.Add(1, user, null, true, false, null, new VariableHandler(false), new SelectedDataHandler()); Or: user.Status.Effects.Add(1, user, null, true, false, null, null, null);
The source parameter is usually null, unless it's coming from something that should not cause stacking, e.g. a grid formation or auto effect should only apply it once and not cause the stack to grow each time it's used.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If it's once per combatant, it'd require a different user combatant each time, as it's otherwise coming from the same combatant, preventing it from being added.
Also, you can pass on null for the variable handler and selected data handler.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
user.Status.Effects.Add(1, user, null, true, false, null, new VariableHandler(false), new SelectedDataHandler());
Or:
user.Status.Effects.Add(1, user, null, true, false, null, null, null);
The source parameter is usually null, unless it's coming from something that should not cause stacking, e.g. a grid formation or auto effect should only apply it once and not cause the stack to grow each time it's used.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!