Skip to content

Support Custom Natural Armor Formulas for Races #673

Description

@datdamnzotz

Motivation / Use Case

User Story: Support Custom Natural Armor Formulas for Races

As a game content creator or administrator,

I want to configure race-specific Natural Armor calculations using different ability modifiers,

So that races with unique armor mechanics are calculated correctly within the character builder.

Current Issue

The Loxodon race (or insert custom race here) has the following Natural Armor trait:

"You have thick, leathery skin. When you aren't wearing armor, your AC is 12 + your Constitution modifier."

However, the race editor currently only provides an option for Natural Armor that uses the formula:

"Without armor your AC becomes 13 + your DEX modifier."

As a result, the Loxodon's Natural Armor does not calculate correctly because there is no way to specify Constitution as the modifier or to define a custom base AC value.

Expected Behavior

The race editor should allow administrators to:

  • Define a custom base AC value (e.g., 12).
  • Select which ability modifier is used in the AC calculation (DEX, CON, WIS, etc.).
  • Configure race-specific Natural Armor formulas.
  • Ensure the selected formula is automatically applied to characters of that race when they are not wearing armor.

Acceptance Criteria

  1. The race editor includes a configurable Natural Armor feature.

  2. Administrators can select the ability score modifier used in the calculation.

  3. Administrators can specify the base AC value.

  4. A Loxodon race can be configured as:

    • Base AC: 12
    • Modifier: Constitution
    • Condition: Not wearing armor
  5. Characters using the Loxodon race receive the correct AC calculation of 12 + Constitution modifier when unarmored.

  6. Existing races that use the standard 13 + Dexterity modifier continue to function without changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/applicationTask related to orcpub application itself

    Projects

    Status
    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions