Fixed mistake
This commit is contained in:
parent
b9bdcf44d3
commit
f9af270574
@ -52,7 +52,7 @@ namespace pdHealth
|
||||
pl.Health = pl.Health + damageTaken;
|
||||
pl.Armor = pl.Armor - damageTaken;
|
||||
} else {
|
||||
pl.Health = pl.Health + (damageTaken - pl.Armor);
|
||||
pl.Health = pl.Health + pl.Armor;
|
||||
pl.Armor = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user