Difference between revisions of "GetActiveEffectCount"
Jump to navigation
Jump to search
Fixed example
imported>Haama (Created) |
imported>Haama (Fixed example) |
||
Line 9: | Line 9: | ||
short NumEffects | short NumEffects | ||
set NumEffects to player.GetActiveEffectCount | set NumEffects to player.GetActiveEffectCount | ||
If the player currently has 1 potion with '''Shield''' and '''Restore Health''', another potion with '''Restore Health''', and a spell with '''Shield''' and '''Drain Health''' this will return | If the player currently has 1 potion with '''Shield''' and '''Restore Health''', another potion with '''Restore Health''', and a spell with '''Shield''' and '''Drain Health''' this will return 5 (2 '''Shield'''s, 2 '''Restore Health'''s, and 1 '''Drain Health'''). | ||
==See Also== | ==See Also== |