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

            [Art] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_MindVision.blp
            [dmgplus1] => 1667
            [bldtm] => 1
            [goldcost] => 1450
            [unitSound] => AltarOfKings
            [sides1] => 1
            [manaN] => 1250
            [launchZ] => 110
            [acquire] => 950
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Gleaming Eye of Divinity
            [weapTp1] => instant
            [MissileHoming] => 1
            [file] => .mdl
            [uberSplat] => YTDO
            [Missilespeed] => 1200
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.1
            [rangeN1] => 950
            [atkType1] => normal
            [cool1] => 1.75
            [Ubertip] => Peerless and piercing.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => Array
                (
                )

            [abil_factor] => 0.6
            [author] => Ashbringer
            [alpha] => 0
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => celestial
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.211841
                    [y] => 0.163665
                    [z] => 0
                    [scale] => 0.56
                    [rot] => 1.58825
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -0.122316
                    [y] => 0.133261
                    [z] => 179.2
                    [scale] => 1.05
                    [rot] => 1.52441
                    [file] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 75
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -1.07133
                    [y] => -0.290481
                    [z] => 96
                    [scale] => 0.41
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 75
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => 0.0167591
                    [y] => -0.143774
                    [z] => 0
                    [scale] => 0.23
                    [rot] => 2.3562
                    [file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => -1.36473
                    [y] => -2.05309
                    [z] => 198.4
                    [scale] => 0.08
                    [rot] => 1.5708
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -0.0627798
                    [y] => -0.0410183
                    [z] => -70.4
                    [scale] => 0.85
                    [rot] => 4.71239
                    [file] => Abilities\Spells\Human\DivineShield\DivineShieldTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => -0.120654
                    [y] => -0.144718
                    [z] => 0
                    [scale] => 0.56
                    [rot] => 3.94444
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -0.266693
                    [y] => -0.000195452
                    [z] => 96
                    [scale] => 0.41
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 255
                    [green] => 195
                    [blue] => 75
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local real chance = 0.2 + (tower.getLevel() * 0.008)
    local real mana = 20 + (tower.getLevel() * 0.8)
    local real damage_per_mana = 100 + (tower.getLevel() * 4)
    call ashbringer_eye_attack(tower, tower.getUID(), Event.getTarget(), 5, chance, mana, damage_per_mana)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNInnerFire.blp
                            [name] => Divine Storm
                            [short_explain] => Attacks can strike additional times.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => The tower's attacks smite enemies with lightning strikes from above. These strikes have a |cffFFFF8020%|r chance to repeat on the target or on a random enemy near the target. Can trigger repeatedly up to a maximum of |cffFFFF805|r times but the chance to trigger is reduced by |cffFFFF805%|r each time.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.8%|r initial chance
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType ashbringer_eye_buff
    endglobals
    
    //@import
    function ashbringer_eye_feedback takes Tower tower, Creep target, real mana, real damage returns nothing
    endfunction
    
    //@import
    function ashbringer_divine_storm takes Tower tower, integer UID, real x, real y, integer max, real chance, real mana, real damage_per_mana returns nothing
    endfunction
    
    //@import
    function ashbringer_eye_attack takes Tower tower, integer UID, Creep target, integer max, real chance, real mana, real damage_per_mana 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] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_MindVision.blp
                            [name] => Searing Ire
                            [short_explain] => Attacks burn mana and mana burnt is given to the tower.
                            [long_explain] => Attacks burn up to |cffffff8020|r mana from each enemy, dealing |cffffff80100|r spell damage per point of mana burnt. The tower gains mana equal to the amount of mana burnt. Can remove mana from immune enemies.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.8|r mana burnt|n|cffFFFF80+4|r spell damage per mana
                        )

                )

            [2] => Array
                (
                    [name] => Autocast
                    [code] => local real power = 100 * (1.0 + (tower.getLevel() * 0.04))
    
    call ashbringer_eye_buff.apply(tower, tower, R2I(power))
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 8
                            [AUTOCAST_autoRange] => 800
                            [AUTOCAST_manacost] => 1000
                            [icon] => ReplaceableTextures\CommandButtons\BTNSpell_Holy_SealOfWrath.blp
                            [AUTOCAST_range] => 900
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => Abilities\Spells\Items\StaffOfPurification\PurificationCaster.mdl
                            [long_explain] => Increases the tower's attack speed by |cffffff80100%|r for |cffffff805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+4%|r attack speed
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Zealotry
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Increases attack speed briefly.
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

    [lightning] => Array
        (
        )

)