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

            [Art] => ReplaceableTextures\CommandButtons\BTNRevenant.blp
            [turnRate] => 3
            [dmgplus1] => 1834
            [bldtm] => 1
            [goldcost] => 1600
            [unitSound] => Revenant
            [sides1] => 1
            [Missilearc] => 0.1
            [manaN] => 70
            [acquire] => 950
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Reinforced Animated Armor
            [red] => 155
            [weapTp1] => missile
            [impactZ] => 60
            [file] => units\creeps\Revenant\Revenant.mdl
            [MissileHoming] => 1
            [uberSplat] => YTDG
            [Missilespeed] => 1200
            [Missileart] => Abilities\Weapons\GryphonRiderMissile\GryphonRiderMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 2.4
            [green] => 195
            [modelScale] => 0.67
            [rangeN1] => 950
            [propWin] => 10
            [atkType1] => siege
            [cool1] => 1.4
            [Ubertip] => A basic conjuration spell but quite effective.
            [abilList] => Array
                (
                )

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

            [targs1] => Array
                (
                )

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

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

            [abil_factor] => 0.86
            [author] => Ashbringer
            [alpha] => 255
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => arcane
            [rarity] => common
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -3.3637
                    [y] => 1.69279
                    [z] => -115.2
                    [scale] => 1.35
                    [rot] => 2.49465
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 65
                    [green] => 35
                    [blue] => 5
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => 41.3217
                    [y] => 48.1274
                    [z] => 0
                    [scale] => 1.7
                    [rot] => 4.85202
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 5
                    [green] => 5
                    [blue] => 5
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -39.8019
                    [y] => -40.2245
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 5.61749
                    [file] => Doodads\LordaeronSummer\Props\Trash1\Trash1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -4.5983
                    [y] => 52.9533
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 2.74103
                    [file] => Doodads\LordaeronSummer\Props\Trash1\Trash1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => -46.5452
                    [y] => 44.3547
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.7297
                    [file] => Doodads\LordaeronSummer\Props\Trash1\Trash1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -47.8545
                    [y] => 40.0371
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 5.44876
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => 42.7566
                    [y] => 44.7697
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0.637118
                    [file] => Doodads\Dungeon\Props\JunkPile\JunkPile0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -44.2173
                    [y] => 3.83526
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 4.94749
                    [file] => Abilities\Weapons\Banditmissile\Banditmissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -49.3068
                    [y] => -5.90074
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.11488
                    [file] => Abilities\Weapons\Banditmissile\Banditmissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 10.3297
                    [y] => -5.75803
                    [z] => 0
                    [scale] => 1.05
                    [rot] => 3.47321
                    [file] => Abilities\Spells\NightElf\FaerieDragonInvis\FaerieDragon_Invis.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => -28.0934
                    [y] => -30.0636
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 3.92699
                    [file] => Doodads\LordaeronSummer\Props\Weapons\Weapons.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => 12.1691
                    [y] => -49.2073
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 3.66844
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -11.4051
                    [y] => 10.1557
                    [z] => 0
                    [scale] => 1.4
                    [rot] => 3.9619
                    [file] => Abilities\Spells\NightElf\FaerieDragonInvis\FaerieDragon_Invis.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => -31.4451
                    [y] => 26.1033
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 2.3562
                    [file] => Doodads\LordaeronSummer\Props\Weapons\Weapons.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => 20.3033
                    [y] => 32.364
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 0.785398
                    [file] => Doodads\LordaeronSummer\Props\Weapons\Weapons.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => -32.2943
                    [y] => -3.67677
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 4.28105
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => -37.9575
                    [y] => -1.97278
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 3.14159
                    [file] => Doodads\LordaeronSummer\Props\ArmorRack\ArmorRack.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => -6.05599
                    [y] => 36.8454
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 1.60403
                    [file] => Doodads\LordaeronSummer\Props\ArmorRack\ArmorRack.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [18] => Array
                (
                    [x] => 32.68
                    [y] => 7.31776
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 6.27042
                    [file] => Doodads\LordaeronSummer\Props\ArmorRack\ArmorRack.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [19] => Array
                (
                    [x] => 26.0845
                    [y] => -24.0713
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 5.49779
                    [file] => Doodads\LordaeronSummer\Props\Weapons\Weapons.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [20] => Array
                (
                    [x] => -0.369327
                    [y] => -34.0507
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 4.71239
                    [file] => Doodads\LordaeronSummer\Props\ArmorRack\ArmorRack.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [21] => Array
                (
                    [x] => -27.0876
                    [y] => -48.6603
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 5.85558
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [22] => Array
                (
                    [x] => -44.0983
                    [y] => -34.7124
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 4.21754
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [23] => Array
                (
                    [x] => -33.7445
                    [y] => -23.2359
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 4.92948
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [24] => Array
                (
                    [x] => -17.7431
                    [y] => -46.6805
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 6.25725
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [25] => Array
                (
                    [x] => 36.4347
                    [y] => -33.4532
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.37115
                    [file] => Doodads\Dungeon\Props\JunkPile\JunkPile0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [26] => Array
                (
                    [x] => 34.5186
                    [y] => -41.3678
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 2.18176
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [27] => Array
                (
                    [x] => -2.11627
                    [y] => 0.365526
                    [z] => 76.8
                    [scale] => 1
                    [rot] => 4.4855
                    [file] => Abilities\Spells\NightElf\FaerieDragonInvis\FaerieDragon_Invis.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType ashbringer_enchant_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
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Autocast
                    [code] => local Buff b = tower.getBuffOfType(ashbringer_enchant_buff)
    local integer level = R2I((0.5 + (tower.getLevel() * 0.01)) / 0.001)
    local real duration = 6 + (tower.getLevel() * 0.24)
    
    if b != 0 then
        set duration = duration + b.getRemainingDuration()
    endif
    
    call ashbringer_enchant_buff.applyCustomTimed(tower, tower, level, duration)
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 4
                            [AUTOCAST_autoRange] => 875
                            [AUTOCAST_manacost] => 40
                            [icon] => ReplaceableTextures\CommandButtons\BTNBash.blp
                            [AUTOCAST_range] => 950
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => Abilities\Spells\Items\AIil\AIilTarget.mdl
                            [long_explain] => Increases attack speed by |cffFFFF8050%|r for |cffFFFF806|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1%|r attack speed|n|cffFFFF80+0.24|r seconds duration
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Flurry
                            [AUTOCAST_targetSelf] => true
                            [short_explain] => Increases attack speed for a few seconds.
                        )

                )

            [2] => Array
                (
                    [name] => On Tower Creation
                    [code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(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] => BuffType
                    [name] => ashbringer_enchant_buff
                )

        )

    [lightning] => Array
        (
        )

)