ArenaLegends
  • GENERAL USE
    • Getting Started
    • Commands
    • Permissions
    • Placeholders
    • Common Questions
    • Troubleshooting
    • Useful Links
  • GUIDES
    • Games
    • Arenas
    • Round Builder
    • Augments
    • Anvil Stats
    • Shopkeeper
    • Resource Pack
    • Data & MySQL
  • MENUS
    • Item Builders
    • Event Triggers
    • Player Heads
    • Click Commands
  • DEVELOPER API
    • Creating Augments
      • Game Events
      • Simple Augment
Powered by GitBook
On this page
  • What are Anvil Stats?
  • Operations
  • Modifiers
  • Config Example
  1. GUIDES

Anvil Stats

PreviousAugmentsNextShopkeeper

Last updated 3 months ago

What are Anvil Stats?

  1. Permanent Buffs: Anvil Stats provide permanent character

  2. Selection Process: Players choose one Anvil Stat from three options

  3. Reroll Option: Players can reroll each Anvil Stat if they don't like it

  4. Round Availability: Anvil Stats are offered to players on specific rounds

  5. Random Selection: A random selection is made if no choice is made by the player

Operations

Operation
Description
Formula

ADD_NUMBER

Add modifier.

base + modifier

ADD_SCALAR

Multiply the base.

base x (1 + modifier)

MULTIPLY_SCALAR_1

Multiply the final value.

final x (1 + modifier)

Base: The base value of a player's attribute.

Final: The final value of a player's attribute (this includes all the previous modifiers).

Modifiers

Config Example

FLAT_DAMAGE:
  name: "Damage"
  modifiers:
    - "GENERIC_ATTACK_DAMAGE ADD_NUMBER{0.45;0.9}"

SCALING_MOVEMENT_SPEED:
  name: "Movement Speed"
  modifiers:
    - "GENERIC_MOVEMENT_SPEED ADD_SCALAR{0.012;0.024}"

BERSERKER:
  name: "Berserker"
  modifiers:
    - "GENERIC_ATTACK_DAMAGE ADD_SCALAR{0.02;0.04}"
    - "GENERIC_MAX_HEALTH ADD_SCALAR{0.025;0.05}"
AttributeModifier (paper-api 1.21.3-R0.1-SNAPSHOT API)
Logo