Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNFrostArmor.blp
            [dmgplus1] => 910
            [bldtm] => 1
            [goldcost] => 1400
            [sides1] => 1
            [manaN] => 40
            [acquire] => 900
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Hungry Frozen Flame
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => Doodads\Northrend\Props\North_Bones\North_Bones2.mdl
            [uberSplat] => OSMA
            [Missileart] => Abilities\Spells\Other\BlackArrow\BlackArrowMissile.mdl
            [Missilespeed] => 1500
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 2
            [mana0] => 5
            [rangeN1] => 900
            [atkType1] => chaos
            [cool1] => 0.9
            [Ubertip] => This tower uses mana to summon coldfire from the Frozen Heart of Hell for minor AoE damage and slowing effect. Stolen souls improve this ability with each tower level.
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00-25% |rdmg to undead (|cffFFFF00+0.8%|r/lvl)
            [abil_factor] => 0.8
            [author] => IamanEvilMan
            [alpha] => 255
            [authorDisplay] => |c00ff0000IamanEvilMan|r
            [version] => 1.0
            [element] => darkness
            [rarity] => common
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 2.58806
                    [y] => -36.5811
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 1.0821
                    [file] => Abilities\Spells\Undead\DarkSummoning\DarkSummonMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => true
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 1.0585
                    [y] => -14.1443
                    [z] => 0
                    [scale] => 0.85
                    [rot] => 2.11185
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal6.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 4.60848
                    [y] => 10.0366
                    [z] => 0
                    [scale] => 1
                    [rot] => 5.044
                    [file] => Doodads\LordaeronSummer\Props\ImpaledBody\ImpaledBody1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -56.5586
                    [y] => -4.53803
                    [z] => 0
                    [scale] => 0.9
                    [rot] => 4.69494
                    [file] => Doodads\LordaeronSummer\Props\SittingCorpse\SittingCorpse.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -4.14338
                    [y] => -35.9877
                    [z] => 0
                    [scale] => 1.15
                    [rot] => 1.36136
                    [file] => Abilities\Spells\NightElf\shadowstrike\shadowstrike.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DMG_TO_UNDEAD
                    [base] => -0.25
                    [add] => 0.008
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
    //@import        
    BuffType soul_chill
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] => Autocast
                    [code] => local Unit targ = Event.getTarget()
    local Iterate it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_CREEPS,targ,250)
    local Unit next

    local real calculated_slow = 100 + tower.getLevel() * 8
    local real duration = 4.0 + tower.getLevel() * 0.08
    local real spelldmg = 1000 + tower.getLevel() * 48 
     
loop

    set next = it.next()
    exitwhen next == 0
    call soul_chill.applyCustomTimed(tower, next, R2I(calculated_slow), duration)
    call tower.doSpellDamage(next, spelldmg, tower.calcSpellCritNoBonus())

endloop

    call SFXAtUnit("Abilities\\Spells\\Undead\\RaiseSkeletonWarrior\\RaiseSkeleton.mdl", targ.getUnit())
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 1
                            [AUTOCAST_autoRange] => 900
                            [visible] => true
                            [AUTOCAST_manacost] => 20
                            [icon] => ReplaceableTextures\CommandButtons\BTNDarkRitual.blp
                            [AUTOCAST_range] => 900
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 2
                            [caster_art] => 
                            [long_explain] => Chills the souls of all creeps in |cffFFFF80250|r AoE of the target, |cffFFFF801000|r spelldamage and slowing them by |cffFFFF8010%|r for |cffFFFF804|r seconds. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+48|r damage |n|cffFFFF80+0.8%|r slow |n|cffFFFF80+0.08|r seconds duration
                            [target_art] => Abilities\Spells\Undead\RaiseSkeletonWarrior\RaiseSkeleton.mdl
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_UNIT
                            [AUTOCAST_buffType] => soul_chill
                            [AUTOCAST_isExtended] => false
                            [name] => Soul Chill
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Deals spelldamage and slows units in a small area.
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)