Table of Contents

Method GetBestACMember

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetBestACMember(NwCreature?, bool)

Gets the member with the highest AC in this faction.

public NwCreature GetBestACMember(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 best AC member.

visible bool

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

Returns

NwCreature