Monster..::..TakeDamageFromAnotherMonster Method

Take damage after being hit by another monster

Namespace:  AngbandOS.Core
Assembly:  AngbandOS.Core (in AngbandOS.Core.dll)

Syntax


public void TakeDamageFromAnotherMonster(
	SaveGame saveGame,
	int damage,
	out bool fear,
	string note
)

Parameters

saveGame
Type: AngbandOS.Core..::..SaveGame
damage
Type: Int32
The damage taken
fear
Type: Boolean%
Whether the damage makes us afraid
note
Type: String
A special descriptive note that replaces the normal death message