Core/Misc: Added helper function Unit::SetFullPower * Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines
This commit is contained in:
@@ -629,7 +629,7 @@ namespace Game.Entities
|
||||
UpdateAllStats();
|
||||
|
||||
SetFullHealth();
|
||||
SetPower(PowerType.Mana, GetMaxPower(PowerType.Mana));
|
||||
SetFullPower(PowerType.Mana);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user