Delegate TakeDamageProxy
Called when damage is dealt to the player
Namespace: Modding.Delegates
Assembly: HollowKnight.dll
Syntax
public delegate int TakeDamageProxy(ref int hazardType, int damage)
Parameters
| Type | Name | Description |
|---|---|---|
| int | hazardType | The type of hazard that caused the damage. |
| int | damage | Amount of Damage |
Returns
| Type | Description |
|---|---|
| int | Modified Damage |