Command.Buff.Cancel

From Riftui Wiki

Jump to: navigation, search

Removes the target buff. Similar to right clicking a buff from your list.

Parameters:

Example

-- Get the list of our buffs --
local function ClearMyBuffs()
        -- Get our current buffs --
	local buff_list = Inspect.Buff.List("player")
	-- Sometimes the buff list isn't available so we need to prevent nil operations --
	if not buff_list then return end 
 
	-- Step through the buff list table and remove each one --
	for v, k in pairs(buff_list) do
		Command.Buff.Cancel(v)
	end
end
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox