In the modifier of gameplayEffect, the configuration is:
- attr: maxhp
- Op:Multiply(Compound)
- scalable Magnitude: 1.2
If ge.Spec.stack=2, the calculated result is 1.2 * 2=2.4, which is more than twice the original.
Namely:
-stack=1 : 1.2 times, which is a 20% magnification.
-stack=2 : 2.4 times, which is a 1.4-fold magnification.
This is seriously not in line with expectations!!!
When calculating stacking in the source code, the bias of Multiply (Compound) is 0 in GameplayEffectiveness Utilities:: ComputeStackedModifierMagnitude, which causes this issue.
What is UE’s design idea for this?