Will this math?

This commit is contained in:
ScrawnyRonnie 2023-10-25 20:19:04 -04:00 committed by GitHub
parent d92497bc52
commit aee8a7d091
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}
}
}