Table of Contents

Method GetWorstACMember

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetWorstACMember(NwCreature?, bool)

Gets the member with the lowest AC in this faction that is visible from the specified object.

public NwCreature GetWorstACMember(NwCreature? referenceCreature = null, bool visible = false)

Parameters

referenceCreature NwCreature

The reference creature. Bonuses and penalties against the reference creature will be considered when finding the worst AC member.

visible bool

Highly recommended to set to "true" on large NPC factions. Includes only creatures visible to referenceCreature.

Returns

NwCreature