The search keyword must be a single word (no spaces).

Function UnitRemoveBuffsBJ

Line
3942
Location
blizzard.j
Constant?
no
Type
function
Arguments
integer buffType, unit whichUnit
Returns
nothing
3942
function UnitRemoveBuffsBJ takes integer buffType, unit whichUnit returns nothing
3943
    if (buffType == bj_REMOVEBUFFS_POSITIVE) then
3944
        call UnitRemoveBuffs(whichUnit, true, false)
3945
    elseif (buffType == bj_REMOVEBUFFS_NEGATIVE) then
3946
        call UnitRemoveBuffs(whichUnit, false, true)
3947
    elseif (buffType == bj_REMOVEBUFFS_ALL) then
3948
        call UnitRemoveBuffs(whichUnit, true, true)
3949
    elseif (buffType == bj_REMOVEBUFFS_NONTLIFE) then
3950
        call UnitRemoveBuffsEx(whichUnit, true, true, false, false, false, true, false)
3951
    else
3952
        // Unrecognized dispel type - ignore the request.
3953
    endif
3954
endfunction