# Configuration file

charging_dex {
    # Charging Dex -> Percent of Total Defense Activated while Charging Ki Attacks. 
    # Active Defense [Blocking], Passive [Not Blocking](Takes Percent of Active in JRMCore Configs.) 
    # Charging Defense [Charging Ki Attack](Percent of Active)[0 - 100]
    B:"0. Enable Charging Dex"=true
    I:"1. Martial Artist Percent"=60
    I:"2. Spiritualist Percent"=60
    I:"3. Warrior Percent"=60
}


combat {
    # True or false whether UI Dodge teleports to the target
    B:"Teleport on UI Dodge"=true

    # True or false whether UI Dodge Turns camera
    B:"camera Turn on UI dodge"=true
}


fixes {

    movement {
        # Enables the enhanced movement system for turbo sprint and flight.
        # Fixes knockback being destroyed during DBC movement by using additive acceleration
        # instead of velocity assignment. Preserves knockback, explosions, and other forces.
        B:"Enhanced Movement"=true

        # Enables movement speed modifiers to affect turbo sprint and flight.
        # When enabled, external speed changes (e.g. from effects or attributes) are
        # scaled by the Speed Modifier Turbo-Flight value below.
        B:"Allow Speed Modifier Turbo-Flight"=true

        # Scales how much movement speed changes affect turbo and flight.
        # 0.3 = 30% effect (default), 1.0 = full effect, 0.0 = no effect.
        # Requires Allow Speed Modifier Turbo-Flight to be enabled.
        D:"Speed Modifier Turbo-Flight"=0.3

        # Controls how quickly upward momentum decays after releasing the jump key during flight.
        # Each tick, upward motionY is multiplied by this value.
        # 0.5 = halves each tick (responsive), 0.9 = slow decay (floaty), 1.0 = no damping (vanilla behavior).
        # Requires Enhanced Movement to be enabled.
        D:"Flight Vertical Damping"=0.5
    }

}


forms {
    # Allows Instant Transform to Bypass the Parent Only Check
    # [If the player has Instant Transform Unlocked in Mastery, they can go to the form directly]
    B:"Instant Transform Bypass Parent"=true
}


fruitofmight {
    I:"Fruit of Might Stack Size"=5
}


human_spirit {
    # Human Spirit will automatically apply the Human Spirit Effect (dbc/effects.cfg), 
    # when the Player reaches a specific threshold of damage
    B:"Enable Human Spirit"=true
    I:"Percent Damage Required"=400

    # Amount of time to consider the Percent of Damage Required
    I:"Time Allotted"=20
}


##########################################################################################################
# ki_attacks
#--------------------------------------------------------------------------------------------------------#
# Server-side controls to automatically kill DBC ki attacks (EntityEnergyAtt) after a
# configurable lifetime or distance. Helps reduce server lag from runaway projectiles.
# These override DBC's own EnergyAttackMaxLifeTick if the addon limits are stricter.
##########################################################################################################

ki_attacks {
    # Kill ki attacks after a maximum number of ticks alive.
    # This acts as an additional cap alongside DBC's own lifetime configs.
    B:"Enable Max Lifetime"=true

    # Maximum ticks a ki attack can exist before being killed. 20 ticks = 1 second.
    # Default: 400 (20 seconds). Set to 0 to disable.
    I:"Max Lifetime Ticks"=400

    # Kill ki attacks after they travel beyond a maximum distance from their spawn point.
    B:"Enable Max Distance"=true

    # Maximum distance (in blocks) a ki attack can travel from its spawn point.
    # Default: 200. Set to 0 to disable.
    D:"Max Distance"=200.0
}


##########################################################################################################
# ki_charge
#--------------------------------------------------------------------------------------------------------#
# Ki Charge Revamp allows many modifications to the normal vanilla DBC Ki Charge to be configured.
# If the Revamp Ki Charge is disabled then the Status Effect Overpower will not function.
# This functionality does not control Energy Attack Charging speeds. Ki Revamp will also allow
# Humans and Namekians to power down with the FN Key, as opposed to vanilla DBC.
##########################################################################################################

ki_charge {
    # Enabling this feature will allow huge modifications to Ki Charging as featured below.
    B:"0. Enable Ki Revamp"=true

    # Tweaking this number will allow for more precise ki charging. Default for DBC is 5.
    I:"Ki Charge Rate"=1

    # Enabling this feature will make Ki Charging faster for players with a higher Release Level.
    # Each level: [1: 15ticks, 2: 14, 3: 13.... 10: 5 Ticks
    B:"Ki Charge Speed with Potential Unlock Level"=true
}


namek_regen {
    # Namekian Regeneration will automatically apply the Namek Regen Effect (dbc/effects.cfg), 
    # when the Player falls below MIN Health and will stop continue to MAX Health.
    B:"Enable Namekian Regeneration"=true
    I:"Max Namekian Regen"=50
    I:"Min Namekian Regen"=20
    B:"Only Regen during Charging"=false
}


##########################################################################################################
# potara_fusion
#--------------------------------------------------------------------------------------------------------#
# Potara Fusion comes with a Bonus Multi applied by the Potara Status Effect. This can be modified within the DBC Addon Effect Config
##########################################################################################################

potara_fusion {
    # Enabling Unique Earrings will cause all SPLIT Potaras to be hashed to a
    #  unique pair. Only the unique pairs can be used in a fusion.
    B:"Unique Earrings"=true

    # Enabling Wearable Earrings will check a radius around the worn player.
    #  Disabling this will require players to right-click each-other with valid earrings to fuse.
    B:"Wearable Earrings"=true

    # The amount of time the Tier One Potara Earrings Fusion lasts. [In Minutes]
    I:"Tier 1 Time"=10

    # The amount of time the Tier Two Potara Earrings Fusion lasts. [In Minutes]
    I:"Tier 2 Time"=15

    # The amount of time the Tier Three Potara Earrings Fusion lasts. [In Minutes]
    I:"Tier 3 Time"=25
}


status_effects {
    B:"Remove Legendary on Profile Swap"=false
}


zenkai {
    # Enables Zenkai for Half Saiyans after Revive
    B:"Enable Half Saiyan Zenkai"=true

    # Enables Zenkai for Saiyans after Revive
    B:"Enable Saiyan Zenkai"=true
}


