Fixed lag caused by character.damageLimb

This commit is contained in:
EvilFactory
2024-09-06 18:58:08 -03:00
parent 911fff14e9
commit 307c81c3bd
3 changed files with 10 additions and 10 deletions

View File

@@ -185,6 +185,9 @@ function character.applyAffliction(character, limbHealth, newAffliction, allowSt
-- @realm shared
function character.applyDamage(characterHealth, attackResult, hitLimb, allowStacking) end
--- Gets gets called every time a limb gets damaged by an attack.
-- @realm shared
function character.damageLimb(character, worldPosition, hitLimb, afflictions, stun, playSound, attackImpulse, attacker, damageMultiplier, allowStacking, penetration, shouldImplode) end
--- Gets called every time an affliction updates.
-- @realm shared