Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [RngBuff1] => 250
            [scaleBull] => 0
            [MissileHoming] => 1
            [Upgrade] => Array
                (
                )

            [targs1] => Array
                (
                )

            [goldcost] => 3900
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1000
            [file] => units\creeps\Owlbear\Owlbear.mdl
            [atkType1] => normal
            [modelScale] => 0.8
            [weapTp1] => missile
            [acquire] => 900
            [rangeN1] => 900
            [upgrades] => Array
                (
                )

            [cool1] => 2
            [Ubertip] => Strong spell damage tower which gets stronger with experience. Can even damage immune units with it's spells.
            [abilList] => @@0@@
            [Name] => Ancient Owl of Wisdom
            [Missileart] => Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNOwlBear.blp
            [buildingShadow] => Array
                (
                )

            [turnRate] => 0.3
            [sides1] => 1
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

            [dmgplus1] => 2976
            [bldtm] => 1
        )

    [settings] => Array
        (
            [author] => Der_kleine_Tomy
            [element] => astral
            [authorDisplay] => |c00ff0000Der_kleine_Tomy|r
            [alpha] => 255
            [balanceTip] => |cffFFFF005%|r spell crit chance (|cffFFFF00+0.15%|r/lvl)|n|cffFFFF00+1% |rspell damage/lvl
            [rarity] => unique
            [version] => 1.0
            [abil_factor] => 0.30
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 43.7922
                    [y] => -19.6599
                    [z] => 0
                    [scale] => 0.7
                    [rot] => 4.01675
                    [file] => Doodads\Ruins\Props\RuinsTrash\RuinsTrash1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -11.1776
                    [y] => -26.4034
                    [z] => 0
                    [scale] => 0.7
                    [rot] => 0.680679
                    [file] => Doodads\Ruins\Props\RuinsTrash\RuinsTrash1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -45.948
                    [y] => 26.2817
                    [z] => 0
                    [scale] => 0.6
                    [rot] => 5.56278
                    [file] => Doodads\Ruins\Props\LibraryShelf\LibraryShelf1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 34.5096
                    [y] => 28.8734
                    [z] => 0
                    [scale] => 0.6
                    [rot] => 4.30863
                    [file] => Doodads\Ruins\Props\LibraryShelf\LibraryShelf1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 1.86854
                    [y] => -5.01539
                    [z] => 0
                    [scale] => 0.7
                    [rot] => 5.02655
                    [file] => Doodads\Ruins\Props\RuinsTrash\RuinsTrash1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 4.8757
                    [y] => 47.9887
                    [z] => 121.6
                    [scale] => 0.3
                    [rot] => 4.57752
                    [file] => units\nightelf\OwlSCOUT\OwlSCOUT.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -37.3009
                    [y] => 2.89444
                    [z] => 102.4
                    [scale] => 0.3
                    [rot] => 4.99947
                    [file] => units\nightelf\OwlSCOUT\OwlSCOUT.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 29.8632
                    [y] => 26.9287
                    [z] => 121.6
                    [scale] => 0.3
                    [rot] => 4.3006
                    [file] => units\nightelf\OwlSCOUT\OwlSCOUT.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -59.6097
                    [y] => -17.0038
                    [z] => 6.4
                    [scale] => 0.5
                    [rot] => 5.7272
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 2.86198
                    [y] => -7.78389
                    [z] => 0
                    [scale] => 0.7
                    [rot] => 5.0091
                    [file] => Abilities\Spells\NightElf\TargetArtLumber\TargetArtLumber.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -2.25162
                    [y] => -13.4202
                    [z] => -57.6
                    [scale] => 1
                    [rot] => 1.8675
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => 36.8383
                    [y] => -26.4981
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 2.80998
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => -44.3803
                    [y] => -19.2378
                    [z] => 70.4
                    [scale] => 0.3
                    [rot] => 4.7473
                    [file] => units\nightelf\OwlSCOUT\OwlSCOUT.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => 35.336
                    [y] => -24.6262
                    [z] => 108.8
                    [scale] => 0.3
                    [rot] => 4.24745
                    [file] => units\nightelf\OwlSCOUT\OwlSCOUT.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

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

            [1] => Array
                (
                    [id] => MOD_SPELL_DAMAGE_DEALT
                    [base] => 0
                    [add] => 0.01
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userInt = 2
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    //@import
      ProjectileType tomy_energyballPT
    endglobals
    
    
 function Tomy_Energyball_Start takes Unit target, Tower tower returns nothing
    set Projectile.createFromUnitToUnit(tomy_energyballPT,tower,0,0,tower,target,true,false,false).userInt = tower
 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
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => Periodic
                    [code] => local Unit target
    local Iterate it = Iterate.overUnitsInRangeOfCaster(tower,TARGET_CREEPS,900)
   
    loop
        set target = it.next()
        exitwhen target == 0
        if tower.calcChance(0.10+0.002*tower.getLevel()) then
            call Tomy_Energyball_Start(target,tower)
        endif 
    endloop
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNNeutralManaShield.blp
                            [visible] => true
                            [PERIODIC_period] => 4.0
                            [name] => Energy Aura
                            [short_explain] => Has a chance to cast Energyball on creeps every few seconds.
                            [long_explain] => Every |cffFFFF804|r seconds, for each creep in |cffFFFF80900|r range the Ancient Owl of Wisdom has a |cffFFFF8010%|r chance to cast Energyball on it.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r chance
                        )

                )

            [3] => Array
                (
                    [name] => On Attack
                    [code] => call Tomy_Energyball_Start(Event.getTarget(),tower)
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNWispSplode.blp
                            [visible] => true
                            [name] => Energyball
                            [short_explain] => The Owl has a chance to deal additional spell damage on attack.
                            [ONATTACK_chance] => 0.30
                            [ONATTACK_chanceLevelAdd] => 0.004
                            [long_explain] => The Ancient Owl of Wisdom has a |cffFFFF8030%|r chance to cast Energyball on the attacked creep. The Energyball deals |cffFFFF806500 + [3.25x Towerexp]|r spell damage in a |cffFFFF80100|r AoE around the attacked creep. The experience bonus cannot exceed |cffFFFF80[150x current wave]|r damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+2|r AoE|n|cffFFFF80+0.4%|r chance
                        )

                )

        )

    [abilities] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => Assk
                    [oeValues] => Array
                        (
                            [Name] => Weak Spots
                            [Art] => ReplaceableTextures\CommandButtons\BTNScout.blp
                            [DataC1] => 0
                            [Requires] => Array
                                (
                                )

                            [Ubertip] => The Ancient Owl of Wisdom is able to find weak spots even on magic immune units. It's Energyball deals |cffFFFF8015%|r of its spell damage as energy damage to immune units.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r damage
                            [targs1] => Array
                                (
                                )

                            [Tip] => Weak Spots
                            [DataE1] => 0
                            [Unubertip] => The Ancient Owl of Wisdom is able to deal a part of its spell damage to immune units.
                            [DataA1] => 0
                            [DataB1] => 0
                            [DataD1] => 0
                        )

                )

        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => ProjectileType
                    [name] => tomy_energyballPT
                )

        )

)