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

            [targs1] => Array
                (
                )

            [goldcost] => 2150
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1200
            [file] => Doodads\Icecrown\Rocks\Ice_Rock\Ice_Rock4.mdl
            [atkType1] => normal
            [modelScale] => 0.8
            [weapTp1] => missile
            [acquire] => 800
            [rangeN1] => 760
            [upgrades] => Array
                (
                )

            [cool1] => 2.3
            [Ubertip] => Iced formation radiating blistering cold.
            [abilList] => Array
                (
                )

            [launchZ] => 30
            [Name] => Glacier
            [Missileart] => Abilities\Weapons\DragonHawkMissile\DragonHawkMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNWellSpring.blp
            [buildingShadow] => Array
                (
                )

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

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

    [settings] => Array
        (
            [author] => SirCoqaLot.
            [element] => ice
            [authorDisplay] => SirCoqaLot.
            [alpha] => 255
            [balanceTip] => Array
                (
                )

            [rarity] => uncommon
            [version] => 1.0
            [abil_factor] => 0.65
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.233356
                    [y] => 24.1929
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.04916
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -0.725693
                    [y] => -16.699
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 5.68977
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 29.0813
                    [y] => -12.323
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 2.75762
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -25.3577
                    [y] => -7.81201
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 5.84685
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -1.19804
                    [y] => 38.018
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0.995643
                    [file] => Doodads\Icecrown\Rocks\Ice_Rock\Ice_Rock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.6
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -3.82518
                    [y] => -30.3874
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 4.72741
                    [file] => Doodads\Icecrown\Rocks\Ice_Rock\Ice_Rock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.6
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -34.1808
                    [y] => 20.4243
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 2.1466
                    [file] => Doodads\Icecrown\Rocks\Ice_Rock\Ice_Rock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.6
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => -27.3717
                    [y] => -21.4058
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 3.50063
                    [file] => Doodads\Icecrown\Rocks\Ice_Rock\Ice_Rock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.6
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 33.8922
                    [y] => 8.62589
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0.794124
                    [file] => Doodads\Icecrown\Rocks\Ice_Rock\Ice_Rock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.6
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 29.324
                    [y] => -22.0103
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 5.38232
                    [file] => Doodads\Icecrown\Rocks\Ice_Rock\Ice_Rock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.6
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -9.37571
                    [y] => -2.24327
                    [z] => 19.2
                    [scale] => 0.45
                    [rot] => 3.73501
                    [file] => Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -10.7736
                    [y] => -0.262965
                    [z] => 19.2
                    [scale] => 0.95
                    [rot] => 3.90954
                    [file] => Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.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 Tower Creation
                    [code] => set tower.userInt = 5
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local Creep creep = Event.getTarget()
            
    call sir_frost_glacier.applyCustomTimed(tower,creep,160*(1+tower.getLevel()/20),3)
    call tower.getOwner().displayFloatingTextX(I2S(R2I(tower.userInt))+"% Chance",tower,50,150,255,255,0.05,2,3) 
   
    
        if tower.calcChance(tower.userInt*0.01) == true then
            call cb_stun.applyOnlyTimed(tower,Event.getTarget(),1.1)
            call tower.doSpellDamage(creep,2150*(1+tower.getLevel()*0.02),tower.calcSpellCritNoBonus())
            set tower.userInt = 5
        else
            set tower.userInt = tower.userInt +5
        endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [icon] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
                            [visible] => true
                            [name] => Glacial Wrath
                            [short_explain] => Attacked creeps are slowed and each attack increases the chance to stun the traget.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => Attacks of this tower slow the attacked creep by |cffFFFF8016%|r for |cffFFFF803|r seconds. Each attack has a |cffFFFF805%|r to deal |cffFFFF802150|r spelldamage and stun the target for |cffFFFF801.1|r seconds. The chance to stun the target is increased by |cffFFFF805%|r per attack and resets after a target is stunned.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+43|r spelldamage |n|cffFFFF80+0.8%|r slow
                        )

                )

            [2] => Array
                (
                    [name] => Header
                    [code] => globals
    //@import
    BuffType sir_frost_glacier
    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
	endfunction
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => sir_frost_glacier
                )

        )

)