mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-16 08:55:18 +00:00
Will this math?
This commit is contained in:
parent
d92497bc52
commit
aee8a7d091
1 changed files with 2 additions and 2 deletions
|
|
@ -124,9 +124,9 @@ object CollisionDamageModifierFunctions {
|
|||
val fall = cause.fall
|
||||
if (fall.toInt != 0) {
|
||||
val z = data.target.Definition.collision.z
|
||||
damage + z.hp(z.height(fall + 0.5f))
|
||||
(damage + z.hp(z.height(fall + 0.5f))) / 3
|
||||
} else {
|
||||
damage
|
||||
damage / 3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue