Table of Contents

Method IsWeaponEffective

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

IsWeaponEffective(NwGameObject, bool)

Check whether this creature can damage the specified object using their current weapon/s.

public Task<bool> IsWeaponEffective(NwGameObject target, bool offHand = false)

Parameters

target NwGameObject

The object to test this creature's weapon against.

offHand bool

If true, checks the creature's off-hand weapon.

Returns

Task<bool>