patch dmg negatif

This commit is contained in:
marc barbier
2021-01-07 10:54:41 +01:00
parent c9dedaf7be
commit 32d8583922
2 changed files with 1 additions and 0 deletions
Binary file not shown.
+1
View File
@@ -97,6 +97,7 @@ public abstract class Card{
public void makeStronger(int amount) public void makeStronger(int amount)
{ {
attack += amount; attack += amount;
if(attack < 0)attack=0;
} }
} }