Lore archive · Warcraft Wiki, 2023 dump
API CancelUnitBuff
Last wiki revision 2023-08-24
Removes a specific buff from the character. CancelUnitBuff(unit, buffIndex [,filter])
- unit: : UnitId - The unit to cancel the buff from, must be under the player's control.
- buffIndex: - index of the buff to cancel, ascending from 1.
- filter: - any of combination of "HELPFUL|HARMFUL|PLAYER|RAID|CANCELABLE|NOT_CANCELABLE".
- This function does not work for canceling druid forms, rogue Stealth, death knight presences, or priest Shadowform.
Source
https://warcraft.wiki.gg/wiki/API_CancelUnitBuff · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.