Difference between revisions of "GetNthActiveEffectMagnitude"

Fixed example
imported>Haama
(Fixed example)
imported>Haama
(Fixed example)
Line 10: Line 10:
  short EffectMag
  short EffectMag
  set EffectMag to (player.GetNthActiveEffectMagnitude 0)
  set EffectMag to (player.GetNthActiveEffectMagnitude 0)
If the player currently has one '''Shield''' effect (and no other effects) at 10 magnitude and another at 90, this will return 100.
If the player currently has two '''Shield''' effects, no other effects, the first at 10 magnitude and the second at 90, this will return 10.


==See Also==
==See Also==
Anonymous user