Fixed sprites and armor
This commit is contained in:
parent
45b45b7fd0
commit
540c6c8f2f
43 changed files with 12 additions and 75 deletions
|
|
@ -28,7 +28,7 @@ public partial class Armor : Node
|
|||
_hp -= damage;
|
||||
if(_hp <= 0)
|
||||
{
|
||||
returnAmount = _hp;
|
||||
returnAmount = -_hp;
|
||||
_hp = 0;
|
||||
EmitSignal(SignalName.ArmorLost);
|
||||
_lost = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue