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

            [targs1] => Array
                (
                )

            [goldcost] => 700
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 900
            [moveHeight] => 50
            [file] => units\orc\SerpentWard\SerpentWard.mdl
            [manaN] => 12
            [atkType1] => pierce
            [modelScale] => 0.6
            [weapTp1] => missile
            [acquire] => 800
            [rangeN1] => 1050
            [upgrades] => Array
                (
                )

            [cool1] => 1.35
            [Ubertip] => Lesser astral tower that buffs a nearby tower, increasing its mana regeneration, maximum mana and spell damage dealt.
            [regenMana] => 1
            [abilList] => Array
                (
                )

            [Name] => Serpent Ward
            [Missileart] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNSerpentWard.blp
            [buildingShadow] => Array
                (
                )

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

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

    [settings] => Array
        (
            [author] => SirCoqaLot.
            [element] => astral
            [authorDisplay] => SirCoqaLot.
            [alpha] => 255
            [balanceTip] => Array
                (
                )

            [rarity] => uncommon
            [version] => 1.0
            [abil_factor] => 0.825
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.100511
                    [y] => -3.79788
                    [z] => 0
                    [scale] => 1
                    [rot] => 1.82736
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -10.8883
                    [y] => 11.9355
                    [z] => 0
                    [scale] => 1.45
                    [rot] => 0.000000976026
                    [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] => 23.2921
                    [y] => 23.8452
                    [z] => 0
                    [scale] => 1
                    [rot] => 2.95869
                    [file] => Doodads\Ruins\Props\RuinsTrash\RuinsTrash1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

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

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 0.177563
                    [y] => -4.32818
                    [z] => 0
                    [scale] => 1
                    [rot] => 6.01615
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
    //@import
    BuffType sir_serpent_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] => 
                        )

                )

            [1] => Array
                (
                    [name] => Autocast
                    [code] => if tower.getLevel() <25 then
    call sir_serpent_buff.applyAdvanced(tower,Event.getTarget(),30+tower.getLevel(),200+tower.getLevel()*12,5)
else
    call sir_serpent_buff.applyAdvanced(tower,Event.getTarget(),30+tower.getLevel(),200+tower.getLevel()*12,10)
endif
                    [values] => Array
                        (
                            [caster_art] => 
                            [icon] => ReplaceableTextures\CommandButtons\BTNWindSerpent.blp
                            [AUTOCAST_cooldown] => 5
                            [AUTOCAST_numBuffsBeforeIdle] => 1
                            [AUTOCAST_isExtended] => false
                            [long_explain] => Increases the target's maximum mana by |cffFFFF8020%|r, its mana regeneration by |cffFFFF8020%|r and its spell damage by |cffFFFF8010%|r. The buff lasts |cffFFFF805|r seconds. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1.2%|r mana regeneration |n|cffFFFF80+1.2%|r mana |n|cffFFFF80+0.6%|r spell damage |n|cffffff80+5|r seconds duration at level |cffffff8025|r
                            [AUTOCAST_autocastType] => AC_TYPE_ALWAYS_BUFF
                            [AUTOCAST_manacost] => 10
                            [AUTOCAST_range] => 200
                            [AUTOCAST_buffType] => 0
                            [name] => Snake Charm
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => This unit will increase nearby units mana, mana regeneration and spelldamage.
                            [AUTOCAST_targetType] => TARGET_TYPE_TOWERS
                            [target_art] => 
                            [AUTOCAST_autoRange] => 200
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)