Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNArthas.blp
            [turnRate] => 3
            [dmgplus1] => 405
            [bldtm] => 1
            [goldcost] => 1000
            [sides1] => 1
            [acquire] => 800
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Warrior of Light
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\human\Arthas\Arthas.mdl
            [Missileart] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
            [Missilespeed] => 1000
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.75
            [rangeN1] => 900
            [backSw1] => 0.567
            [atkType1] => pierce
            [cool1] => 1
            [Ubertip] => Rare Celestial tower with a chance on each attack to create a wave of light that damages enemies.
            [blue] => 100
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [dmgpt1] => 0.433
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => Array
                (
                )

            [abil_factor] => .4
            [author] => i_mOck_death
            [alpha] => 255
            [authorDisplay] => i_mOck_death
            [version] => 1.0
            [element] => astral
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 2.88422
                    [y] => -0.21807
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 3.90954
                    [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
                )

            [1] => Array
                (
                    [x] => -50.1915
                    [y] => 58.8191
                    [z] => -25.6
                    [scale] => 0.34
                    [rot] => 4.71913
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.79
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 0.89381
                    [y] => -10.3578
                    [z] => 19.2
                    [scale] => 0.14
                    [rot] => 1.55124
                    [file] => Doodads\Ruins\Structures\RuinsArchway0_\RuinsArchway0_0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 2.64506
                    [y] => 22.1198
                    [z] => 19.2
                    [scale] => 0.14
                    [rot] => 4.70668
                    [file] => Doodads\Ruins\Structures\RuinsArchway0_\RuinsArchway0_0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -49.3028
                    [y] => 6.6274
                    [z] => 32
                    [scale] => 1
                    [rot] => 5.54523
                    [file] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -50.1362
                    [y] => -49.9905
                    [z] => -25.6
                    [scale] => 0.34
                    [rot] => 1.5691
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.79
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 51.292
                    [y] => 59.5815
                    [z] => -25.6
                    [scale] => 0.34
                    [rot] => 4.71913
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.79
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 51.8103
                    [y] => 5.62833
                    [z] => 32
                    [scale] => 1
                    [rot] => 5.54523
                    [file] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 53.0917
                    [y] => -50.5781
                    [z] => -25.6
                    [scale] => 0.34
                    [rot] => 1.5691
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -0.79
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local unit creep = Event.getTarget().getUnit()
local integer level = tower.getLevel()
local real facing = GetUnitFacing(creep) - 180
local real x = GetUnitX(creep) + (50) * Cos(facing * bj_DEGTORAD)
local real y = GetUnitY(creep) + (50) * Sin(facing * bj_DEGTORAD)
call Effect.createSimple("Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl",GetUnitX(creep),GetUnitY(creep)).destroy()
call Swave.pointCastFromUnitOnPoint(tower,Event.getTarget(),x, y,1.0+(.05*level), tower.calcSpellCritNoBonus())

set creep = null
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNResurrection.blp
                            [name] => Ain Soph Aur
                            [short_explain] => Wave of light that deals spell damage to creeps.
                            [ONATTACK_chance] => .2
                            [ONATTACK_chanceLevelAdd] => 0.005
                            [long_explain] => This tower has a |cffFFFF8020%|r chance on every attack to create a shockwave of light that starts at the targeted creep and travels |cffFFFF80500|r units behind that creep dealing |cffFFFF801000|r spell damage to all creeps in its path.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.5%|r chance|n|cffFFFF80+50|r damage
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        Cast Swave
        //@export
        BuffType mOck_Warrioroflight
    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 Amod = Modifier.create()
        set mOck_Warrioroflight = BuffType.createAuraEffectType(true)
        call Amod.addModification(MOD_DMG_TO_UNDEAD,0,.001)
        call mOck_Warrioroflight.setBuffModifier(Amod)
        call mOck_Warrioroflight.setBuffIcon('@@1@@')
        set Swave = Cast.create('@@0@@', "carrionswarm", 1)
	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

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

                    [values] => Array
                        (
                            [AURA_powerAdd] => 6
                            [visible] => true
                            [AURA_auraEffect] => mOck_Warrioroflight
                            [AURA_levelAdd] => 6
                            [AURA_power] => 150
                            [icon] => ReplaceableTextures\CommandButtons\BTNDivineIntervention.blp
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [long_explain] => Towers in |cffFFFF80300|r range deal |cffFFFF8015%|r more damage to undead creeps.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r damage
                            [AURA_targetSelf] => true
                            [name] => Aura of Light
                            [AURA_level] => 150
                            [short_explain] => An aura that increases damage to undead creeps of all nearby towers.
                            [AURA_auraRange] => 300
                        )

                )

        )

    [abilities] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => AUcs
                    [oeValues] => Array
                        (
                            [Rng1] => 800
                            [Rng2] => 800
                            [DataD1] => 200
                            [Art] => ReplaceableTextures\CommandButtons\BTNResurrection.blp
                            [race] => other
                            [hero] => 0
                            [BuffID1] => Array
                                (
                                )

                            [DataA1] => 1000
                            [Area1] => 200
                            [Rng3] => 800
                            [DataC1] => 500
                            [Name] => Ain Soph Aur
                            [DataB1] => 99999
                            [Missileart] => Abilities\Spells\Orc\Shockwave\ShockwaveMissile.mdl
                            [Missilespeed] => 1000
                            [targs1] => enemies
                            [SpecialArt] => Array
                                (
                                )

                        )

                )

        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@1@@
                    [derivedFrom] => BOac
                    [oeValues] => Array
                        (
                            [EditorName] => Aura of Light
                            [Buffubertip] => This tower deals increased damage to undead creeps.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => Aura of Light
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNDivineIntervention.blp
                        )

                )

        )

    [units] => Array
        (
        )

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

        )

)