Jump to content

Help, Player Bonus Spell Dmg


Guest freelancer
 Share

Recommended Posts

Can you help me?

I need to get Player bonus spell dmg from Unit* object.

Now it is only

int32 maxAbsorb = int32(pVictim->GetPower(POWER_MANA) / manaMultiplier);

but i need something like

int32 maxAbsorb = int32(pVictim->GetPower(POWER_MANA) / manaMultiplier + PlayerBonusSpellDmg / 2);

thanks

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use