WowAddons

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

TraitConstants (types and enums)

23 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.

Tables

Enum.NodeOpFailureReason enumeration

None0
MissingEdgeConnection1
RequiredForEdge2
MissingRequiredEdge3
HasMutuallyExclusiveEdge4
NotEnoughSourcedCurrencySpent5
NotEnoughCurrencySpent6
NotEnoughGoldSpent7
MissingAchievement8
MissingQuest9
WrongSpec10
WrongSelection11
MaxRank12
DataError13
NotEnoughSourcedCurrency14
NotEnoughCurrency15
NotEnoughGold16
SameSelection17
NodeNotFound18
EntryNotFound19
RequiredForCondition20
WrongTreeID21
LevelTooLow22
TreeFlaggedNoRefund23
NodeNeverPurchasable24
AccountDataNoMatch25
NotEnoughRanksInEntry26

Enum.RespecType enumeration

Talents0
Glyphs1
SetPrimarySpecialization2
PetTalents3
Legacy4
Specialization5

Enum.SharedStringFlag enumeration

InternalOnly1

Enum.TraitCombatConfigFlags enumeration

ActiveForSpec1
StarterBuild2
SharedActionBars4
SecondarySpec8

Enum.TraitCondFlag enumeration

IsGate1
IsAlwaysMet2
IsSufficient4

Enum.TraitConditionType enumeration

Available0
Visible1
Granted2
Increased3
DisplayError4
RanksAllowed5

Enum.TraitConfigDbState enumeration

Ready0
Created1
Removed2
Deleted3

Enum.TraitConfigType enumeration

Invalid0
Combat1
Profession2
Generic3
CamelotCombat4

Enum.TraitCurrencyFlag enumeration

ShowQuantityAsSpent1
TraitSourcedShowMax2
UseClassIcon4
UseSpecIcon8

Enum.TraitCurrencyType enumeration

Gold0
CurrencyTypesBased1
TraitSourced2
TraitSourcedPlayerDataElement3

Enum.TraitDefinitionSubType enumeration

DragonflightRed0
DragonflightBlue1
DragonflightGreen2
DragonflightBronze3
DragonflightBlack4

Enum.TraitEdgeType enumeration

VisualOnly0
DeprecatedRankConnection1
SufficientForAvailability2
RequiredForAvailability3
MutuallyExclusive4
DeprecatedSelectionOption5

Enum.TraitEdgeVisualStyle enumeration

None0
Straight1

Enum.TraitNodeEntryType enumeration

SpendHex0
SpendSquare1
SpendCircle2
SpendSmallCircle3
DeprecatedSelect4
DragAndDrop5
SpendDiamond6
ProfPath7
ProfPerk8
ProfPathUnlock9
RedButton10
ArmorSet11
SpendInfinite12
SpendCapstoneCircle13
SpendCapstoneSquare14

Enum.TraitNodeFlag enumeration

ShowMultipleIcons1
NeverPurchasable2
TestPositionLocked4
TestGridPositioned8
ActiveAtFirstRank16
ShowExpandedSelection32
HideMaxRank64
HighestChosenRank128
ShowTierTrack256

Enum.TraitNodeGroupFlag enumeration

AvailableByDefault1

Enum.TraitNodeType enumeration

Single0
Tiered1
Selection2
SubTreeSelection3

Enum.TraitPointsOperationType enumeration

None-1
Set0
Multiply1

Enum.TraitSystemFlag enumeration

AllowMultipleLoadoutsPerTree1
ShowSpendConfirmation2
AllowEditInCombat4
AllowEditInChallengeMode8

Enum.TraitSystemVariationType enumeration

None0
Spec1

Enum.TraitTreeFlag enumeration

CannotRefund1
HideSingleRankNumbers2

Enum.TraitVendorResetFailureReason enumeration

None0
DataError1
ClassPointDeficit2

TraitConsts constants

MAX_COMBAT_TRAIT_CONFIGS40
COMMIT_COMBAT_TRAIT_CONFIG_CHANGES_SPELL_ID384255
INSPECT_TRAIT_CONFIG_ID-1
STARTER_BUILD_TRAIT_CONFIG_ID-2
VIEW_TRAIT_CONFIG_ID-3

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows