m
no edit summary
No edit summary |
mNo edit summary |
||
| Line 11: | Line 11: | ||
buffIndex works in a similar way, but there is no distinction between buffs and debuffs, they're all indexed together. This is the whole reason [[API GetPlayerBuff|GetPlayerBuff(buffId, buffFilter)]] is provided. | buffIndex works in a similar way, but there is no distinction between buffs and debuffs, they're all indexed together. This is the whole reason [[API GetPlayerBuff|GetPlayerBuff(buffId, buffFilter)]] is provided. | ||
Remember that both buffId and buffIndex can change when auras change. Both values are indexed sequentially starting at 0 at all times, you won't encounter a "gap" if a buff has | Remember that both buffId and buffIndex can change when auras change. Both values are indexed sequentially starting at 0 at all times, you won't encounter a "gap" if a buff has worn off in the middle of the list. | ||
[[Category:World of Warcraft API]] | [[Category:World of Warcraft API]] | ||