WowAddons

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

DamageConstants (types and enums)

6 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.Causeofdeath enumeration

None0
PlayerPvP1
PlayerDuel2
Creature3
Falling4
Drowning5
Fatigue6
Slime7
Lava8
Fire9

Enum.CauseofdeathFlags enumeration

NoneNeeded0
PlayerNameNeeded1
CreatureNameNeeded2
ZoneNameNeeded4

Enum.Damageclass enumeration

Physical0
Holy1
Fire2
Nature3
Frost4
Shadow5
Arcane6
FirstResist2
LastResist6
MaskNone0
MaskPhysical1
MaskHoly2
MaskFire4
MaskNature8
MaskFrost16
MaskShadow32
MaskArcane64
AllPhysical1
AllMagical126
All127
MaskFlamestrike5
MaskFroststrike17
MaskSpellstrike65
MaskShadowstrike33
MaskStormstrike9
MaskHolystrike3
MaskFrostfire20
MaskSpellfire68
MaskFirestorm12
MaskShadowflame36
MaskHolyfire6
MaskSpellfrost80
MaskFroststorm24
MaskShadowfrost48
MaskHolyfrost18
MaskSpellstorm72
MaskSpellshadow96
MaskDivine66
MaskShadowstorm40
MaskHolystorm10
MaskTwilight34
MaskElemental28
MaskChromatic62
MaskMagical126
MaskChaos124
MaskCosmic106

Enum.DamageclassType enumeration

Physical0
Magical1

Enum.EnvironmentalDamageFlags enumeration

OneTime1
DmgIsPct2

Enum.Environmentaldamagetype enumeration

Fatigue0
Drowning1
Falling2
Lava3
Slime4
Fire5

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