WowAddons

World of Warcraft Forever API · C_SpellDiminish.md, for your AI

C_SpellDiminish

4 functions, 1 events, 2 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_SpellDiminish.GetAllSpellDiminishCategories

categories = C_SpellDiminish.GetAllSpellDiminishCategories([ruleset])

Arguments

rulesetSpellDiminishRuleset may be nil

Returns

categoriesSpellDiminishCategoryInfo[]

C_SpellDiminish.GetSpellDiminishCategoryInfo

categoryInfo = C_SpellDiminish.GetSpellDiminishCategoryInfo(category)

Arguments

categorySpellDiminishCategory

Returns

categoryInfoSpellDiminishCategoryInfo may be nil

C_SpellDiminish.IsSystemSupported

isSystemSupported = C_SpellDiminish.IsSystemSupported()

Returns

isSystemSupportedbool

C_SpellDiminish.ShouldTrackSpellDiminishCategory

isTracked = C_SpellDiminish.ShouldTrackSpellDiminishCategory(category, ruleset)

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Arguments

categorySpellDiminishCategory
rulesetSpellDiminishRuleset

Returns

isTrackedbool

Events

UNIT_SPELL_DIMINISH_CATEGORY_STATE_UPDATED

unitTargetUnitTokenVariant
trackerInfoSpellDiminishTrackerInfo

Tables

SpellDiminishCategoryInfo structure

categorySpellDiminishCategory
namecstring
iconfileID may be nil

SpellDiminishTrackerInfo structure

categorySpellDiminishCategory
startTimenumber
durationnumber
showCountdownbool
isImmunebool

Dafür brauchst du WowAddons

Kostenlos, für Windows, macOS und Linux: Es packt das Addon mit einem Klick in dein Spiel und hält es aktuell. Öffne es einmal und drück dann nochmal auf Installieren.

WowAddons läuft auf deinem Computer: Öffne wowaddons.gg dort.

Für Windows herunterladen