Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [targCount1] => 6
            [Farea1] => 500
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNBlueDragonRoost.blp
            [damageLoss1] => 0.1
            [dmgplus1] => 1138
            [bldtm] => 1
            [goldcost] => 1600
            [sides1] => 100
            [Missilearc] => 0.4
            [acquire] => 800
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Blue Dragon Roost
            [weapTp1] => mbounce
            [file] => buildings\other\DragonBuildingBlue\DragonBuildingBlue.mdl
            [uberSplat] => OSMA
            [Missilespeed] => 1000
            [Missileart] => Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.4
            [rangeN1] => 800
            [atkType1] => pierce
            [cool1] => 2
            [Ubertip] => From this frozen roost, a blue dragon watches with cold patience - and an even colder fury.
            [abilList] => Array
                (
                )

            [moveHeight] => 30
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

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

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 6.51559
                    [y] => -13.9377
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 1.5708
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock0.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [1] => Array
                (
                    [x] => -5.02821
                    [y] => 14.8104
                    [z] => -6.4
                    [scale] => 0.5
                    [rot] => 5.23599
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock4.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [2] => Array
                (
                    [x] => 23.188
                    [y] => 24.0602
                    [z] => -12.8
                    [scale] => 0.5
                    [rot] => 3.92699
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock3.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [3] => Array
                (
                    [x] => -18.0138
                    [y] => -1.33618
                    [z] => -6.4
                    [scale] => 0.5
                    [rot] => 1.5708
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock4.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [4] => Array
                (
                    [x] => -4.78407
                    [y] => 23.4714
                    [z] => 19.2
                    [scale] => 0.5
                    [rot] => 0.872665
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock4.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [5] => Array
                (
                    [x] => 5.74495
                    [y] => -1.86932
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 2.3562
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock0.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [6] => Array
                (
                    [x] => 7.241
                    [y] => 21.9351
                    [z] => -12.8
                    [scale] => 0.5
                    [rot] => 4.01426
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock4.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [7] => Array
                (
                    [x] => -10.3816
                    [y] => 24.3246
                    [z] => -19.2
                    [scale] => 0.5
                    [rot] => 0.872665
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock4.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [8] => Array
                (
                    [x] => -18.7083
                    [y] => -28.0285
                    [z] => -6.4
                    [scale] => 0.5
                    [rot] => 0.523599
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock3.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [9] => Array
                (
                    [x] => -6.98411
                    [y] => -11.9797
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 0.872665
                    [file] => Doodads\LordaeronSummer\Rocks\Lords_Rock\Lords_Rock4.mdl
                    [red] => 150
                    [green] => 150
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [10] => Array
                (
                    [x] => 32.3418
                    [y] => -9.41892
                    [z] => -12.8
                    [scale] => 0.55
                    [rot] => 1.0472
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw6.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [11] => Array
                (
                    [x] => -15.0626
                    [y] => -42.0431
                    [z] => -57.6
                    [scale] => 0.5
                    [rot] => 4.71239
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw8.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [12] => Array
                (
                    [x] => -26.834
                    [y] => -44.8491
                    [z] => -57.6
                    [scale] => 0.5
                    [rot] => 4.71239
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw8.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [13] => Array
                (
                    [x] => 6.59426
                    [y] => 16.3237
                    [z] => 32
                    [scale] => 0.5
                    [rot] => 1.0472
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw6.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [14] => Array
                (
                    [x] => -19.1477
                    [y] => 8.08602
                    [z] => -6.4
                    [scale] => 0.5
                    [rot] => 5.23599
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw8.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [15] => Array
                (
                    [x] => 43.3
                    [y] => -29.3957
                    [z] => -38.4
                    [scale] => 0.3
                    [rot] => 0.872665
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw8.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [16] => Array
                (
                    [x] => 36.0768
                    [y] => -39.7506
                    [z] => -38.4
                    [scale] => 0.3
                    [rot] => 0.872665
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw8.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType moppy_blue_dragon_roost_hypothermia_debuff
    endglobals
    
    function Start_Blue_Dragon_Roost takes Buff B returns nothing
        local Unit U = B.getBuffedUnit()
        local unit u = U.getUnit()
    
        call SetUnitVertexColor(u, 75, 100, 255, 255)
        set u = null
    endfunction
    
    function End_Blue_Dragon_Roost takes Buff B returns nothing
        local Unit U = B.getBuffedUnit()
        local unit u = U.getUnit()
        
        call SetUnitVertexColor(u, 255, 255, 255, 255)
        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 m = Modifier.create()
        
        set moppy_blue_dragon_roost_hypothermia_debuff = BuffType.create(5.0, 0.0, false)
        call moppy_blue_dragon_roost_hypothermia_debuff.setBuffModifier(m)
        call m.addModification(MOD_MOVESPEED, -0.40, -0.008)
        call m.addModification(MOD_HP_REGEN_PERC, -0.60, -0.012)
        call m.addModification(MOD_SPELL_DAMAGE_RECEIVED, 0.20, 0.004)
        call moppy_blue_dragon_roost_hypothermia_debuff.setBuffIcon('@@0@@')
        
        call moppy_blue_dragon_roost_hypothermia_debuff.addEventOnCreate(Start_Blue_Dragon_Roost)
        call moppy_blue_dragon_roost_hypothermia_debuff.addEventOnCleanup(End_Blue_Dragon_Roost)
	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => call moppy_blue_dragon_roost_hypothermia_debuff.apply(tower, Event.getTarget(), tower.getLevel())
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.1
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNOrbOfFrost.blp
                            [name] => Hypothermia
                            [short_explain] => The tower has a chance on hit to drastically lower the body temperature of its targets, slowing them, reducing their health regeneration and spell resistance.
                            [ONDAMAGE_chanceLevelAdd] => 0.004
                            [long_explain] => The tower has a |cffFFFF8010%|r chance on hit to drastically lower the body temperature of its targets, slowing them by |cffFFFF8040%|r, reducing their health regeneration by |cffFFFF8060%|r and spell resistance by |cffFFFF8020%|r. Lasts |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.8%|r slow|n|cffFFFF80+1.2%|r reduced health regeneration|n|cffFFFF80+0.4%|r reduced spell resistance|n|cffFFFF80+0.4%|r chance
                        )

                )

        )

    [abilities] => Array
        (
        )

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

                            [EditorName] => Hypothermia
                            [Buffubertip] => Slowed; reduced health regeneration and spell resistance.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => Hypothermia
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNOrbOfFrost.blp
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

    [lightning] => Array
        (
        )

)