Armor Class

DebugArmorClass(cre)

Generates a string with armor class related information.

Parameters:
Return type:

string

GetACVersus(cre, vs, touch, is_ranged, attack, state)
Parameters:
  • cre (Creature) – Creature instance.
  • vs (Object) – Object instance.
  • touch (bool) – Versus touch attack.
  • is_ranged (bool) – Versus ranged attack.
  • attack – Attack info.
  • state (int) – Combat state.
Return type:

int

GetArmorCheckPenalty(cre)

Determines armor check penalty.

Parameters:
Return type:

int

GetArmorClassModifierLimits(cre)

Limits of armor class modifiers.

Parameters:
Return type:

-20, 20