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

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

            [Upgrade] => Array
                (
                )

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

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

            [targs1] => Array
                (
                )

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

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

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

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -38.3916
                    [y] => -50.5081
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 0.836822
                    [file] => Doodads\LordaeronSummer\Props\Weapons\Weapons.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -15.8483
                    [y] => -43.3362
                    [z] => 6.4
                    [scale] => 0.4
                    [rot] => 0.0264773
                    [file] => Abilities\Weapons\Banditmissile\Banditmissile.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] => -64
                    [scale] => 0.65
                    [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] => -17.7202
                    [y] => -28.9426
                    [z] => 0
                    [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
                )

            [4] => Array
                (
                    [x] => -39.4144
                    [y] => 44.0133
                    [z] => -6.4
                    [scale] => 0.5
                    [rot] => 0.994838
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes8.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

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

            [7] => Array
                (
                    [x] => -43.2614
                    [y] => 49.4845
                    [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
                )

            [8] => Array
                (
                    [x] => -54.5534
                    [y] => -3.14238
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.98435
                    [file] => Doodads\Dungeon\Props\JunkPile\JunkPile0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 2.60194
                    [y] => 46.5732
                    [z] => 0
                    [scale] => 0.55
                    [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
                )

            [10] => Array
                (
                    [x] => 38.7136
                    [y] => 33.5298
                    [z] => 0
                    [scale] => 0.55
                    [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
                )

            [11] => 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
                )

            [12] => 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
                )

            [13] => Array
                (
                    [x] => -20.756
                    [y] => 9.73034
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 5.83494
                    [file] => Doodads\LordaeronSummer\Props\ArmorRack\ArmorRack.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -4.71
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        //@export
        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
        local Modifier mod = Modifier.create()
        
        set ashbringer_enchant_buff = BuffType.create(0.0, 0.0, true)
        call ashbringer_enchant_buff.setBuffIcon('@@0@@')
        call mod.addModification(MOD_ATTACKSPEED, 0.0, 0.001)
        call ashbringer_enchant_buff.setBuffModifier(mod)
    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.3 + (tower.getLevel() * 0.006)) / 0.001)
    local real duration = 4 + (tower.getLevel() * 0.16)
    
    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 |cffFFFF8030%|r for |cffFFFF804|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r attack speed|n|cffFFFF80+0.16|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(11))
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BNrd
                    [oeValues] => Array
                        (
                            [Targetattach] => weapon
                            [Buffubertip] => Attack speed is increased.
                            [TargetArt] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
                            [Bufftip] => Flurry
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNBash.blp
                        )

                )

        )

    [units] => Array
        (
        )

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

        )

    [lightning] => Array
        (
        )

)