Warhammer Scrolling Combat Text

27 - GetBuffs() deprecated

Hi Grayhoof,
just dropped in to let you know the usage of GetBuffs is deprecated (while still working).

bufftables are now included in the handler argument like that:

function MyAddon.OnPlayerEffectsUpdated(effects, isFull)
function MyAddon.OnTargetEffectsUpdated(buffTargetType, effects, isFull)
function MyAddon.OnGroupEffectsUpdated(buffTargetType, effects, isFull)

buffTargetType being one of GameData.BuffTargetType

effects is now either a full or a diff table of the effects, which one is told by the boolean isFull.
For differential "remove" entries, of effects[EFFECT_INDEX] = {EFFECT_DATA},
{EFFECT_DATA} will be an empty table.

Greetings,
Wothor

User When Change
Philosound Mar 12, 2011 at 10:52 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Mar 30, 2012
Reported
Mar 12, 2011
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees