Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Ubertip] => This jewellery looks beautiful, the eyes of the spider are made from tiny emeralds.
            [Art] => ReplaceableTextures\CommandButtons\BTNSpiderSilkBroach.blp
            [abilList] => Array
                (
                )

            [Name] => Spider Broach
        )

    [settings] => Array
        (
            [balanceTip] => Array
                (
                )

            [goldcost] => 1250
            [author] => drol
            [authorDisplay] => |cffcc6600drol|r
            [version] => 1.0
            [rarity] => uncommon
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType drol_broach
    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 drol_broach = BuffType.create(5.0, 0.1, false)
        call m.addModification(MOD_ITEM_QUALITY_ON_DEATH, 0.4, 0.01)
        
        call drol_broach.setBuffModifier(m)
        call drol_broach.setBuffIcon('@@0@@')
	endfunction
                    [values] => Array
                        (
                            [explain] => 
                            [visible] => false
                            [goldcost] => 0
                            [name] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local Tower tower = itm.getCarrier()

    if tower.calcChance(0.15 * tower.getBaseAttackspeed()) then
        call drol_broach.apply(tower, Event.getTarget(), tower.getLevel())
    endif
                    [values] => Array
                        (
                            [explain] => Attacks have a |cffFFFF8015%|r attack speed adjusted chance to cover the target creep in a silvered web, increasing its item quality by |cffFFFF8040%|r for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1%|r item quality|n|cffFFFF80+0.1|r seconds duration
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [goldcost] => 1250
                            [name] => Silver Threads
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BHfs
                    [oeValues] => Array
                        (
                            [Buffubertip] => If this unit drops an item upon dying; its quality is increased.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => Spider Broach
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNSpiderSilkBroach.blp
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)