man! thanks for the pointer in the right direction. i seem to always have overlookted this attrib +rep for that
just mask it with the powerId!
PHP Code:
int32_t getInteger(eGameAttributes id, int32_t mask = -1) const
{
int32_t tid = (int32_t)(id);
tid = ( mask << 12 ) | tid;
return getIntRaw(tid);
}
player->getInteger(D3::eGameAttributes::Buff_Active,(int32_t)D3::ePowers::Wizard_EnergyArmor);
here´s some masking stuff in action you can also find a few enums in the init function:
0x0086C4D0 D3::MaskGameAttrib
0x01315100 D3::InitializeMaskedAttribs