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

            [targs1] => Array
                (
                )

            [goldcost] => 60
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1500
            [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 Sentinel
            [Missileart] => Abilities\Weapons\WingedSerpentMissile\WingedSerpentMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNSentinel.blp
            [buildingShadow] => Array
                (
                )

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

            [dmgplus1] => 16
            [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.183523
                    [y] => -0.238411
                    [z] => 6.4
                    [scale] => 0.54
                    [rot] => 4.72144
                    [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] => 0.306704
                    [y] => 2.2686
                    [z] => 0
                    [scale] => 0.225
                    [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
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
    //@export
    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
    local Modifier m = Modifier.create()
    set sir_moonp_buff = BuffType.create(0,0,false)
    call m.addModification(MOD_SPELL_DAMAGE_RECEIVED,0,0.001)
    call sir_moonp_buff.setBuffIcon('@@0@@')
    call sir_moonp_buff.setBuffModifier(m)
    call sir_moonp_buff.setStackingGroup("sir_moonp_buff")
	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,50+level*2,tower.calcSpellCritNoBonus())
    else
        call tower.doSpellDamage(target,70+level*2,tower.calcSpellCritNoBonus())
    endif
    
        if tower.calcChance(0.125 + level * 0.005) == true then
            call tower.doSpellDamage(target,50 + level * 2,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,120,2.5)
            else
                call sir_moonp_buff.applyAdvanced(tower,target,0,150,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 |cffffff8050|r spelldamage to it. There is a |cffffff8012.5%|r chance to empower the smite with lunar energy dealing |cffffff8050|r additional spell damage, stunning the target for |cffffff800.3|r seconds and making it receive |cffffff8012%|r more damage from spells for |cffffff802.5|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+2|r inital and chanced spell damage |n|cffffff80+0.5%|r chance |n|cffffff80+20|r initial damage at level |cffffff8015|r |n|cffffff80+3%|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
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BUim
                    [oeValues] => Array
                        (
                            [Bufftip] => Lunar Grace
                            [Targetattach] => chest
                            [Buffubertip] => This unit receives increased spell damage.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNElunesBlessing.blp
                            [Effectattach] => Array
                                (
                                )

                            [TargetArt] => Abilities\Spells\NightElf\FaerieFire\FaerieFireTarget.mdl
                            [EffectArt] => Array
                                (
                                )

                            [EditorName] => Lunar Grace
                        )

                )

        )

    [units] => Array
        (
        )

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

        )

)