Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [targCount1] => 5
            [Farea1] => 400
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNSpell_Frost_Frostbolt.blp
            [damageLoss1] => 0.3
            [dmgplus1] => 320
            [bldtm] => 1
            [goldcost] => 2500
            [sides1] => 5
            [acquire] => 1300
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => King of Frost
            [red] => 50
            [weapTp1] => mbounce
            [file] => units\creeps\Revenant\Revenant.mdl
            [uberSplat] => YTDN
            [Missilespeed] => 2000
            [Missileart] => Abilities\Spells\Other\FrostBolt\FrostBoltMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.8
            [rangeN1] => 1300
            [atkType1] => pierce
            [cool1] => 1.5
            [Ubertip] => A revered sovereign of the Frost Realm, endowed with unparalleled command over the elemental forces of ice.
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF005|r targets|n   |cffFFFF00-30%|r damage per bounce|n|cffFFFF005%|r spell crit chance (|cffFFFF00+0.5%|r/lvl)
            [abil_factor] => 0.18
            [author] => Moppy
            [alpha] => 255
            [authorDisplay] => |c006969FFMoppy|r
            [version] => 1.0
            [element] => ice
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -30.8329
                    [y] => -31.534
                    [z] => -19.2
                    [scale] => 0.25
                    [rot] => 1.5708
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -0.476939
                    [y] => 30.1155
                    [z] => -0.000000953674
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => 32.3088
                    [y] => -31.4112
                    [z] => -19.2
                    [scale] => 0.25
                    [rot] => 1.5708
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => 0.275303
                    [y] => -0.503289
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 4.53786
                    [file] => Doodads\Icecrown\Rocks\Ice_SnowRock\Ice_SnowRock6.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => -0.428909
                    [y] => 0.357268
                    [z] => 76.8
                    [scale] => 0.875
                    [rot] => 1.5708
                    [file] => Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -36.9163
                    [y] => 12.7767
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 1.5708
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => -0.898071
                    [y] => 0.353012
                    [z] => 121.6
                    [scale] => 1
                    [rot] => 4.71239
                    [file] => Abilities\Spells\Items\AIob\AIobTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => 36.5206
                    [y] => 13.3508
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 1.5708
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -32.2716
                    [y] => -31.56
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 5.49779
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 32.1867
                    [y] => -32.6249
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 2.3562
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => 42.001
                    [y] => 14.3057
                    [z] => 0
                    [scale] => 0.325
                    [rot] => 2.3562
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => -43.1353
                    [y] => 17.8998
                    [z] => 0
                    [scale] => 0.325
                    [rot] => 5.49779
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -5.0761
                    [y] => 20.5499
                    [z] => 0
                    [scale] => 0.6
                    [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
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_SPELL_CRIT_CHANCE
                    [base] => 0.0375
                    [add] => 0.005
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType moppy_realm_of_frost_aura
        //@import
        BuffType moppy_glacial_strike_attack
    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
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local Unit c = Event.getTarget()
    local integer lvl = tower.getLevel()
    local integer slow = R2I((0.15 + lvl * 0.0075) * 1000)
    
    call tower.doSpellDamage(c, tower.userReal + (lvl * tower.userReal2), tower.calcSpellCritNoBonus())
    call moppy_glacial_strike_attack.applyCustomTimed(tower, c, slow, 3.0)
    call SFXOnUnit("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl",c.getUnit(),"origin")
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.20
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNFrostBolt.blp
                            [name] => Glacial Strike
                            [short_explain] => The tower has a chance on hit to unleash frigid blasts on its targets, dealing spell damage and slowing them.
                            [ONDAMAGE_chanceLevelAdd] => 0.004
                            [long_explain] => The tower has a |cffFFFF8020%|r chance on hit to unleash frigid blasts on its targets, dealing |cffFFFF802000|r spell damage and slowing them by |cffFFFF8015%|r for |cffFFFF803|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+100|r spell damage|n|cffFFFF80+0.75%|r slow|n|cffFFFF80+0.4%|r chance
                        )

                )

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

                    [values] => Array
                        (
                            [AURA_powerAdd] => 4
                            [visible] => true
                            [AURA_auraEffect] => moppy_realm_of_frost_aura
                            [AURA_levelAdd] => 4
                            [AURA_power] => 150
                            [icon] => ReplaceableTextures\CommandButtons\BTNSpell_Frost_Frostbolt.blp
                            [AURA_targetType] => TARGET_TYPE_CREEPS
                            [long_explain] => Increases the vulnerability of enemies in |cffFFFF801300|r range to damage from |cFF00FFFFIce|r towers by |cffFFFF8015%|r. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r vulnerability
                            [AURA_targetSelf] => false
                            [name] => Realm of Frost
                            [AURA_level] => 150
                            [short_explain] => Makes nearby foes more vulnerable to |cFF00FFFFIce|r towers.
                            [AURA_auraRange] => 1300
                        )

                )

            [3] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userReal = 2000
set tower.userReal2 = 100
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

            [1] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => moppy_glacial_strike_attack
                )

        )

    [lightning] => Array
        (
        )

)