MCPcopy Create free account
hub / github.com/ElunaLuaEngine/Eluna / GetPowerPct

Function GetPowerPct

methods/TrinityCore/UnitMethods.h:853–862  ·  view source on GitHub ↗

* Returns the [Unit]'s power percent for given power type. * * @table * @columns [Powers, ID, Comment] * @values [POWER_MANA, 0, ""] * @values [POWER_RAGE, 1, ""] * @values [POWER_FOCUS, 2, ""] * @values [POWER_ENERGY, 3, ""] * @values [POWER_HAPPINESS, 4, ""] * @values [POWER_RUNE, 5, ""] * @values [POWER_RUNIC_POWER, 6, ""] * @values [MAX_PO

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

CHECKVAL<int>Method · 0.80
PowerSelectorHelperFunction · 0.70
PushMethod · 0.45

Tested by

no test coverage detected