Minor fixes, upgrade to 4.4.0-dev4
This commit is contained in:
@@ -261,10 +261,10 @@ public partial class Game : Node3D, IGame
|
||||
}
|
||||
}
|
||||
|
||||
public void HealHP(int amountToRaise)
|
||||
public void HealHP(int amountToRestore)
|
||||
{
|
||||
GameRepo.PlayerData.SetCurrentHP(GameRepo.PlayerData.CurrentHP.Value + amountToRaise);
|
||||
var raiseString = amountToRaise == 1000 ? "MAX" : $"{amountToRaise}";
|
||||
GameRepo.PlayerData.SetCurrentHP(GameRepo.PlayerData.CurrentHP.Value + amountToRestore);
|
||||
var raiseString = amountToRestore == 1000 ? "MAX" : $"{amountToRestore}";
|
||||
EmitSignal(SignalName.StatRaisedAlert, $"{raiseString}HP Restored.");
|
||||
}
|
||||
|
||||
@@ -278,10 +278,10 @@ public partial class Game : Node3D, IGame
|
||||
}
|
||||
}
|
||||
|
||||
public void HealVT(int amountToRaise)
|
||||
public void HealVT(int amountToRestore)
|
||||
{
|
||||
GameRepo.PlayerData.SetCurrentVT(GameRepo.PlayerData.CurrentVT.Value + amountToRaise);
|
||||
var raiseString = amountToRaise == 1000 ? "MAX" : $"{amountToRaise}";
|
||||
GameRepo.PlayerData.SetCurrentVT(GameRepo.PlayerData.CurrentVT.Value + amountToRestore);
|
||||
var raiseString = amountToRestore == 1000 ? "MAX" : $"{amountToRestore}";
|
||||
EmitSignal(SignalName.StatRaisedAlert, $"{raiseString}VT Restored.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user