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

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

            [Upgrade] => Array
                (
                )

            [Name] => Reforged Animated Armor
            [weapTp1] => missile
            [impactZ] => 60
            [file] => units\creeps\Revenant\Revenant.mdl
            [MissileHoming] => 1
            [Missilespeed] => 1200
            [Missileart] => Abilities\Weapons\GryphonRiderMissile\GryphonRiderMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 2.2
            [modelScale] => 0.61
            [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] => 0
        )

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

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

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -37.1924
                    [y] => 36.7256
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 5.49779
                    [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
                )

            [1] => Array
                (
                    [x] => 52.391
                    [y] => 28.0182
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 3.92699
                    [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
                )

            [2] => Array
                (
                    [x] => -0.285581
                    [y] => 0.477461
                    [z] => -83.2
                    [scale] => 0.9
                    [rot] => 4.71239
                    [file] => Doodads\Ruins\Props\RuinsPillar\RuinsPillar2.mdl
                    [red] => 115
                    [green] => 85
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -18.2377
                    [y] => -42.7034
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0.523599
                    [file] => Abilities\Weapons\Banditmissile\Banditmissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => -13.1481
                    [y] => -32.9674
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0.171769
                    [file] => Abilities\Weapons\Banditmissile\Banditmissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => 8.93081
                    [y] => -38.523
                    [z] => 6.4
                    [scale] => 0.25
                    [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
                )

            [6] => Array
                (
                    [x] => 19.2847
                    [y] => -27.0465
                    [z] => 6.4
                    [scale] => 0.25
                    [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
                )

            [7] => Array
                (
                    [x] => -11.8461
                    [y] => -43.2845
                    [z] => 6.4
                    [scale] => 0.25
                    [rot] => 4.69622
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -2.13413
                    [y] => -38.5302
                    [z] => 6.4
                    [scale] => 0.25
                    [rot] => 5.06538
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 25.9415
                    [y] => -52.4708
                    [z] => 6.4
                    [scale] => 0.25
                    [rot] => 4.36527
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => -4.08176
                    [y] => -44.0021
                    [z] => 6.4
                    [scale] => 0.25
                    [rot] => 5.19195
                    [file] => Abilities\Weapons\GuardTowerMissile\GuardTowerMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => -0.500473
                    [y] => 49.0606
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 1.5708
                    [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
                )

            [12] => Array
                (
                    [x] => 48.6134
                    [y] => -22.0452
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 5.63063
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => 44.5814
                    [y] => -17.481
                    [z] => 0
                    [scale] => 0.45
                    [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
                )

            [14] => Array
                (
                    [x] => -53.4269
                    [y] => -13.8281
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.68667
                    [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
                )

            [15] => Array
                (
                    [x] => -47.4098
                    [y] => 40.0089
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 2.35619
                    [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
                )

            [16] => Array
                (
                    [x] => 4.65118
                    [y] => 39.3915
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 4.71239
                    [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
                )

            [17] => Array
                (
                    [x] => 56.3529
                    [y] => 38.9981
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 0.785399
                    [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
                )

            [18] => Array
                (
                    [x] => -50.7794
                    [y] => -14.1184
                    [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
                )

            [19] => Array
                (
                    [x] => 0.0757104
                    [y] => 0.253974
                    [z] => -6.4
                    [scale] => 1.35
                    [rot] => 3.9619
                    [file] => Abilities\Spells\NightElf\FaerieDragonInvis\FaerieDragon_Invis.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [20] => Array
                (
                    [x] => 21.8105
                    [y] => -15.6598
                    [z] => -25.6
                    [scale] => 1
                    [rot] => 3.47321
                    [file] => Abilities\Spells\NightElf\FaerieDragonInvis\FaerieDragon_Invis.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 1
                    [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.4 + (tower.getLevel() * 0.008)) / 0.001)
    local real duration = 5 + (tower.getLevel() * 0.2)
    
    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 |cffFFFF8040%|r for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.8%|r attack speed|n|cffFFFF80+0.2|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(0))
                    [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
        (
        )

)