Monster..::..FireBoltAtMonster Method

Fire a bolt of some kind at another monster

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

Syntax


public void FireBoltAtMonster(
	SaveGame saveGame,
	int targetY,
	int targetX,
	Projectile projectile,
	int damage
)

Parameters

saveGame
Type: AngbandOS.Core..::..SaveGame
targetY
Type: Int32
The y coordinate of the target
targetX
Type: Int32
The x coordinate of the target
projectile
Type: Projectile
The projectile to be fired
damage
Type: Int32
The damage the projectile should do