Call as
Conditions.totem.specific(value)
Record the dependency Conditions.totem.specific, then call it by that name. A namespaced call does not pass self: use a colon call or pass the object yourself.
What it does
True when a totem spell condition names a valid spell ID and value.ranked is nil or a boolean.
Arguments
| Name | Type | What it does |
|---|---|---|
value | table | Saved condition settings with spell and ranked fields. |
Returns
| 1 | boolean | True when the value passes the check. |
|---|
Editions
Built In helpers are registered on every edition. What differs is the game API they read; where one is missing the helper falls back or returns nil with a reason.
It reads no game API directly.
How the addon calls it
- Specific Totem Present (valid)
return specific(value) - Specific Totem Time Remaining (valid)
return specific(value) and amount(value)
Source
Conditions/totem.lua, line 85. Read only in game; Duplicate makes an editable copy.
Conditions.totem.specific(value)
return addon.IsConditionSpellID(value.spell) and (value.ranked==nil or type(value.ranked)=="boolean")