Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C Traits.GetConditionInfo

Last wiki revision 2023-05-12

Returns conditionInfo applicable to the configID you enter condInfo = C_Traits.GetConditionInfo(configID, condID)

  • configID: - For TalentTrees this will often be, this is -1 when inspecting a player. For professions, this will be.
  • condID: - trait conditionId as found in e.g. or
  • condInfo: - returns nil if no info is found

Trait conditions have a specific types. These types are not exposed in the API, but an enum is documented (Enum.TraitConditionType). Conditions broadly fall into 2 categories, 'Friendly' and 'NotFriendly'. Friendly conditions give benefits, while NotFriendly conditions impose restrictions.

Source

https://warcraft.wiki.gg/wiki/API_C_Traits.GetConditionInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.