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

            [Art] => ReplaceableTextures\CommandButtons\BTNMagicalSentry.blp
            [turnRate] => 3
            [dmgplus1] => 878
            [bldtm] => 1
            [goldcost] => 2400
            [unitSound] => ArcaneSanctum
            [sides1] => 1
            [manaN] => 125
            [acquire] => 1100
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Humming Crystal of Clarity
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\nightelf\Wisp\Wisp.mdl
            [uberSplat] => YTDG
            [Missileart] => Abilities\Weapons\WingedSerpentMissile\WingedSerpentMissile.mdl
            [Missilespeed] => 1300
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 1.25
            [green] => 0
            [modelScale] => 0.8
            [rangeN1] => 1100
            [atkType1] => magic
            [cool1] => 1.3
            [Ubertip] => No, it isn't meth. Just stop.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [customTeamColor] => 1
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
            [teamColor] => 2
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00+4% |rmana regen/lvl
            [abil_factor] => 0.3
            [author] => Ashbringer
            [alpha] => 0
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => arcane
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -18.8068
                    [y] => -40.7304
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 4.70042
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => 37.8272
                    [y] => -37.6811
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -39.0176
                    [y] => -38.9749
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -18.763
                    [y] => 41.3896
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 4.70042
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 17.948
                    [y] => 40.9806
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 4.70042
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => 17.9042
                    [y] => -41.1394
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 4.70042
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => -39.4034
                    [y] => 39.0923
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => 39.8578
                    [y] => 40.5653
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -40.976
                    [y] => 18.8088
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 3.12962
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => -41.3851
                    [y] => -17.9023
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 3.12962
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => 41.0208
                    [y] => 18.4934
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 3.12962
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => 40.6117
                    [y] => -18.2177
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 3.12962
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 85
                    [green] => 85
                    [blue] => 205
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -0.120384
                    [y] => 0.8779
                    [z] => 12.8
                    [scale] => 0.27
                    [rot] => 0.88982
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal4.mdl
                    [red] => 255
                    [green] => 155
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => 1.49189
                    [y] => 14.9422
                    [z] => 0
                    [scale] => 0.15
                    [rot] => 0.643915
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal4.mdl
                    [red] => 255
                    [green] => 155
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => 0.0801457
                    [y] => 0.488448
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0.645772
                    [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
                    [pcolor] => 255
                )

            [15] => Array
                (
                    [x] => -19.0838
                    [y] => -5.52861
                    [z] => 0
                    [scale] => 0.15
                    [rot] => 2.37039
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal4.mdl
                    [red] => 255
                    [green] => 155
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => 22.285
                    [y] => -11.0308
                    [z] => 0
                    [scale] => 0.1
                    [rot] => 0.643915
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal4.mdl
                    [red] => 255
                    [green] => 155
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => -17.6111
                    [y] => 21.8212
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 4.39823
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock9.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [18] => Array
                (
                    [x] => 14.0798
                    [y] => 17.6523
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 5.94379
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock9.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [19] => Array
                (
                    [x] => -11.3543
                    [y] => -12.8311
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 5.10023
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock9.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [20] => Array
                (
                    [x] => 19.4195
                    [y] => -14.0999
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.39823
                    [file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock9.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [21] => Array
                (
                    [x] => -0.543976
                    [y] => -0.840786
                    [z] => 51.2
                    [scale] => 1.5
                    [rot] => 3.72711
                    [file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [22] => Array
                (
                    [x] => 14.481
                    [y] => 0.660937
                    [z] => 19.2
                    [scale] => 0.1
                    [rot] => 3.14159
                    [file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
                    [red] => 25
                    [green] => 145
                    [blue] => 225
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [23] => Array
                (
                    [x] => -14.8194
                    [y] => 1.44309
                    [z] => 19.2
                    [scale] => 0.1
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
                    [red] => 25
                    [green] => 145
                    [blue] => 225
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [24] => Array
                (
                    [x] => -0.396068
                    [y] => -13.5987
                    [z] => 19.2
                    [scale] => 0.1
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
                    [red] => 25
                    [green] => 145
                    [blue] => 225
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [25] => Array
                (
                    [x] => 0.386098
                    [y] => 15.7016
                    [z] => 19.2
                    [scale] => 0.1
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
                    [red] => 25
                    [green] => 145
                    [blue] => 225
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_MANA_REGEN_PERC
                    [base] => 0
                    [add] => 0.04
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType ashbringer_clarity_aura
        //@import
        BuffType ashbringer_surge_buff
    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] => Tower Aura
                    [code] => Array
                        (
                        )

                    [values] => Array
                        (
                            [AURA_powerAdd] => 0
                            [visible] => true
                            [AURA_auraEffect] => ashbringer_clarity_aura
                            [AURA_levelAdd] => 3
                            [AURA_power] => 3
                            [icon] => ReplaceableTextures\CommandButtons\BTNMagicalSentry.blp
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [long_explain] => Towers in |cffffff80350|r range are refunded |cffffff807.5%|r of the mana cost when they cast a spell.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.3%|r mana refunded
                            [AURA_targetSelf] => true
                            [name] => Resonance of Clarity
                            [AURA_level] => 0
                            [short_explain] => Nearby towers are refunded some mana when they cast a spell.
                            [AURA_auraRange] => 350
                        )

                )

            [2] => Array
                (
                    [name] => Autocast
                    [code] => local Iterate i = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TYPE_TOWERS, 350)
    local Tower next
    
    loop
        set next = i.next()
        exitwhen next==0
        call ashbringer_surge_buff.apply(tower, next, (tower.getLevel()*10)+50)
    endloop
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 5
                            [AUTOCAST_autoRange] => 900
                            [AUTOCAST_manacost] => 100
                            [icon] => ReplaceableTextures\CommandButtons\BTNBrilliance.blp
                            [AUTOCAST_range] => 900
                            [AUTOCAST_targetType] => TARGET_TYPE_CREEPS
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => Abilities\Spells\Other\Charm\CharmTarget.mdl
                            [long_explain] => A surge of magic increases the spell damage and mana regeneration of towers within |cffffff80350|r by |cffffff8050%|r for |cffffff802|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+2%|r spell damage and mana regen
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Resonant Surge
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Grants a powerful but short boost to mana regen and spell damage to nearby towers.
                        )

                )

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

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

        )

    [lightning] => Array
        (
        )

)