afflictionUpdate hook from mc-oofert/patch-1
afflictionUpdate hook
This commit is contained in:
@@ -292,6 +292,9 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
AdditionStrength -= amount;
|
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)
|
public void ApplyStatusEffects(ActionType type, float deltaTime, CharacterHealth characterHealth, Limb targetLimb)
|
||||||
|
|||||||
Reference in New Issue
Block a user