Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [Farea1] => 375
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNSpell_Frost_WizardMark.blp
            [turnRate] => 3
            [dmgplus1] => 2907
            [bldtm] => 1
            [goldcost] => 1825
            [sides1] => 1
            [Missilearc] => 0.6
            [maxPitch] => -31
            [launchZ] => 0
            [acquire] => 2500
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Glacial Artillery
            [red] => 55
            [weapTp1] => msplash
            [uberSplat] => YTDN
            [Missilespeed] => 1500
            [Missileart] => Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [green] => 95
            [animProps] => upgrade,third
            [modelScale] => 0.34
            [rangeN1] => 2500
            [atkType1] => pierce
            [cool1] => 9
            [Ubertip] => A not-so-warm welcome to the frozen wastes.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

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

            [targs1] => ground
            [weapsOn] => 1
            [minRange] => 1250
            [teamColor] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF001250|r |cffFF0000minimum attack range|r|n|cffFF0000Attacks GROUND only|r|n|cffCCFF00Splash attack:|n   |cffFFFF00375|r AoE: |cff00FF00100%|r damage|r|n|cffFFFF00+3% |rdamage/lvl
            [abil_factor] => 0.35
            [author] => Ashbringer
            [alpha] => 255
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => ice
            [rarity] => uncommon
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.294107
                    [y] => 3.48087
                    [z] => -51.2
                    [scale] => 1.09
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Props\CrystalLamp\CrystalLamp.mdl
                    [red] => 55
                    [green] => 95
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -0.458226
                    [y] => -16.2714
                    [z] => 0
                    [scale] => 0.12
                    [rot] => 1.5708
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => 0.296202
                    [y] => 17.5954
                    [z] => 0
                    [scale] => 0.12
                    [rot] => 4.71239
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => 0.305935
                    [y] => 15.527
                    [z] => 76.8
                    [scale] => 0.11
                    [rot] => 4.71239
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => -0.539096
                    [y] => -15.5609
                    [z] => 76.8
                    [scale] => 0.11
                    [rot] => 1.5708
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => 0.294489
                    [y] => 13.4621
                    [z] => 83.2
                    [scale] => 0.09
                    [rot] => 4.71239
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => -0.450293
                    [y] => -12.5868
                    [z] => 83.2
                    [scale] => 0.09
                    [rot] => 1.5708
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -23.8397
                    [y] => -23.8644
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => war3mapImported\Square_Column.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -23.4798
                    [y] => 23.5898
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => war3mapImported\Square_Column.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 23.4891
                    [y] => 23.3433
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => war3mapImported\Square_Column.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => 23.1292
                    [y] => -23.1846
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => war3mapImported\Square_Column.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => 0.0345289
                    [y] => 0.154393
                    [z] => 76.8
                    [scale] => 0.85
                    [rot] => 4.85202
                    [file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => 0.0370991
                    [y] => 0.00668342
                    [z] => 64
                    [scale] => 1.4
                    [rot] => 3.21141
                    [file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => -0.0150502
                    [y] => -0.0758594
                    [z] => -25.6
                    [scale] => 2.15
                    [rot] => 3.21141
                    [file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => -32.676
                    [y] => -7.45861
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 3.67774
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => -19.5188
                    [y] => -34.2574
                    [z] => 0
                    [scale] => 0.1
                    [rot] => 4.78038
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => 9.4046
                    [y] => -23.1736
                    [z] => 0
                    [scale] => 0.15
                    [rot] => 4.83295
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => -0.186572
                    [y] => 15.3538
                    [z] => 44.8
                    [scale] => 1.15
                    [rot] => 1.5708
                    [file] => Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [18] => Array
                (
                    [x] => 32.648
                    [y] => 12.599
                    [z] => 0
                    [scale] => 0.1
                    [rot] => 0.186825
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [19] => Array
                (
                    [x] => 45.0695
                    [y] => -45.0088
                    [z] => -6.4
                    [scale] => 0.205
                    [rot] => 2.3562
                    [file] => war3mapImported\Square_Column.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => -0.46
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [20] => Array
                (
                    [x] => -44.0027
                    [y] => -44.0147
                    [z] => -6.4
                    [scale] => 0.205
                    [rot] => 0.785398
                    [file] => war3mapImported\Square_Column.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => -0.46
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [21] => Array
                (
                    [x] => -0.0246518
                    [y] => 0.0843454
                    [z] => -12.8
                    [scale] => 0.85
                    [rot] => 4.72984
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [22] => Array
                (
                    [x] => -44.5377
                    [y] => 44.6566
                    [z] => -6.4
                    [scale] => 0.205
                    [rot] => 5.49779
                    [file] => war3mapImported\Square_Column.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => -0.46
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [23] => Array
                (
                    [x] => 44.8723
                    [y] => 44.4987
                    [z] => -6.4
                    [scale] => 0.205
                    [rot] => 3.92699
                    [file] => war3mapImported\Square_Column.mdl
                    [red] => 25
                    [green] => 30
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => -0.46
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [24] => Array
                (
                    [x] => 5.9101
                    [y] => 33.3491
                    [z] => 0
                    [scale] => 0.15
                    [rot] => 2.24071
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DAMAGE_BASE_PERC
                    [base] => 0
                    [add] => 0.03
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local Creep target = Event.getTarget()
    local real debuff_dmg = 0.05 + (tower.getLevel() * 0.002)
    
    call ashbringer_frostburn_launch(tower, target.getX(), target.getY(), 2, debuff_dmg, 7)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNSpell_Frost_FrostWard.blp
                            [name] => Glacial Volley
                            [short_explain] => Attacks bombard the area around the target with additional projectiles.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 1.0
                            [long_explain] => Attacks bombard the area around the target with |cffffff802|r additional projectiles. The further away the enemy is, the greater the spread of the projectiles.
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType ashbringer_frostburn_buff
    endglobals
    
    //@import
    function ashbringer_frostburn_launch takes Tower tower, real x, real y, integer count, real debuff_dmg, real z returns nothing
    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
    endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => On Damage
                    [code] => local Creep target = Event.getTarget()
    local Buff b
    local real debuff_dmg = tower.getCurrentAttackDamageWithBonus() * 0.05 + (tower.getLevel() * 0.002)
    
    set b = target.getBuffOfType(ashbringer_frostburn_buff)
    if b!=0 then
        set b.userInt = b.userInt + 1
        if debuff_dmg > b.userReal then
            set b.userReal = debuff_dmg
        endif
        call b.refreshDuration()
    else
        set b = ashbringer_frostburn_buff.apply(tower, target, tower.getLevel())
        set b.userInt = 1
        set b.userInt2 = tower
        set b.userReal = debuff_dmg
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNFrostArmor.blp
                            [name] => Bonechill
                            [short_explain] => Enemies hit take stacking spell damage over time.
                            [ONDAMAGE_chanceLevelAdd] => 0
                            [long_explain] => Each volley hit inflicts a stack of Bonechill on the enemy. Bonechill deals |cffffff805%|r of attack damage as spell damage per stack per second. Lasts |cffffff805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.2%|r of attack damage as spell damage|n|cffffff80+0.12|r seconds duration
                        )

                )

            [3] => Array
                (
                    [name] => On Tower Creation
                    [code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(1))
                    [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] => ashbringer_frostburn_buff
                )

        )

    [lightning] => Array
        (
        )

)