Difference between revisions of "GetNthActiveEffectMagnitude"

Jump to navigation Jump to search
Fixed example
imported>Haama
(Created)
 
imported>Haama
(Fixed example)
Line 9: Line 9:
'''Example'''
'''Example'''
  short EffectMag
  short EffectMag
  set EffectMag to (player.GetNthActiveEffectCode 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 one '''Shield''' effect (and no other effects) at 10 magnitude and another at 90, this will return 100.


Anonymous user

Navigation menu