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!)
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
}
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.
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.
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
Calculate base pipeline values
Evaluate all breakpoint conditions
Apply breakpoint effects to their respective pipeline steps
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.
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
Set test values in the Influence Wizard
Adjust values around breakpoint thresholds
Watch the calculation breakdown update in real-time
Clear Thresholds: Use round numbers (25, 50, 75) for easy player understanding
Meaningful Rewards: Breakpoint bonuses should feel significant and worth pursuing
Multiple Paths: Provide different breakpoints for different character builds
Logical Conditions: Breakpoint requirements should make thematic sense
Balance Considerations
Avoid Breakpoint Dominance: Don't make breakpoints so powerful they overshadow base progression
Test Edge Cases: Verify behavior at exact threshold values
Plan for Min-Maxing: Consider how players might exploit breakpoint thresholds
Provide Alternatives: Multiple viable paths to similar power levels
Performance Tips
Limit breakpoints per formula (3-5 maximum recommended)
Use simple conditions when possible (single attribute checks)
Avoid complex mathematical expressions in conditions
Group related breakpoints in the same formula
Common Mistakes
Avoid These Issues:
Breakpoints that reference non-existent attributes
Conflicting breakpoint effects that cancel each other
Overly complex condition logic that's hard to understand
Breakpoint thresholds that are impossible to reach
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: