Skip to main content

wowlab_engine_domain/dbc/semantics/
power_types.rs

1//! Canonical `SpellPower.PowerType` and `PowerType.PowerTypeEnum` identities.
2
3#[derive(Clone, Copy, Debug, Eq, PartialEq, num_enum::TryFromPrimitive)]
4#[repr(i32)]
5#[non_exhaustive]
6pub enum PowerType {
7    Health = -2,
8    Mana = 0,
9    Rage = 1,
10    Focus = 2,
11    Energy = 3,
12    ComboPoints = 4,
13    Runes = 5,
14    RunicPower = 6,
15    SoulShards = 7,
16    LunarPower = 8,
17    HolyPower = 9,
18    Alternate = 10,
19    Maelstrom = 11,
20    Chi = 12,
21    Insanity = 13,
22    ArcaneCharges = 16,
23    Fury = 17,
24    Pain = 18,
25    Essence = 19,
26}