afflictionUpdate hook from mc-oofert/patch-1

afflictionUpdate hook
This commit is contained in:
Evil Factory
2021-09-02 15:27:26 -03:00
committed by GitHub

View File

@@ -292,6 +292,9 @@ namespace Barotrauma
{
AdditionStrength -= amount;
}
#if SERVER
GameMain.Lua.hook.Call("afflictionUpdate", new object[] { this, characterHealth, targetLimb, deltaTime });
#endif
}
public void ApplyStatusEffects(ActionType type, float deltaTime, CharacterHealth characterHealth, Limb targetLimb)