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

            [Art] => ReplaceableTextures\CommandButtons\BTNDivineAegis.blp
            [turnRate] => 3
            [dmgplus1] => 477
            [bldtm] => 1
            [goldcost] => 1375
            [unitSound] => Priest
            [sides1] => 1
            [Missilearc] => 0.1
            [acquire] => 1000
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Zealous Falconer
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\creeps\Medivh\Medivh.mdl
            [uberSplat] => YTDO
            [Missileart] => war3mapImported\SerpentWardMissileHoly.mdl
            [Missilespeed] => 1400
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.65
            [rangeN1] => 1000
            [atkType1] => normal
            [cool1] => 1.8
            [Ubertip] => A hunter of the faith, guided by a radiant wing.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [moveHeight] => 12
            [customTeamColor] => 1
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
            [teamColor] => 4
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF005%|r spell crit chance (|cffFFFF00+0.5%|r/lvl)
            [abil_factor] => 0.19
            [author] => Ashbringer
            [alpha] => 255
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => astral
            [rarity] => uncommon
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.0271235
                    [y] => 0.071509
                    [z] => 0
                    [scale] => 0.21
                    [rot] => 4.71239
                    [file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 205
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [1] => Array
                (
                    [x] => 0.0459353
                    [y] => -0.0628024
                    [z] => -96
                    [scale] => 1.05
                    [rot] => 4.71239
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [2] => Array
                (
                    [x] => 0.0474865
                    [y] => 46.5978
                    [z] => 0
                    [scale] => 0.43
                    [rot] => 0
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

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

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [4] => Array
                (
                    [x] => 31.9711
                    [y] => 31.9071
                    [z] => 0
                    [scale] => 0.43
                    [rot] => 0
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [5] => Array
                (
                    [x] => -31.6331
                    [y] => 29.4156
                    [z] => 51.2
                    [scale] => 0.65
                    [rot] => 4.97977
                    [file] => Abilities\Weapons\SorceressMissile\SorceressMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [6] => Array
                (
                    [x] => -0.046063
                    [y] => 0.0342374
                    [z] => -12.8
                    [scale] => 1.2
                    [rot] => 1.11701
                    [file] => war3mapImported\GeneralAuraTargetWhite.mdl
                    [red] => 255
                    [green] => 225
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [7] => Array
                (
                    [x] => -0.0271235
                    [y] => 0.071509
                    [z] => 0
                    [scale] => 0.21
                    [rot] => 3.92699
                    [file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 205
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [8] => Array
                (
                    [x] => -17.7085
                    [y] => 52.3145
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 1.27146
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 215
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [9] => Array
                (
                    [x] => 48.2927
                    [y] => -20.109
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 6.00393
                    [file] => Doodads\Ruins\Plants\Ruins_Shrub\Ruins_Shrub2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 215
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [10] => Array
                (
                    [x] => 20.7434
                    [y] => 44.3651
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 5.52548
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 215
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [11] => Array
                (
                    [x] => -52.927
                    [y] => -22.4958
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 5.11701
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 215
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [12] => Array
                (
                    [x] => 31.3601
                    [y] => 28.6767
                    [z] => 51.2
                    [scale] => 0.65
                    [rot] => 4.58834
                    [file] => Abilities\Weapons\SorceressMissile\SorceressMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [13] => Array
                (
                    [x] => 0.00238148
                    [y] => 0.131718
                    [z] => 6.4
                    [scale] => 0.75
                    [rot] => 4.69494
                    [file] => war3mapImported\GeneralAuraTargetWhite.mdl
                    [red] => 255
                    [green] => 225
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_SPELL_CRIT_CHANCE
                    [base] => 0.0375
                    [add] => 0.005
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local Projectile p = tower.userInt
    set tower.userReal = tower.userReal + (0.5 + (tower.getLevel() * 0.02))
    call Effect.create("Abilities\\Spells\\Items\\StaffOfPurification\\PurificationTarget.mdl", p.x, p.y, p.z, 270)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNAbility_paladin_blessedmending.blp
                            [name] => Sacred Bond
                            [short_explain] => Chance on attack to empower Sunwing.
                            [ONATTACK_chance] => 0.15
                            [ONATTACK_chanceLevelAdd] => 0.006
                            [long_explain] => Attacks have a |cffffff8015%|r chance to increase the spell damage of Sunwing's next attack by |cffffff8050%|r. This effect can stack.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r chance|n|cffFFFF80+2%|r damage
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        ProjectileType ashbringer_spirit_missile
    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
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNAvenging_Crusader.blp
                            [name] => Sunwing
                            [short_explain] => A celestial spirit roams the skies, swooping down to deal spell damage to enemies.
                            [long_explain] => A celestial spirit roams the skies, swooping at a random enemy within the tower's attack range every |cffffff803|r seconds to deal |cffffff802200|r spell damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+88|r spell damage
                        )

                )

            [2] => Array
                (
                    [name] => On Tower Destruction
                    [code] => local Projectile p = tower.userInt
    
    call p.destroy()
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [3] => Array
                (
                    [name] => Periodic
                    [code] => local Projectile p = tower.userInt
    local real current_time = Game.getGameTime()
    
    //check if birb is broken and respawn
    if (current_time - p.userReal2) / 25 > 15 then
        call p.destroy()
        set p = Projectile.createFromUnit(ashbringer_spirit_missile, tower, tower, 270, 0, 0)
        set tower.userInt = p
    endif
                    [values] => Array
                        (
                            [visible] => false
                            [PERIODIC_period] => 60
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [4] => Array
                (
                    [name] => On Tower Creation
                    [code] => local Projectile p = Projectile.createFromUnit(ashbringer_spirit_missile, tower, tower, 270, 0, 0)
    
    call AddUnitAnimationProperties(tower.getUnit(), "alternate", false)
    call p.setScale(1.5)
    set p.z = 300
    set p.userInt = 0
    set tower.userInt = p
    set tower.userReal = 1
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => ProjectileType
                    [name] => ashbringer_spirit_missile
                )

        )

    [lightning] => Array
        (
        )

)