Skip to content

HasBuffsCondition

cyrite edited this page Jan 6, 2024 · 1 revision

Overview

Checks whether the target has a given list of buffs or debuffs (use HasBuffCondition for a single buff or debuff).

Syntax

HasBuffsCondition.new(buff_names, require_all)

Parameter Type Description
buff_names list Value of en for the buffs or debuffs in res/buffs.lua
require_all boolean If true, will return false if any buffs or debuffs are missing. If false, will return true if any buffs or debuffs are present.

Examples

  • HasBuffsCondition.new(L{'Poison', 'Silence'}, false)
  • HasBuffCondition.new(L{'Refresh', 'Regen'}, true)
Clone this wiki locally