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

            [Art] => ReplaceableTextures\CommandButtons\BTNAvatar.blp
            [turnRate] => 1.5
            [dmgplus1] => 2580
            [bldtm] => 1
            [goldcost] => 2500
            [sides1] => 20
            [manaN] => 100
            [acquire] => 1200
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Zeus
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\human\HeroMountainKing\HeroMountainKing.mdl
            [Missileart] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
            [Missilespeed] => 1500
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 1
            [mana0] => 10
            [modelScale] => 0.9
            [rangeN1] => 1200
            [atkType1] => normal
            [cool1] => 2
            [Ubertip] => Zeus, the God of Thunder, is able to invoke massive lighting storms.
            [abilList] => Array
                (
                )

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

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00+5 |rmana/lvl
            [abil_factor] => 0.5
            [author] => Boekie
            [alpha] => 255
            [authorDisplay] => |cff00CD00Boekie|r
            [version] => 1.0
            [element] => storm
            [rarity] => unique
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 1.05423
                    [y] => -1.89794
                    [z] => 0
                    [scale] => 0.47
                    [rot] => 1.56805
                    [file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 29.4728
                    [y] => -3.88218
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 6.22918
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 2.82706
                    [y] => -29.2624
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.70352
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 25.6015
                    [y] => -20.0559
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 5.53865
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -26.5975
                    [y] => -3.88213
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.19425
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -20.5771
                    [y] => -23.417
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.76742
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 25.4517
                    [y] => 22.928
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0.923431
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => -0.704421
                    [y] => 34.2364
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 1.5625
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -22.0582
                    [y] => 19.2133
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 2.16947
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => -3.3364
                    [y] => -4.15636
                    [z] => 12.8
                    [scale] => 0.8
                    [rot] => 2.26893
                    [file] => Abilities\Spells\Orc\LightningShield\LightningShieldTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_MANA
                    [base] => 0
                    [add] => 5
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Kill
                    [code] => local unit towerUnit = tower.getUnit() 
    call SetUnitState(towerUnit,UNIT_STATE_MANA, GetUnitState(towerUnit,UNIT_STATE_MANA)+GetUnitState(towerUnit,UNIT_STATE_MAX_MANA)*0.05)
    set towerUnit = null
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNStormHammer.blp
                            [name] => Divine Hammer
                            [short_explain] => Zeus gains mana when he kills a creep.
                            [long_explain] => Whenever Zeus kills a creep he restores |cffFFFF805%|r of his maximum mana.
                        )

                )

            [1] => Array
                (
                    [name] => On Tower Destruction
                    [code] => if tower.userInt3 != 0 then
        call Effect(tower.userInt3).destroy()
        set tower.userInt3 = 0
    endif
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => On Damage
                    [code] => if Event.isMainTarget() then
        call tower.doSpellDamageAoEUnit(Event.getTarget(),175,500+(tower.getLevel()*20),tower.calcSpellCritNoBonus(),0.0)
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNControlMagic.blp
                            [name] => Electrified Attack
                            [short_explain] => Zeus deals extra spelldamage to units he attacks.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => Zeus's attacks deal an additional |cffFFFF80500|r spelldamage in |cffFFFF80175|r AoE around their target. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+20|r spelldamage
                        )

                )

            [3] => Array
                (
                    [name] => Periodic
                    [code] => local Iterate inRange
    local integer numResults = 0
    local Unit result
    local Unit next
    local PeriodicEvent pE

    if tower.userInt2 > 0 then
        set inRange = Iterate.overUnitsInRangeOfCaster(tower,TARGET_CREEPS,1200)
        loop
            set next = inRange.next()
            exitwhen next == 0
            set numResults = numResults + 1
            if GetRandomReal(0.0,1.0) <= 1.0 / numResults then
                set result = next
            endif
        endloop
        if numResults > 0 then
            call tower.doSpellDamage(result,2500.0+(tower.getLevel()*125),tower.calcSpellCritNoBonus())
            if result.getSize() >= SIZE_BOSS then
                if tower.calcChance(0.20) then
                    call cb_stun.applyOnlyTimed(tower, result, 0.5)
                endif
            else
                call cb_stun.applyOnlyTimed(tower, result, 0.5)
            endif
            call SFXOnUnit("Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl",result.getUnit(),"origin")
        endif
        set tower.userInt2 = tower.userInt2 - 1
    else
        set pE=Event.getCurrentPeriodicEvent()
        set tower.userInt=pE
        if tower.userInt3 != 0 then
            call Effect(tower.userInt3).destroy()
            set tower.userInt3 = 0
        endif
        call pE.disable()
    endif
                    [values] => Array
                        (
                            [visible] => false
                            [PERIODIC_period] => 0.2
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [4] => Array
                (
                    [name] => Autocast
                    [code] => set tower.userInt2 = 20 + (R2I(tower.getLevel()/5))
    if tower.userInt3 == 0 then
        set tower.userInt3 = Effect.create("Abilities\\Spells\\Orc\\Purge\\PurgeBuffTarget.mdl", tower.getX() - 16, tower.getY() - 16, 50, 0)
    endif
    call PeriodicEvent(tower.userInt).enable()
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 10
                            [AUTOCAST_autoRange] => 1000
                            [AUTOCAST_manacost] => 90
                            [icon] => ReplaceableTextures\CommandButtons\BTNMonsoon.blp
                            [AUTOCAST_range] => 1000
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => 
                            [long_explain] => Zeus releases a mighty thunderstorm, this thunder storm strikes creeps in |cffFFFF801000|r range for |cffFFFF802500|r spelldamage and stuns them for |cffFFFF800.5|r seconds (|cffFFFF8020%|r chance on bosses). There is a maximum of |cffFFFF8020|r lightning strikes.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+125|r damage|n|cffFFFF80+1|r lightning strike per |cffFFFF805|r levels
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Thunderstorm
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Releases a mighty thunderstorm.
                        )

                )

            [5] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userInt=0 //stores periodic
    set tower.userInt2=0 //stores number of bolts to still be releaseed
    set tower.userInt3=0 //stores static effect
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)