use RestoreFullHP/Mana functions
This commit is contained in:
parent
f60760a8e9
commit
c2b2d0c0e6
1 changed files with 2 additions and 4 deletions
|
|
@ -436,10 +436,8 @@ std::string DebugCmdSetSpellsLevel(const string_view parameter)
|
|||
std::string DebugCmdRefillHealthMana(const string_view parameter)
|
||||
{
|
||||
auto &myPlayer = Players[MyPlayerId];
|
||||
myPlayer._pMana = myPlayer._pMaxMana;
|
||||
myPlayer._pManaBase = myPlayer._pMaxManaBase;
|
||||
myPlayer._pHitPoints = myPlayer._pMaxHP;
|
||||
myPlayer._pHPBase = myPlayer._pMaxHPBase;
|
||||
myPlayer.RestoreFullLife();
|
||||
myPlayer.RestoreFullMana();
|
||||
drawhpflag = true;
|
||||
drawmanaflag = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue