Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [RngBuff1] => 250
            [MissileHoming] => 1
            [Upgrade] => Array
                (
                )

            [targs1] => Array
                (
                )

            [goldcost] => 1600
            [weapsOn] => 1
            [Hfact1] => 0.2
            [dice1] => 1
            [Missilespeed] => 1500
            [file] => buildings\other\FountainOfLife\FountainOfHealth.mdl
            [Harea1] => 625
            [atkType1] => normal
            [modelScale] => 0.4
            [weapTp1] => msplash
            [acquire] => 925
            [rangeN1] => 925
            [upgrades] => Array
                (
                )

            [cool1] => 2
            [Ubertip] => This frozen well emits an enormous amount of cold.
            [Farea1] => 150
            [abilList] => Array
                (
                )

            [Name] => Frozen Well
            [Missileart] => Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNCrushingWave.blp
            [buildingShadow] => Array
                (
                )

            [sides1] => 1
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => Boekie
            [element] => ice
            [authorDisplay] => |cff00CD00Boekie|r
            [alpha] => 255
            [balanceTip] => |cffCCFF00Splash attack:|n   |cffFFFF00150|r AoE: |cff00FF00100%|r damage|r|n   |cffFFFF00625|r AoE: |cffFFFF0020%|r damage|r
            [rarity] => unique
            [version] => 1.0
            [abil_factor] => 0.5
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 34.267
                    [y] => -44.9
                    [z] => -12.8
                    [scale] => 0.5
                    [rot] => 4.51705
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 2.14918
                    [y] => -9.02735
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 4.18414
                    [file] => Doodads\Cinematic\FootSwitch\FootSwitch.mdl
                    [red] => 150
                    [green] => 200
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -51.6103
                    [y] => -8.17224
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 4.32842
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -35.3188
                    [y] => -30.0938
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 2.95015
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -2.09104
                    [y] => -49.7699
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.34487
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -22.3044
                    [y] => -49.7699
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.64774
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 55.987
                    [y] => -4.1625
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 2.32784
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 45.5096
                    [y] => 19.8208
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 2.72991
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 27.5742
                    [y] => 49.1589
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.55927
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => -0.413223
                    [y] => 57.4764
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0.823841
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -31.9042
                    [y] => 49.108
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.60107
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -49.9349
                    [y] => 16.5078
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 5.2709
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => -1.49125
                    [y] => 52.3456
                    [z] => 0
                    [scale] => 0.7
                    [rot] => 0.378151
                    [file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
                    [red] => 200
                    [green] => 200
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => -29.6228
                    [y] => -40.1062
                    [z] => -0.000000953674
                    [scale] => 0.5
                    [rot] => 4.76828
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [14] => Array
                (
                    [x] => -1.47094
                    [y] => -43.7857
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 0.645772
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [15] => Array
                (
                    [x] => 31.6045
                    [y] => -46.6133
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 6.24114
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [16] => Array
                (
                    [x] => -42.2198
                    [y] => -10.7347
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.68977
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [17] => Array
                (
                    [x] => -43.7863
                    [y] => 17.2137
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 6.00393
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [18] => Array
                (
                    [x] => 50.9313
                    [y] => 10.1452
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 1.14428
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [19] => Array
                (
                    [x] => 37.9633
                    [y] => 40.5913
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 3.96875
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [20] => Array
                (
                    [x] => 8.94211
                    [y] => 55.0741
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 2.04204
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [21] => Array
                (
                    [x] => 8.37536
                    [y] => 0.886954
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 4.71239
                    [file] => Doodads\Cinematic\FootSwitch\FootSwitch.mdl
                    [red] => 150
                    [green] => 200
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [22] => Array
                (
                    [x] => -9.8309
                    [y] => -1.47472
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 3.57793
                    [file] => Doodads\Cinematic\FootSwitch\FootSwitch.mdl
                    [red] => 150
                    [green] => 200
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => call boekie_freezingMist.applyCustomTimed(tower,Event.getTarget(), 150+(tower.getLevel()*4), 10)
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [icon] => ReplaceableTextures\CommandButtons\BTNReplenishMana.blp
                            [visible] => true
                            [name] => Freezing Mist
                            [short_explain] => Freezes all damaged creeps.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => When this tower damages a creep it will be slowed by |cffFFFF8015%|r for |cffFFFF8010|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r slow
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    BuffType boekie_buff_aura 
    BuffType boekie_freezingMist 
    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() 
    local Modifier slow=Modifier.create()
    
    set boekie_buff_aura = BuffType.createAuraEffectType(true) 
    call m.addModification(MOD_BUFF_DURATION,0.25,0.004) // apply custom  
    call boekie_buff_aura.setBuffModifier(m) 
    call boekie_buff_aura.setStackingGroup("boekie_buff_aura") 
    call boekie_buff_aura.setBuffIcon('@@0@@') 
    
     
    call slow.addModification(MOD_MOVESPEED,0,-0.001) 
    set boekie_freezingMist=BuffType.create(0,0,false)  
    call boekie_freezingMist.setBuffIcon('@@1@@')  
    call boekie_freezingMist.setBuffModifier(slow)  
    call boekie_freezingMist.setStackingGroup("boekie_freezingMist") 
	endfunction
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => Tower Aura
                    [code] => Array
                        (
                        )

                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
                            [visible] => true
                            [AURA_auraEffect] => boekie_buff_aura
                            [AURA_power] => 0
                            [AURA_level] => 0
                            [long_explain] => Increases the buff duration of towers in |cffFFFF80500|r range by |cffFFFF8025%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r buff duration
                            [AURA_auraRange] => 500
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [AURA_levelAdd] => 1
                            [AURA_powerAdd] => 1
                            [name] => Flowing Frost
                            [AURA_targetSelf] => true
                            [short_explain] => Increases buff duration of nearby towers.
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BHab
                    [oeValues] => Array
                        (
                            [Bufftip] => Flowing Frost
                            [Buffubertip] => This unit is under the effects of Flowing Frost, its buff duration is increased.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
                            [EditorName] => Flowing Frost
                        )

                )

            [1] => Array
                (
                    [id] => @@1@@
                    [derivedFrom] => Bcsd
                    [oeValues] => Array
                        (
                            [Bufftip] => Freezing Mist
                            [Targetattach] => head
                            [EditorSuffix] => Array
                                (
                                )

                            [Buffubertip] => This unit is slowed by a freezing mist.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNReplenishMana.blp
                            [TargetArt] => Abilities\Spells\Other\FrostDamage\FrostDamage.mdl
                            [EditorName] => Freezing Mist
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)