Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Name] => Excalibur
            [Art] => ReplaceableTextures\CommandButtons\BTNArcaniteMelee.blp
            [Ubertip] => The legendary Sword of the Kings.
            [abilList] => Array
                (
                )

        )

    [settings] => Array
        (
            [author] => SymphonyX
            [authorDisplay] => SymphonyX
            [balanceTip] => |n|cffFFFF00-5% |rattackspeed|n|cffFFFF00+10%|r crit chance|n|cffFFFF00+x0.1|r crit damage
            [rarity] => unique
            [goldcost] => 1405
            [version] => 1.0
        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_ATTACKSPEED
                    [base] => -0.05
                    [add] => 0
                )

            [1] => Array
                (
                    [id] => MOD_ATK_CRIT_CHANCE
                    [base] => 0.1
                    [add] => 0
                )

            [2] => Array
                (
                    [id] => MOD_ATK_CRIT_DAMAGE
                    [base] => 0.1
                    [add] => 0
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local Tower tower = itm.getCarrier()
    if Event.isMainTarget() == true then        
        if (GetRandomReal(0, 1) < 0.5) then 
            call Symphony_armorReduce.apply(tower,Event.getTarget(),25+tower.getLevel())
        else
            call Symphony_armorReduce.apply(tower,Event.getTarget(),50+tower.getLevel())
        endif
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [name] => Power of the Sword
                            [goldcost] => 500
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [explain] => Has an equal chance to decrease the armor of the damaged creep by |cffFFFF805|r or |cffFFFF8010|r for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2|r armor reduction.
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    BuffType Symphony_armorReduce
    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()
    set Symphony_armorReduce = BuffType.create(5,0,false)
    call m.addModification(MOD_ARMOR,-0,-0.2)
    call Symphony_armorReduce.setBuffModifier(m)
    call Symphony_armorReduce.setBuffIcon('@@0@@')

	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [name] => 
                            [goldcost] => 0
                            [explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BHav
                    [oeValues] => Array
                        (
                            [Bufftip] => Power of the Sword
                            [Buffubertip] => This unit has its armor reduced by the legendary sword excalibur.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNDaggerOfEscape.blp
                            [EditorName] => Power of the Sword
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)