Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [RngBuff1] => 250
            [scaleBull] => 0
            [Upgrade] => Array
                (
                )

            [targs1] => ground,enemies,air
            [splashTargs1] => ground,enemies,air
            [goldcost] => 1600
            [weapsOn] => 1
            [dice1] => 1
            [damageLoss1] => 0.1
            [Missilespeed] => 1000
            [targCount1] => 6
            [file] => buildings\other\DragonRoost\DragonRoost.mdl
            [moveHeight] => 20
            [atkType1] => chaos
            [modelScale] => 0.4
            [weapTp1] => mbounce
            [Missilearc] => 0.1
            [acquire] => 800
            [rangeN1] => 800
            [upgrades] => Array
                (
                )

            [cool1] => 2
            [Ubertip] => The mechanical version of the other two dragon roosts.
            [Farea1] => 500
            [abilList] => Array
                (
                )

            [Name] => Bronze Dragon Roost
            [Missileart] => Abilities\Spells\Other\HealingSpray\HealBottleMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNBronzeDragon.blp
            [buildingShadow] => Array
                (
                )

            [unitSound] => DragonRoost
            [sides1] => 5
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

            [dmgplus1] => 1185
            [bldtm] => 1
        )

    [settings] => Array
        (
            [author] => cedi
            [element] => iron
            [authorDisplay] => cedi
            [alpha] => 255
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF006|r targets|n   |cffFFFF00-10%|r damage per bounce
            [rarity] => unique
            [version] => 1.0
            [abil_factor] => 0.65
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 9.34163
                    [y] => -11.8447
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 1.88133
                    [file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -7.07745
                    [y] => -13.0609
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 0.715449
                    [file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 42.5153
                    [y] => 17.1859
                    [z] => -6.4
                    [scale] => 0.5
                    [rot] => 3.92699
                    [file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -20.5425
                    [y] => 33.6428
                    [z] => -6.4
                    [scale] => 0.5
                    [rot] => 6.04145
                    [file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -3.3798
                    [y] => -16.8158
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 0.989976
                    [file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 32.0294
                    [y] => 13.6191
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.41961
                    [file] => buildings\human\Blacksmith\Blacksmith.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => true
                    [animation] => stand
                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 37.6515
                    [y] => 14.9056
                    [z] => 6.4
                    [scale] => 0.4
                    [rot] => 5.58505
                    [file] => Doodads\LordaeronSummer\Props\TorchHuman\TorchHuman.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => call BT.apply( tower, Event.getTarget(), tower.getLevel() )
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.1
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [ONDAMAGE_chanceLevelAdd] => 0.004
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType BT
    endglobals
    
    function startA takes Buff B returns nothing
        local Unit U = B.getBuffedUnit()
        local unit u = U.getUnit()
        
        call SetUnitVertexColor( u, 255, 255, 125, 255 )
        call SetUnitTimeScale( u, 0.5 )
        set u = null
    endfunction
    
    function end takes Buff B returns nothing
        local Unit U = B.getBuffedUnit()
        local unit u = U.getUnit()
        
        call SetUnitVertexColor( u, 255, 255, 255, 255 ) 
        call SetUnitTimeScale( u, 1 )
        set u = null
    endfunction
    
    //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()
        call mod.addModification( MOD_MOVESPEED, -0.5, 0 )
        call mod.addModification( MOD_HP_REGEN_PERC, -0.5, -0.01 )
        call mod.addModification( MOD_ARMOR_PERC, 0.5, -0.008 )
        //call mod.addModification( MOD_HP_PERC, 0.15, -0.003 )
        call mod.addModification( MOD_ITEM_QUALITY_ON_DEATH, 0.25, 0.01 )
        
        set BT = BuffType.create( 5.0, 0.1, false )
        call BT.setBuffIcon( '@@0@@' )
        call BT.setBuffModifier( mod )
        call BT.addEventOnCreate( startA )
        call BT.addEventOnCleanup( end )
	endfunction
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNTransmute.blp
                            [visible] => true
                            [name] => Bronzefication
                            [short_explain] => The tower has a chance on damage to turn the damaged unit's flesh into bronze.
                            [long_explain] => Each time this tower damages a unit it has a |cffFFFF8010%|r chance to turn the target's flesh into bronze for |cffFFFF805|r seconds. The unit is slowed by |cffFFFF8050%|r, loses |cffFFFF8050%|r of its health regeneration, has a |cffFFFF8025%|r higher item quality and has |cffFFFF8050%|r more armor.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80-1%|r hp regen|n|cffFFFF80-0.8%|r armor|n|cffFFFF80+1%|r item quality|n|cffFFFF80+0.4%|r chance
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BHfs
                    [oeValues] => Array
                        (
                            [Bufftip] => Bronzefication
                            [Buffubertip] => This unit is bronzeficated.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNTransmute.blp
                            [TargetArt] => Array
                                (
                                )

                            [EditorName] => Bronzefication
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)