Table of Contents

Method ActionEquipMostDamagingMelee

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ActionEquipMostDamagingMelee(NwGameObject?, bool)

Instructs this creature to equip its most damaging melee weapon. If no valid melee weapon is found, it will equip the most damaging ranged weapon.

public Task ActionEquipMostDamagingMelee(NwGameObject? verses = null, bool offhand = false)

Parameters

verses NwGameObject

If set, finds the most effective melee weapon for attacking this object.

offhand bool

Determines if an off-hand weapon is equipped.

Returns

Task