Core/Misc: Added helper function Unit::SetFullPower * Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines
This commit is contained in:
@@ -496,7 +496,7 @@ namespace Scripts.Spells.Priest
|
||||
{
|
||||
Unit target = obj.ToUnit();
|
||||
if (target)
|
||||
return target.getPowerType() != PowerType.Mana;
|
||||
return target.GetPowerType() != PowerType.Mana;
|
||||
|
||||
return true;
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user