Core/Misc: Added helper function Unit::SetFullPower * Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines
This commit is contained in:
@@ -258,7 +258,7 @@ namespace Scripts.Northrend.FrozenHalls.ForgeOfSouls.Bronjahm
|
||||
{
|
||||
void RecalculateDamage()
|
||||
{
|
||||
if (GetHitUnit().getPowerType() != PowerType.Mana)
|
||||
if (GetHitUnit().GetPowerType() != PowerType.Mana)
|
||||
return;
|
||||
|
||||
int maxDamage = GetCaster().GetMap().IsHeroic() ? 15000 : 10000;
|
||||
|
||||
Reference in New Issue
Block a user