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

            [targs1] => Array
                (
                )

            [goldcost] => 3000
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1500
            [moveHeight] => 19
            [file] => units\orc\WatcherWard\WatcherWard.mdl
            [manaN] => 200
            [atkType1] => normal
            [modelScale] => 0.75
            [weapTp1] => missile
            [acquire] => 800
            [rangeN1] => 800
            [upgrades] => Array
                (
                )

            [cool1] => 1.5
            [Ubertip] => Whatever you do, do not make eye contact.
            [regenMana] => 4
            [abilList] => Array
                (
                )

            [mana0] => 200
            [Name] => Lightning Eye
            [Missileart] => Abilities\Weapons\ZigguratMissile\ZigguratMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNSentryWard.blp
            [buildingShadow] => Array
                (
                )

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

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

    [settings] => Array
        (
            [author] => i_mOck_death
            [element] => storm
            [authorDisplay] => |cffc0c0c0i_mOck_death|r
            [alpha] => 255
            [balanceTip] => |cffFFFF00-10% |rdmg to bosses
            [rarity] => unique
            [version] => 1.0
            [abil_factor] => .3
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -2.58614
                    [y] => 1.61579
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 4.71239
                    [file] => Doodads\Terrain\DalaranMagicalPen\DalaranMagicalPen.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -0.418136
                    [y] => 4.26694
                    [z] => 0
                    [scale] => 0.52
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -1.41544
                    [y] => 2.52605
                    [z] => 32
                    [scale] => 0.45
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -14.3483
                    [y] => -9.06586
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 0.541052
                    [file] => Abilities\Spells\Orc\Purge\PurgeBuffTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -49.2381
                    [y] => 46.7639
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -48.916
                    [y] => -44.5312
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 43.696
                    [y] => 46.6182
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 44.2026
                    [y] => -44.5312
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.69494
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 0.447004
                    [y] => -28.8786
                    [z] => 0
                    [scale] => 0.09
                    [rot] => 4.71239
                    [file] => Doodads\Terrain\ForceBridgeLarge0\ForceBridgeLarge0.mdl
                    [red] => 50
                    [green] => 50
                    [blue] => 125
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 25.7618
                    [y] => 2.34217
                    [z] => 0
                    [scale] => 0.09
                    [rot] => 3.14159
                    [file] => Doodads\Terrain\ForceBridgeLarge0\ForceBridgeLarge0.mdl
                    [red] => 50
                    [green] => 50
                    [blue] => 125
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -2.9518
                    [y] => 28.6307
                    [z] => 0
                    [scale] => 0.09
                    [rot] => 4.71239
                    [file] => Doodads\Terrain\ForceBridgeLarge0\ForceBridgeLarge0.mdl
                    [red] => 50
                    [green] => 50
                    [blue] => 125
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -28.8844
                    [y] => -0.58297
                    [z] => 0
                    [scale] => 0.09
                    [rot] => 0
                    [file] => Doodads\Terrain\ForceBridgeLarge0\ForceBridgeLarge0.mdl
                    [red] => 50
                    [green] => 50
                    [blue] => 125
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => -13.2485
                    [y] => -7.57452
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 1.0821
                    [file] => Abilities\Spells\Orc\Purge\PurgeBuffTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => -13.2485
                    [y] => -7.57452
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 0.122173
                    [file] => Abilities\Spells\Orc\Purge\PurgeBuffTarget.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_BOSS
                    [base] => -0.1
                    [add] => 0
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        Cast Swave
        BuffType mOck_staticField
    endglobals
    
    function staticP takes Buff b returns nothing
        local Tower  tower = b.getCaster()  
        local Tower  towero = b.getBuffedUnit() 
        local Unit target = Event.getTarget()
        
        if target.isImmune() then
            set Event.damage = Event.damage*(1.2+.01*tower.getLevel())
        endif
            
    endfunction

    private function init takes nothing returns nothing
        set Swave = Cast.create('@@0@@',"forkedlightning",1)
        set mOck_staticField = BuffType.createAuraEffectType(true)
        call mOck_staticField.setBuffIcon('@@1@@') 
        call mOck_staticField.addEventOnDamage(staticP,1.0, 0.0) 
	endfunction
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Attack
                    [code] => local Creep creep = Event.getTarget()
    local unit toweru= tower.getUnit()
    local unit creepu = creep.getUnit()
    local real life = GetUnitState(creepu,UNIT_STATE_LIFE)
    local real mp = GetUnitState(toweru,UNIT_STATE_MANA)
    local integer level = tower.getLevel()

    if mp >= 40 then
        call SetUnitState(toweru , UNIT_STATE_MANA, mp-40)
        call Swave.targetCastFromCaster(tower,creep,(500+level*120)+(life*(.015)),tower.calcSpellCritNoBonus())
    endif
    
    set toweru = null
    set creepu = null
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNMonsoon.blp
                            [visible] => true
                            [name] => Glare
                            [short_explain] => The eye zaps enemies on attack.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => The Eye launches a forked lightning on every attack at the cost of |cffFFFF8040|r mana. The forked lightning deals |cffFFFF80500|r plus |cffFFFF801.5%|r of the original target's current health as spell damage. The forked lightning hits up to |cffFFFF803|r creeps.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+120|r spell damage
                        )

                )

            [2] => Array
                (
                    [name] => Tower Aura
                    [code] => Array
                        (
                        )

                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNPurge.blp
                            [visible] => true
                            [AURA_auraEffect] => mOck_staticField
                            [AURA_power] => 0
                            [long_explain] => Towers within |cffFFFF80350|r range of this tower have their damage increased by |cffFFFF8020%|r when attacking immune creeps.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1%|r damage
                            [AURA_level] => 0
                            [AURA_auraRange] => 350
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [AURA_levelAdd] => 1
                            [AURA_powerAdd] => 1
                            [name] => Static Field
                            [AURA_targetSelf] => true
                            [short_explain] => Towers within range of this tower deal more damage to immune creeps.
                        )

                )

        )

    [abilities] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => ANfl
                    [oeValues] => Array
                        (
                            [Name] => Glare
                            [Art] => ReplaceableTextures\CommandButtons\BTNMonsoon.blp
                            [hero] => 0
                            [levels] => 1
                            [Rng1] => 1000
                            [DataA1] => 1
                        )

                )

        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@1@@
                    [derivedFrom] => Bbsk
                    [oeValues] => Array
                        (
                            [Bufftip] => Static Presence
                            [Buffubertip] => This tower will deal more damage to immune creeps.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNPurge.blp
                            [TargetArt] => Array
                                (
                                )

                            [EditorName] => Static Presence
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)