OnDecayDamage
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnDecayDamage( DecayEntity instance )
{
Puts( "OnDecayDamage works!" );
}
Location
- DecayEntity::OnDecay(Decay decay, float decayDeltaTime)
csharp
//---
{
num3 -= decayPoint.protection;
}
}
}
if (Interface.CallHook("OnDecayDamage", this) != null)
{
return;
}
if (num3 > 0f)
{
//---