Fixed mistake

This commit is contained in:
Fierelier 2018-04-23 15:30:22 +02:00
parent b9bdcf44d3
commit f9af270574

View File

@ -52,7 +52,7 @@ namespace pdHealth
pl.Health = pl.Health + damageTaken; pl.Health = pl.Health + damageTaken;
pl.Armor = pl.Armor - damageTaken; pl.Armor = pl.Armor - damageTaken;
} else { } else {
pl.Health = pl.Health + (damageTaken - pl.Armor); pl.Health = pl.Health + pl.Armor;
pl.Armor = 0; pl.Armor = 0;
} }
} }