Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Name] => Sleeve of Rage
            [Art] => ReplaceableTextures\CommandButtons\BTNRingJadeFalcon.blp
            [Ubertip] => Magical powers slumber in this ring.
            [abilList] => Array
                (
                )

        )

    [settings] => Array
        (
            [author] => SirCoqaLot.
            [authorDisplay] => SirCoqaLot.
            [balanceTip] => Array
                (
                )

            [rarity] => unique
            [goldcost] => 2000
            [version] => 1.0
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType sir_sleeve_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 m = Modifier.create()
        call m.addModification(MOD_ATTACKSPEED,0,0.005)
        call m.addModification(MOD_SPELL_DAMAGE_DEALT,0,0.0025)
        call m.addModification(MOD_DAMAGE_ADD_PERC,0,0.01)
        set sir_sleeve_buff = BuffType.create(0,0,true)
        call sir_sleeve_buff.setBuffIcon('@@0@@')
        call sir_sleeve_buff.setBuffModifier(m)
        call sir_sleeve_buff.setStackingGroup("sir_sleeve_group")
	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [name] => 
                            [goldcost] => 0
                            [explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Attack
                    [code] => local Tower tower = itm.getCarrier()
    local Buff b = tower.getBuffOfGroup("sir_sleeve_group")
    local integer level = b.getLevel()
    if level < 120 then
        call sir_sleeve_buff.applyAdvanced(tower,tower,1+level,level,1.5)
    else
        call b.refreshDuration()
    endif
                    [values] => Array
                        (
                            [visible] => true
                            [name] => Ancient Rage
                            [goldcost] => 2000
                            [explain] => On attack this tower will enrage for |cffFFFF801.5|r seconds gaining |cffFFFF800.5%|r increased attackspeed |cffFFFF801%|r attack damage and |cffFFFF800.25%|r spell damage. This effect stacks up to |cffFFFF80120|r times.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BEst
                    [oeValues] => Array
                        (
                            [Targetattach1] => weapon,right
                            [Bufftip] => Ancient Rage
                            [Targetattach] => weapon,left
                            [Buffubertip] => This unit has increased combat stats.
                            [Targetattachcount] => 2
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNDeathPact.blp
                            [TargetArt] => Abilities\Spells\Orc\TrollBerserk\HeadhunterWEAPONSLeft.mdl
                            [EditorName] => Ancient Rage
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)