Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [Ubertip] => Loosed with certainty. Landed with finality.
            [Art] => ReplaceableTextures\CommandButtons\BTNTrueShot.blp
            [abilList] => Array
                (
                )

            [Name] => Trueshot Arrow
        )

    [settings] => Array
        (
            [balanceTip] => |n|cffFFFF80Specials:|r|n|cffFFFF00+8%|r crit chance
            [goldcost] => 1231
            [author] => Ashbringer
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [rarity] => rare
        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_ATK_CRIT_CHANCE
                    [base] => 0.08
                    [add] => 0
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType ashbringer_trueshot_buff
    endglobals
    
    //Do not remove or rename this function!
    //Put your initialization tasks here, this function will be called on map init
    private function init takes nothing returns nothing
        local Modifier mod = Modifier.create()
        
        set ashbringer_trueshot_buff = BuffType.create(3, 0, true)
        call ashbringer_trueshot_buff.setBuffIcon('@@0@@')
        call mod.addModification(MOD_ATK_CRIT_CHANCE, 0, -0.04)
        call mod.addModification(MOD_ATK_CRIT_DAMAGE, 0, 0.6)
        call ashbringer_trueshot_buff.setBuffModifier(mod)
	endfunction
                    [values] => Array
                        (
                            [explain] => 
                            [visible] => false
                            [goldcost] => 0
                            [name] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local Tower tower = itm.getCarrier()
    local Buff b
    if Event.isAttackDamageCritical() then
        set b = tower.getBuffOfType(ashbringer_trueshot_buff)
        
        if b != 0 then
            call b.setPower(b.getPower() + 1)
        else
            set b = ashbringer_trueshot_buff.apply(tower, tower, 1)
        endif
        call b.setRemainingDuration(2.0)
    endif
                    [values] => Array
                        (
                            [explain] => Gain a stack of True Aim for |cffFFFF802|r seconds when critically striking an enemy with an attack. Each stack increases critical strike damage by |cffFFFF80x0.6|r but reduces critical strike chance by |cffFFFF804%|r.
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [goldcost] => 400
                            [name] => True Aim
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BNab
                    [oeValues] => Array
                        (
                            [Targetattach] => Array
                                (
                                )

                            [Buffubertip] => Increased critical strike damage but reduced critical strike chance.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => True Aim
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNTrueShot.blp
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)