All Docs Documentation Version: Base (Free) Influence System Ultimate
Simple Attribute Forge Ultimate

ARPG Regeneration Modifiers

Modify regeneration rates, delays, or completely disable regeneration.

Overview

The Modifier System includes built-in support for modifying how Vital attributes regenerate. This is essential for ARPG-style status effects like Poison (disable regen) or Blessing (faster regen).

Regen Rate Modification

Change how fast attributes regenerate per second.

// +5 flat regen per second group.modifyRegenRate = true; group.regenRateType = ModifierType.Flat; group.regenRateValue = 5f; // +50% regen speed group.modifyRegenRate = true; group.regenRateType = ModifierType.Percentage; group.regenRateValue = 50f; // x2 regen multiplier group.modifyRegenRate = true; group.regenRateType = ModifierType.Multiply; group.regenRateValue = 2f;

Regen Delay Modification

Change the delay before regeneration starts after taking damage.

// -2 seconds faster recovery group.modifyRegenDelay = true; group.regenDelayType = ModifierType.Flat; group.regenDelayValue = -2f; // -50% delay reduction group.modifyRegenDelay = true; group.regenDelayType = ModifierType.Percentage; group.regenDelayValue = -50f;

Disable Regeneration

Completely prevent regeneration while the modifier is active.

// Poison effect - no health regen group.disableRegeneration = true;
Note: disableRegeneration takes precedence over rate/delay modifications. If set to true, the attribute will not regenerate regardless of other bonuses.

Stacking Behavior

Multiple modifiers affecting regeneration stack according to their types:

Final Value Calculation

The calculation order for regen rate and delay modifiers:

// Regen Rate Formula Final Rate = (Base Rate + Total Flat Bonuses) × (1 + Total Percentage / 100) × Product of Multipliers // Example: Base 10 HP/sec + 5 flat + 50% + x1.5 multiplier Final Rate = (10 + 5) × (1 + 50/100) × 1.5 = 15 × 1.5 × 1.5 = 33.75 HP/sec // Regen Delay Formula (same structure) Final Delay = (Base Delay + Total Flat Bonuses) × (1 + Total Percentage / 100) × Product of Multipliers // Example: Base 5 sec delay - 2 flat - 50% delay Final Delay = (5 + (-2)) × (1 + (-50)/100) × 1.0 = 3 × 0.5 = 1.5 seconds
Note: If disableRegeneration = true on ANY active modifier, the attribute will not regenerate regardless of other bonuses. The disable check happens before any calculations.

Common Patterns

Poison

Disable regen + DoT damage

disableRegeneration = true applyOverTime = true

Blessing

+100% regen rate

regenRateType = Percentage regenRateValue = 100f

Quick Recovery

-50% regen delay

regenDelayType = Percentage regenDelayValue = -50f

Meditation

x3 mana regen while still

regenRateType = Multiply regenRateValue = 3f