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

            [targs1] => air
            [goldcost] => 1300
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1500
            [moveHeight] => 40
            [file] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
            [manaN] => 20
            [atkType1] => normal
            [weapTp1] => missile
            [acquire] => 800
            [rangeN1] => 500
            [upgrades] => Array
                (
                )

            [cool1] => 0.7
            [Ubertip] => Support tower which only attacks air. Buffs other units attackspeed and adds some spell and normal damage.
            [regenMana] => 1
            [abilList] => Array
                (
                )

            [Name] => Energy Crossing
            [Missileart] => Abilities\Spells\Items\AIlb\AIlbTarget.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNDispelMagic.blp
            [buildingShadow] => Array
                (
                )

            [sides1] => 1
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => SirCoqalot.
            [element] => iron
            [authorDisplay] => SirCoqaLot
            [alpha] => 255
            [balanceTip] => |cffFF0000Attacks AIR only|r
            [rarity] => uncommon
            [version] => 1.0
            [abil_factor] => 0.2
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 30.9195
                    [y] => 30.6046
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 3.92782
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -29.3648
                    [y] => -33.5878
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 0.803342
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -1.52082
                    [y] => 0.490407
                    [z] => 38.4
                    [scale] => 0.75
                    [rot] => 3.63332
                    [file] => Abilities\Spells\Items\AIlb\AIlbTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.9
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 13.0058
                    [y] => -46.9928
                    [z] => -12.8
                    [scale] => 0.45
                    [rot] => 1.76296
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 50.5575
                    [y] => -12.9793
                    [z] => -12.8
                    [scale] => 0.45
                    [rot] => 2.82012
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -54.0874
                    [y] => 9.2107
                    [z] => -6.4
                    [scale] => 0.45
                    [rot] => 6.14641
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -15.6712
                    [y] => 50.0581
                    [z] => -6.4
                    [scale] => 0.45
                    [rot] => 5.07677
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.2
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 2.08377
                    [y] => 4.1433
                    [z] => 44.8
                    [scale] => 0.65
                    [rot] => 6.15969
                    [file] => Abilities\Spells\Items\AIlb\AIlbTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.9
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userReal = 0.25 //base attackspeed boost
    set tower.userReal2 = 0.004 //attackspeed boost add
    set tower.userReal3 = 320.0 //base dmg & spelldmg per attack (/25 for level bonus)
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType sir_junction_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
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => Autocast
                    [code] => Array
                        (
                        )

                    [values] => Array
                        (
                            [caster_art] => 
                            [icon] => ReplaceableTextures\CommandButtons\BTNPurge.blp
                            [AUTOCAST_cooldown] => 6
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [AUTOCAST_isExtended] => false
                            [long_explain] => Buffs a tower in |cffffff80500|r range for |cffffff8010|r seconds increasing its attackspeed by |cffffff8025%|r. The buffed tower deals |cffffff80320|r attack damage and |cffffff80320|r spell damage on attack multiplied with its base attackspeed. |n|n|cffFF8000Level Bonus:|r|n|cffffff80+12.8|r attack and spell damage |n|cffffff80+0.4%|r attackspeed
                            [AUTOCAST_autocastType] => AC_TYPE_ALWAYS_BUFF
                            [AUTOCAST_manacost] => 15
                            [AUTOCAST_range] => 500
                            [AUTOCAST_buffType] => sir_junction_buff
                            [name] => Jolt
                            [AUTOCAST_targetSelf] => true
                            [short_explain] => Buffs a tower in range, increasing its attackspeed and enabling it to deal some attack and spell damage on attack.
                            [AUTOCAST_targetType] => TARGET_TYPE_TOWERS
                            [target_art] => 
                            [AUTOCAST_autoRange] => 500
                        )

                )

            [3] => Array
                (
                    [name] => On Tower Destruction
                    [code] => //Kill all buffs made by this tower in aoe, so that all lightnings get removed
    local Iterate it = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TOWERS, 500)
    local Tower cur = it.next()
    local Buff b
    
    loop
        exitwhen cur == 0
        set b = cur.getBuffOfType(sir_junction_buff)
        if b != 0 then
            if b.getCaster() == tower then
                call b.removeBuff()
            endif
        endif
        set cur = it.next()
    endloop
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)