Ranger
{
    ClassName = Ranger

    BaseHealth = 90
    BaseAtk = 13

    # Amount of health gained per level.
    HealthGrowthRate = 7
    # Amount of attack gained per level.
    AtkGrowthRate = 3

    FullRender = characters/commercial_assets/Ranger_F_NoOutline.png

    Auto Attack
    {
        DamageMult = 1
        Radius = 12
        Cooldown = 0.6
        # Whether or not this ability cancels casts.
        CancelCast = 0

        ArrowSpd = 275
        
        Sound = Ranger Auto Attack

        # NOTE: The Range property is not actually used for Rangers! This just silences an error where the game expects this value to exist!
        Range = 100
    }
    Right Click Ability
    {
        Name = Retreat
        Short Name = B.STEP
        Icon = backstep.png
        Cooldown = 7
        Mana Cost = 0
        # Whether or not this ability cancels casts.
        CancelCast = 1

        Description = Quickly steps backwards to avoid incoming attacks.

        #RGB Values. Color 1 is the circle at full cooldown, Color 2 is the color at empty cooldown.
        Cooldown Bar Color 1 = 0, 0, 64, 192
        Cooldown Bar Color 2 = 0, 0, 128, 192

        Precast Time = 0
        Casting Range = 0
        Casting Size = 0

        # How long the retreat takes.
        RetreatTime = 0.22
        # The distance the retreat moves the Ranger.
        RetreatDistance = 300

        Sound = Ranger Retreat
    }
    Ability 1
    {
        Name = Rapid Fire
        Short Name = RAPID
        Icon = rapidfire.png
        Cooldown = 12
        Mana Cost = 35
        # Whether or not this ability cancels casts.
        CancelCast = 0

        Description = Shoots five arrows rapidly at a target location.

        #RGB Values. Color 1 is the circle at full cooldown, Color 2 is the color at empty cooldown.
        Cooldown Bar Color 1 = 64, 0, 0, 192
        Cooldown Bar Color 2 = 128, 0, 0, 192

        Precast Time = 0
        Casting Range = 0
        Casting Size = 0
        
        # Damage multiplier per shot
        DamageMult = 1.0
        # Speed of arrows that Rapid Fire shoots out.
        ArrowSpd = 300
        # Number of arrows Rapid Fire shoots out.
        ArrowCount = 4
        # Amount of time between each arrow shot.
        ArrowDelay = 0.1
        # Whether or not this ability locks you in place. (0=Not Locked)
        IsAnimationLocked = 1

        # Hitbox radius of the arrows
        ArrowRadius = 100

        Sound = Ranger Rapid Fire
    }
    Ability 2
    {
        Name = Charged Shot
        Short Name = CHRG.S
        Icon = chargedshot.png
        Cooldown = 15
        Mana Cost = 40
        # Whether or not this ability cancels casts.
        CancelCast = 0

        Description = Fires an ultrasonic arrow towards a location, piercing everything it comes in contact with.

        #RGB Values. Color 1 is the circle at full cooldown, Color 2 is the color at empty cooldown.
        Cooldown Bar Color 1 = 64, 0, 0, 192
        Cooldown Bar Color 2 = 128, 0, 0, 192

        Precast Time = 0.3
        Casting Range = 0
        Casting Size = 0

        # The amount of knockback that this ability causes.
        Knockback = 200
        # Speed of the charged arrow shot.
        Speed = 600
        # Radius of the shot.
        Radius = 166.6667
        # Damage Multiplier of the charged shot.
        DamageMult = 2.5

        # How long the world shakes upon using this ability.
        WorldShakeTime = 0.3

        Sound = Ranger Charged Shot
    }
    Ability 3
    {
        Name = Multishot
        Short Name = MULTI
        Icon = multishot.png
        Cooldown = 25
        Mana Cost = 50
        # Whether or not this ability cancels casts.
        CancelCast = 0

        Description = The Ranger prepares and fires a fan of densely packed arrows.

        #RGB Values. Color 1 is the circle at full cooldown, Color 2 is the color at empty cooldown.
        Cooldown Bar Color 1 = 64, 0, 0, 192
        Cooldown Bar Color 2 = 128, 0, 0, 192

        Precast Time = 0
        Casting Range = 0
        Casting Size = 0
        
        # Damage multiplier per shot
        DamageMult = 1.0
        # Number of arrows in the shot spread.
        ArrowCount = 6
        # How far the shot spread in one angle is. For example, if the value here is set to 18.375, then Multi shot divides the arrows evenly from a span of -18.375 degrees to the left to 18.375 degrees to the right of the player.
        MultiShotSpread = 18.375
        # Speed of arrows that Rapid Fire shoots out.
        ArrowSpd = 300

        # Hitbox radius of the arrows
        ArrowRadius = 100
        
        Sound = Ranger Multishot
    }
}