Core/Misc: Added helper function Unit::SetFullPower * Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines
This commit is contained in:
@@ -1180,7 +1180,7 @@ namespace Scripts.Spells.Items
|
||||
Unit caster = eventInfo.GetActor();
|
||||
|
||||
uint spellId;
|
||||
switch (caster.getPowerType())
|
||||
switch (caster.GetPowerType())
|
||||
{
|
||||
case PowerType.Mana:
|
||||
spellId = _manaSpellId;
|
||||
|
||||
Reference in New Issue
Block a user