mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
no bonus damage on armor depletion
This commit is contained in:
parent
5c71830f2b
commit
45b76ddb8b
|
|
@ -98,7 +98,7 @@ object ResolutionCalculations {
|
|||
if (resistedDam <= currentArmor) {
|
||||
(0, resistedDam) //armor damage
|
||||
} else {
|
||||
(resistedDam + (resistance - currentArmor), currentArmor) //deplete armor; health damage + bonus
|
||||
(resistedDam, currentArmor) //deplete armor; health damage
|
||||
}
|
||||
} else {
|
||||
(0, damages) //too weak; armor damage (less than resistance)
|
||||
|
|
|
|||
Loading…
Reference in a new issue