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

            [targs1] => Array
                (
                )

            [goldcost] => 1800
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1500
            [moveHeight] => 15
            [file] => Units\NightElf\Owl\Owl.mdl
            [atkType1] => normal
            [modelScale] => 0.6
            [weapTp1] => missile
            [acquire] => 800
            [rangeN1] => 1200
            [upgrades] => Array
                (
                )

            [teamColor] => 6
            [cool1] => 2
            [Ubertip] => The spirit of a watcher left to look over the ruins.
            [abilList] => Array
                (
                )

            [Name] => Lunar Protector
            [Missileart] => Abilities\Weapons\WingedSerpentMissile\WingedSerpentMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNSentinel.blp
            [buildingShadow] => Array
                (
                )

            [sides1] => 21
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

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

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

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

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.0613069
                    [y] => 1.97393
                    [z] => -38.4
                    [scale] => 0.9
                    [rot] => 1.32645
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -0.637738
                    [y] => 1.88266
                    [z] => 0
                    [scale] => 0.255
                    [rot] => 5.40813
                    [file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -0.0613069
                    [y] => 1.97393
                    [z] => -83.2
                    [scale] => 1.05
                    [rot] => 2.16421
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -0.98503
                    [y] => 0.263418
                    [z] => -121.6
                    [scale] => 1.35
                    [rot] => 4.99164
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 42.7552
                    [y] => 9.34935
                    [z] => -25.6
                    [scale] => 0.6
                    [rot] => 4.93928
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -41.6083
                    [y] => 12.2332
                    [z] => -25.6
                    [scale] => 0.6
                    [rot] => 4.46804
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -24.9258
                    [y] => 37.2041
                    [z] => -12.8
                    [scale] => 0.6
                    [rot] => 2.33874
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 2.27055
                    [y] => 49.4068
                    [z] => 0
                    [scale] => 0.6
                    [rot] => 5.20108
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 26.9565
                    [y] => 32.3394
                    [z] => -12.8
                    [scale] => 0.6
                    [rot] => 2.33874
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.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_moonp_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] => local integer level = tower.getLevel()
local Unit target = Event.getTarget()
    if level < 15 then
        call tower.doSpellDamage(target,1500+level*60,tower.calcSpellCritNoBonus())
    else
        call tower.doSpellDamage(target,2100+level*60,tower.calcSpellCritNoBonus())
    endif
    
    if tower.calcChance(0.125 + level * 0.005) == true then
            call tower.doSpellDamage(target,1500 + level * 60,tower.calcSpellCritNoBonus())
            if level < 25 then
                call cb_stun.applyOnlyTimed(tower,target,0.3)
            else
                call cb_stun.applyOnlyTimed(tower,target,0.4)
            endif
            if level < 15 then
                call sir_moonp_buff.applyAdvanced(tower,target,0,200,2.5)
            else
                call sir_moonp_buff.applyAdvanced(tower,target,0,250,2.5)
            endif
        endif
                    [values] => Array
                        (
                            [caster_art] => 
                            [icon] => ReplaceableTextures\CommandButtons\BTNElunesBlessing.blp
                            [AUTOCAST_cooldown] => 2
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [AUTOCAST_isExtended] => true
                            [long_explain] => Smites a target creep dealing |cffffff801500|r spelldamage to it. There is a |cffffff8012.5%|r chance to empower the smite with lunar energy dealing |cffffff801500|r additional spell damage, stunning the target for |cffffff800.3|r seconds and making it receive |cffffff8020%|r more damage from spells for |cffffff802.5|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+60|r inital and chanced spell damage |n|cffffff80+0.5%|r chance |n|cffffff80+600|r initial damage at level |cffffff8015|r |n|cffffff80+5%|r spell damage received at level |cffffff8015|r |n|cffffff80+0.1|r seconds stun at level |cffffff8025|r
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_UNIT
                            [AUTOCAST_manacost] => 0
                            [AUTOCAST_range] => 1200
                            [AUTOCAST_buffType] => 0
                            [name] => Lunar Grace
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Deals spelldamage with a chance to stun the target and increase its vulnerability to spells.
                            [AUTOCAST_targetType] => 0
                            [target_art] => Abilities\Spells\Items\AIil\AIilTarget.mdl
                            [AUTOCAST_autoRange] => 1200
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)