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

Breakpoint System

Advanced conditional effects and threshold bonuses

What Are Breakpoints?

Breakpoints are conditional effects that modify formula calculations based on attribute values. They enable complex game mechanics like threshold bonuses, milestone rewards, and conditional modifiers without coding.

Key Feature: Breakpoints can affect any step of the 7-step formula pipeline, allowing precise control over when and how bonuses are applied.

Breakpoint Types

Threshold Breakpoints

Activate once when a condition is met and remain active.

  • Level 25 unlocks elite bonuses
  • STR ≥ 30 grants strength mastery
  • Health < 25% triggers desperate measures

Step Breakpoints

Activate multiple times at regular intervals.

  • Every 5 STR points adds +10 damage
  • Every 10 levels increases base health
  • Every 25 skill points unlocks new abilities

Basic Breakpoint Usage

Simple Threshold Example

Level 20 Elite Bonus
Formula: Elite Health Scaling Target: Health Base Calculation: Level × 15 Breakpoint Configuration: • Condition: Level ≥ 20 • Effect Type: Multiplier • Effect Value: 1.5 • Operation: Add Result: • Level 19: 19×15 = 285 health • Level 20: 20×15×1.5 = 450 health (Elite bonus activated!)

Step-Based Example

Strength Milestone Rewards
Formula: Strength Damage Target: Damage Base Calculation: Strength × 2.0 Step Breakpoint Configuration: • Condition: Every 5 Strength points • Effect Type: Flat • Effect Value: 12 • Operation: Add Result: • STR 14: 14×2 = 28 damage • STR 15: (15×2) + 12 = 42 damage (first milestone!) • STR 20: (20×2) + 24 = 64 damage (second milestone!) • STR 25: (25×2) + 36 = 86 damage (third milestone!)

Breakpoint Configuration

Core Properties

public class Breakpoint { [Header("Primary Condition")] public string attribute; // Attribute to check (e.g., "Level") public ComparisonOp comparison; // How to compare (≥, ≤, =, etc.) public float value; // Threshold value (e.g., 20) [Header("Effect")] public BreakpointType type; // Threshold or Step public BreakpointEffect effectType; // Which pipeline step to modify public float effectValue; // Magnitude of the effect public MathOperation operation; // Add or Subtract the effect }

Comparison Operators

public enum ComparisonOp { Equal, // attribute == value NotEqual, // attribute != value Greater, // attribute > value GreaterOrEqual, // attribute ≥ value (most common) Less, // attribute < value LessOrEqual // attribute ≤ value }

Effect Types

public enum BreakpointEffect { Flat, // Affects Step 2: Flat bonuses AddPercent, // Affects Step 3: Additive percentages SubPercent, // Affects Step 4: Subtractive percentages Multiplier, // Affects Step 5: Multipliers PostFlat // Affects Step 6: Post-flat bonuses }

Multiple Conditions

Breakpoints can have complex conditional logic with multiple requirements.

Additional Conditions Structure

public class Breakpoint { // ... primary condition fields ... [Header("Multiple Conditions")] public bool hasAdditionalConditions; public LogicalOperator globalLogicalOp; // AND/OR public List<BreakpointCondition> additionalConditions; }

Logical Operators

AND Logic

ALL conditions must be true

Level ≥ 25 AND Strength ≥ 30 Both requirements must be met

OR Logic

ANY condition can be true

Strength ≥ 40 OR Intelligence ≥ 40 Either high STR or high INT works

Complex Condition Examples

Hybrid Class Mastery
Primary Condition: Level ≥ 30 Additional Conditions (AND): • Strength ≥ 25 • Intelligence ≥ 25 • TotalSkills ≥ 200 Effect: ×2.0 damage multiplier Only activates for high-level characters who have invested in both physical and magical capabilities plus skill training.
Emergency Survival Bonuses
Primary Condition: Health ≤ 25% Additional Conditions (OR): • Mana ≤ 10% • Enemies ≥ 3 Effect: ×1.8 damage multiplier + 50 flat damage Activates when health is low AND either mana is depleted or outnumbered.

Breakpoint Examples by Type

Threshold Breakpoints

One-time activation effects that remain active once triggered.

Strength Master Bonus
Condition: Strength ≥ 50 Type: Threshold Effect Type: Multiplier Effect Value: 1.4 Operation: Add Grants 40% damage multiplier to all strength-based damage when STR reaches 50. Effect persists as long as STR ≥ 50.
Legendary Status
Condition: Level ≥ 60 Type: Threshold Effect Type: PostFlat Effect Value: 500 Operation: Add Adds 500 flat health when reaching legendary status (level 60). Represents the character transcending mortal limitations.

Step Breakpoints

Recurring effects that activate at regular intervals.

Constitution Health Scaling
Condition: Every 3 Constitution points Type: Step Effect Type: Flat Effect Value: 15 Operation: Add Calculation Examples: • CON 8: 2 steps × 15 = +30 health • CON 11: 3 steps × 15 = +45 health • CON 14: 4 steps × 15 = +60 health • CON 17: 5 steps × 15 = +75 health
Spell School Mastery
Condition: Every 20 Fire Magic skill points Type: Step Effect Type: AddPercent Effect Value: 8 Operation: Add Progressive mastery bonuses: • Fire Magic 19: No bonus • Fire Magic 20: +8% spell damage • Fire Magic 40: +16% spell damage • Fire Magic 60: +24% spell damage

Advanced Breakpoint Patterns

Conditional Scaling

Breakpoints that change formula behavior based on character build or situation.

Mage vs Warrior Scaling
Base Formula: Damage = Strength × 1.5 Breakpoint 1 (Warrior Path): • Condition: Strength ≥ 35 AND Intelligence < 20 • Effect: ×1.6 multiplier (pure warrior bonus) Breakpoint 2 (Battle Mage Path): • Condition: Strength ≥ 25 AND Intelligence ≥ 25 • Effect: +25 flat damage (hybrid efficiency) Different bonuses for different character builds.

Dynamic Difficulty Scaling

Player Power Level Adjustments
Base Formula: Enemy Health = Level × 50 Breakpoint 1 (Power Spike): • Condition: PlayerTotalPower ≥ 1000 • Effect: ×1.3 enemy health multiplier Breakpoint 2 (Overpowered): • Condition: PlayerTotalPower ≥ 2500 • Effect: ×1.8 enemy health multiplier Automatically scales enemy difficulty based on player power.

Resource Management

Mana Efficiency Scaling
Base Formula: Spell Cost = SpellLevel × 8 Breakpoint 1 (Apprentice): • Condition: Intelligence ≥ 20 • Effect Type: SubPercent • Effect: 15% cost reduction Breakpoint 2 (Archmage): • Condition: Intelligence ≥ 40 AND Wisdom ≥ 30 • Effect Type: SubPercent • Effect: Additional 25% cost reduction Intelligent mages cast spells more efficiently.

Breakpoint Effect Types

Flat Effects

Modify Step 2 (Flat Bonuses) of the pipeline.

Milestone Damage Bonuses
Base: Strength × 2.0 Breakpoint: Every 10 STR → +20 flat damage STR 25 calculation: • Base flat: 25×2 = 50 • Breakpoint flat: 2 milestones × 20 = +40 • Total flat: 50 + 40 = 90 damage

Percentage Effects

Modify Steps 3 & 4 (Additive/Subtractive Percentages).

Critical Hit Mastery
Base: Dexterity × 0.5% crit chance Breakpoint: When DEX ≥ 40 → +15% additive percentage DEX 45 calculation: • Base percentage: 45×0.5% = 22.5% • Breakpoint percentage: +15% • Total: 22.5% + 15% = 37.5% crit chance

Multiplier Effects

Modify Step 5 (Multipliers) for equipment and class bonuses.

Class Specialization Bonus
Base: Weapon damage formula Breakpoint: When Class = "Berserker" AND Level ≥ 15 → ×1.4 multiplier All damage calculations get 40% multiplier for high-level berserkers.

Post-Flat Effects

Modify Step 6 (Post-Flat Bonuses) for guaranteed additions.

Set Bonus Effects
Base: Defense calculation Breakpoint: When ArmorSetPieces ≥ 5 → +100 post-flat defense Adds flat 100 defense after all other calculations when wearing complete armor set.

Multiple Condition Examples

AND Conditions (All Must Be True)

Master Craftsman Requirements
Primary: CraftingSkill ≥ 75 Additional (AND): • Intelligence ≥ 25 (planning ability) • Dexterity ≥ 30 (fine motor control) • TotalItemsCrafted ≥ 1000 (experience) Effect: ×2.5 crafting success multiplier Only master craftsmen with high stats and experience get the bonus.
Arcane Warrior Hybrid
Primary: Level ≥ 30 Additional (AND): • Strength ≥ 35 (warrior capability) • Intelligence ≥ 35 (mage capability) • SwordSkill ≥ 50 (weapon mastery) • SpellSkill ≥ 50 (magic mastery) Effect: +200 flat damage + ×1.8 multiplier Rewards the extremely difficult hybrid warrior-mage build path.

OR Conditions (Any Can Be True)

Leadership Bonuses
Primary: Charisma ≥ 25 Additional (OR): • Leadership ≥ 50 (trained leader) • Noble ≥ 1 (born leader) • CommanderRank ≥ 5 (military leader) Effect: +30% experience gain for all party members Multiple paths to leadership - training, birth, or military service.

Pipeline Integration

Understanding how breakpoints integrate with each pipeline step.

Effect Application Order

  1. Calculate base pipeline values
  2. Evaluate all breakpoint conditions
  3. Apply breakpoint effects to their respective pipeline steps
  4. Recalculate pipeline with modified values

Complex Integration Example

Multi-Breakpoint Damage Formula
Base Formula: Weapon Damage Target: Damage Flat: Strength × 2.0 Add%: WeaponSkill × 1.5% Multiplier: Weapon Quality ×1.2 Breakpoint 1 (Affects Flat): • Condition: STR ≥ 30 → +25 flat damage Breakpoint 2 (Affects Percentage): • Condition: WeaponSkill ≥ 75 → +20% additive Breakpoint 3 (Affects Multiplier): • Condition: Level ≥ 40 → ×1.5 additional multiplier Example with STR 35, WeaponSkill 80, Level 45: Step 2 Flat: (35×2) + 25 = 95 (breakpoint added +25) Step 3 Add%: (80×1.5%) + 20% = 32% (breakpoint added +20%) Step 5 Multiplier: 1.2×1.5 = 1.8 (breakpoint added ×1.5) Result: 95 × 1.32 × 1.8 = 225.7 damage

Practical Applications

Character Progression Milestones

Progression Tier System
Novice Tier (Level 1-19): • Base progression only Veteran Tier (Level 20-39): • Breakpoint: Level ≥ 20 → ×1.25 all stats Elite Tier (Level 40-59): • Breakpoint: Level ≥ 40 → ×1.6 all stats Legendary Tier (Level 60+): • Breakpoint: Level ≥ 60 → ×2.2 all stats + 200 flat health Creates clear power tiers with significant advancement rewards.

Equipment Mastery Systems

Weapon Type Specialization
Sword Mastery Breakpoints: • SwordSkill ≥ 25: +15% damage (Adept) • SwordSkill ≥ 50: ×1.3 multiplier (Expert) • SwordSkill ≥ 75: +30 flat damage (Master) • SwordSkill = 100: ×2.0 multiplier (Grandmaster) Each weapon type has its own progression path with unique bonuses.

Situational Combat Bonuses

Desperate Measures System
Low Health Bonuses: • Health ≤ 50%: +10% damage (adrenaline) • Health ≤ 25%: +25% damage (desperation) • Health ≤ 10%: ×2.0 damage multiplier (last stand) Risk/reward mechanics that make low health dangerous but powerful.

Breakpoint Design Patterns

Progressive Mastery

Multiple threshold breakpoints that build on each other.

Mastery Path Example: Skill 25: +10% effectiveness (Apprentice) Skill 50: +25% effectiveness (Journeyman) Skill 75: +50% effectiveness (Expert) Skill 100: ×2.0 effectiveness (Master) Each tier provides meaningful advancement.

Milestone Rewards

Step breakpoints that provide regular progression feedback.

Level Milestone Example: Every 5 levels: +25 health, +15 mana Every 10 levels: +5% to all primary stats Every 25 levels: Unlock new ability tier Regular rewards maintain engagement throughout progression.

Build Validation

Breakpoints that reward specific character build choices.

Pure Mage Validation: STR ≤ 15 AND INT ≥ 40: ×1.8 spell damage (Rewards focusing on magic over physical combat) Pure Warrior Validation: STR ≥ 40 AND INT ≤ 15: ×1.8 melee damage (Rewards focusing on combat over magic)

Emergency Mechanics

Breakpoints that activate in crisis situations.

Crisis Response Examples: Health ≤ 20%: +50% damage, -50% defense (berserker mode) Mana ≤ 10%: Spell costs reduced by 75% (conservation) Outnumbered 3:1: +100% movement speed (tactical retreat)

Testing Breakpoints

Boundary Testing

Always test values around breakpoint thresholds:

// Test threshold breakpoint activation Test: STR 29 vs STR 30 (threshold at 30) Expected: No bonus at 29, bonus active at 30 // Test step breakpoint intervals Test: Skill 24, 25, 26 (step every 5 points) Expected: Same bonus at 24 and 26, new bonus at 25 // Test multiple condition logic Test: All conditions true, one condition false Expected: Effect only when all conditions met (AND logic)

Using the Test Preview

  1. Set test values in the Influence Wizard
  2. Adjust values around breakpoint thresholds
  3. Watch the calculation breakdown update in real-time
  4. Verify active breakpoints are highlighted

Runtime Verification

// Debug breakpoint activation orchestrator.debugMode = true; // Console output shows active breakpoints: [Breakpoint] StrengthMaster activated: STR 32 ≥ 30 [Breakpoint] LevelTier skipped: Level 18 < 20 [Pipeline] Final damage: 145.6 (includes breakpoint effects)

Common Breakpoint Patterns

Level-Based Tiers

// Standard RPG level tiers Level 10: Apprentice bonuses Level 20: Journeyman bonuses Level 30: Expert bonuses Level 40: Master bonuses Level 50: Grandmaster bonuses

Stat Investment Rewards

// Reward focused builds STR 25/50/75: Physical damage milestones INT 25/50/75: Magical power milestones AGI 25/50/75: Speed and precision milestones CON 25/50/75: Survivability milestones

Situational Modifiers

// Context-sensitive bonuses Health < 25%: Desperation bonuses Mana > 90%: Overflow efficiency Multiple enemies: Crowd control bonuses Solo combat: Focus bonuses

Equipment Synergies

// Equipment combination rewards Full armor set: Defense bonus Weapon + Shield: Balanced combat bonus Dual weapons: Offense bonus Staff + Orb: Magical focus bonus

Breakpoint Best Practices

Design Guidelines

Balance Considerations

Performance Tips

Common Mistakes

Avoid These Issues:

Advanced Breakpoint Topics

Dynamic Breakpoint Values

While breakpoint thresholds are static, you can create dynamic effects by referencing other attributes:

Scaled Difficulty Breakpoints
Enemy Scaling Formula: Primary: PlayerLevel ≥ DifficultyThreshold Effect: Scale enemy stats based on player progression Different breakpoint values for different difficulty settings.

Conditional Formula Disabling

Class-Restricted Formulas
Spell Damage Formula: Primary: Class = "Mage" Effect: Enable the entire formula Otherwise: Formula result = 0 Only mages benefit from spell damage calculations.

Breakpoint Combinations

Multiple breakpoints in the same formula create complex progression curves:

Complex Progression Example: STR 20: +×1.2 multiplier (competent) STR 30: +25 flat damage (strong) STR 40: +×1.5 multiplier (powerful) STR 50: +×2.0 multiplier (legendary) Creates exponential growth at high investment levels.