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

            [Art] => ReplaceableTextures\CommandButtons\BTNSpell_Nature_TimeStop.blp
            [dmgplus1] => 801
            [bldtm] => 1
            [goldcost] => 3150
            [unitSound] => HauntedMine
            [sides1] => 1
            [manaN] => 125
            [acquire] => 900
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Chronosphere
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => .mdl
            [uberSplat] => YTDG
            [Missileart] => Abilities\Spells\Human\ManaFlare\ManaFlareMissile.mdl
            [Missilespeed] => 1300
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 1
            [rangeN1] => 900
            [atkType1] => normal
            [cool1] => 2
            [Ubertip] => A contained sphere of inverted relativity.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

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

            [abil_factor] => 0.1
            [author] => Ashbringer
            [alpha] => 0
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => arcane
            [rarity] => unique
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.177112
                    [y] => -35.6674
                    [z] => -19.2
                    [scale] => 0.25
                    [rot] => 1.72549
                    [file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -0.197252
                    [y] => -0.0908126
                    [z] => -0.000000953674
                    [scale] => 0.2
                    [rot] => 1.6345
                    [file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -0.12581
                    [y] => -0.0627936
                    [z] => 57.6
                    [scale] => 0.47
                    [rot] => 5.74213
                    [file] => Abilities\Spells\Orc\ReinforcedTrollBurrow\ReinforcedTrollBurrowTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -3.14
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -0.0838115
                    [y] => 0.0531362
                    [z] => 19.2
                    [scale] => 1.5
                    [rot] => 4.71239
                    [file] => Abilities\Spells\Items\AIta\CrystalBallCaster.mdl
                    [red] => 1
                    [green] => 115
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => -0.0364119
                    [y] => -0.471217
                    [z] => 19.2
                    [scale] => 1.5
                    [rot] => 4.71239
                    [file] => Abilities\Spells\Items\AIta\CrystalBallCaster.mdl
                    [red] => 1
                    [green] => 115
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => 0.00445298
                    [y] => -0.0675353
                    [z] => 64
                    [scale] => 1.2
                    [rot] => 4.71239
                    [file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => 0.0611961
                    [y] => 0.0454502
                    [z] => 64
                    [scale] => 1.2
                    [rot] => 1.5708
                    [file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -0.162802
                    [y] => 1.39614
                    [z] => 57.6
                    [scale] => 0.47
                    [rot] => 4.95674
                    [file] => Abilities\Spells\Orc\ReinforcedTrollBurrow\ReinforcedTrollBurrowTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -3.14
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -0.290863
                    [y] => 0.125949
                    [z] => 64
                    [scale] => 1.2
                    [rot] => 3.14159
                    [file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 19.3926
                    [y] => -0.00654161
                    [z] => -12.8
                    [scale] => 0.1
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 25
                    [green] => 115
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -5.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => -19.7158
                    [y] => 0.036122
                    [z] => -12.8
                    [scale] => 0.1
                    [rot] => 3.14159
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 25
                    [green] => 115
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -5.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => -0.497931
                    [y] => -19.5497
                    [z] => -12.8
                    [scale] => 0.1
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 25
                    [green] => 115
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -5.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -0.455267
                    [y] => 19.5587
                    [z] => -12.8
                    [scale] => 0.1
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 25
                    [green] => 115
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -5.5
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => -0.177872
                    [y] => 0.0692163
                    [z] => 64
                    [scale] => 1.2
                    [rot] => 0.000000119209
                    [file] => Abilities\Spells\NightElf\SpiritOfVengeance\SpiritOfVengeanceOrbs1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => -0.0474224
                    [y] => 1.00338
                    [z] => 32
                    [scale] => 0.75
                    [rot] => 4.71239
                    [file] => Abilities\Spells\Human\DevotionAura\DevotionAura.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 122
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => -0.486555
                    [y] => -20.9961
                    [z] => -25.6
                    [scale] => 0.15
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => 0.379763
                    [y] => 21.3036
                    [z] => -25.6
                    [scale] => 0.15
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => 43.4719
                    [y] => -43.051
                    [z] => -12.8
                    [scale] => 0.25
                    [rot] => 2.3747
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [18] => Array
                (
                    [x] => -43.3496
                    [y] => -42.936
                    [z] => -12.8
                    [scale] => 0.25
                    [rot] => 0.76329
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [19] => Array
                (
                    [x] => -43.2243
                    [y] => 43.1243
                    [z] => -12.8
                    [scale] => 0.25
                    [rot] => 5.48582
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [20] => Array
                (
                    [x] => 46.1162
                    [y] => 45.4682
                    [z] => -12.8
                    [scale] => 0.25
                    [rot] => 3.93584
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -0.4
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [21] => Array
                (
                    [x] => 17.9811
                    [y] => -0.387874
                    [z] => 0
                    [scale] => 0.13
                    [rot] => 3.14159
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [22] => Array
                (
                    [x] => -18.188
                    [y] => 0.462546
                    [z] => 0
                    [scale] => 0.13
                    [rot] => 0.000000119209
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [23] => Array
                (
                    [x] => 0.285013
                    [y] => 35.6198
                    [z] => -19.2
                    [scale] => 0.25
                    [rot] => 4.69993
                    [file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [24] => Array
                (
                    [x] => 37.9573
                    [y] => 0.228404
                    [z] => -19.2
                    [scale] => 0.25
                    [rot] => 1.72549
                    [file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [25] => Array
                (
                    [x] => -36.9986
                    [y] => 0.636344
                    [z] => -19.2
                    [scale] => 0.25
                    [rot] => 1.72549
                    [file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 85
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [26] => Array
                (
                    [x] => -0.0141602
                    [y] => -0.103166
                    [z] => 57.6
                    [scale] => 2.55
                    [rot] => 4.71239
                    [file] => Abilities\Spells\Human\ManaFlare\ManaFlareTarget.mdl
                    [red] => 255
                    [green] => 55
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -3.14
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local integer UID = tower.getUID()
    local real duration = 4 + (tower.getLevel() * 0.08) 
    
    set tower.userInt = tower.userInt + 1
    call tower.refreshAuras()
    call TriggerSleepAction(duration * tower.getProp_BuffDuration())
    if tower.getUID() == UID then
        set tower.userInt = tower.userInt - 1
        call tower.refreshAuras()
    endif
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [ONATTACK_chance] => 0.1
                            [ONATTACK_chanceLevelAdd] => 0.004
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@export
        BuffType ashbringer_echo_aura
        BuffType ashbringer_warp_aura1
        BuffType ashbringer_warp_aura2
        BuffType ashbringer_chrono_buff
    endglobals
    
    function ashbringer_echo_oncast takes Buff b returns nothing
        local AutocastType ac = Event.getAutocastType()
        local Tower tower = b.getCaster()
        local Tower target = b.getBuffedUnit()
        local real chance = 0.05 + (tower.getLevel() * 0.001)
        
        if target.calcChance(chance) and ac.getCooldown()>=2.0 and not Event.getAutocastType().isItemAutocast() then
            call Effect.createScaled("Abilities\\Spells\\Human\\ControlMagic\\ControlMagicTarget.mdl", target.getX(), target.getY(), 120, 270, 1.5).setLifetime(3.0)
            call TriggerSleepAction(0.1)
            call target.addMana(ac.getManacost())
            call target.resetCooldowns()
        endif
    endfunction
    
    function ashbringer_chrono_cleanup takes Buff b returns nothing
        local Creep c = b.getBuffedUnit()
        
        if c.getUID() == b.userInt then
            call Effect.createSimpleAtUnit("Abilities\\Spells\\NightElf\\Blink\\BlinkTarget.mdl", c).setLifetime(2.0)
            call SetUnitX(c.getUnit(), b.userReal)
            call SetUnitY(c.getUnit(), b.userReal2)
            call Effect.createSimple("Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl", b.userReal, b.userReal2).setLifetime(2.0)
        endif
    endfunction

    private function ashbringer_warp_refresh takes Buff b returns nothing
        local Tower tower = b.getCaster()
        local Effect e = tower.userInt2
        
        call e.setAnimationSpeed(0.4 + (0.4 * I2R(tower.userInt)))
        call b.setPower(tower.userInt)
    endfunction
    
    //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_echo_aura = BuffType.createAuraEffectType(true)
        call ashbringer_echo_aura.setBuffIcon('@@0@@')
        call ashbringer_echo_aura.addEventOnSpellCast(ashbringer_echo_oncast)
        
        set ashbringer_warp_aura1 = BuffType.createAuraEffectType(true)
        call ashbringer_warp_aura1.setBuffIcon('@@1@@')
        call mod.addModification(MOD_ATTACKSPEED, 0.04, 0.02)
        call ashbringer_warp_aura1.setBuffModifier(mod)
        call ashbringer_warp_aura1.setEventOnRefresh(ashbringer_warp_refresh)
        
        set mod = Modifier.create()
        set ashbringer_warp_aura2 = BuffType.createAuraEffectType(false)
        call ashbringer_warp_aura2.setBuffIcon('@@3@@')
        call mod.addModification(MOD_MOVESPEED, -0.04, -0.02)
        call ashbringer_warp_aura2.setBuffModifier(mod)
        call ashbringer_warp_aura2.setEventOnRefresh(ashbringer_warp_refresh)
        
        set ashbringer_chrono_buff = BuffType.create(2, 0.04, true)
        call ashbringer_chrono_buff.setBuffIcon('@@2@@')
        call ashbringer_chrono_buff.addEventOnCleanup(ashbringer_chrono_cleanup)
    endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

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

                )

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

                    [values] => Array
                        (
                            [AURA_powerAdd] => 1
                            [visible] => true
                            [AURA_auraEffect] => ashbringer_echo_aura
                            [AURA_levelAdd] => 1
                            [AURA_power] => 25
                            [icon] => ReplaceableTextures\CommandButtons\BTNGenericSpellImmunity.blp
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [long_explain] => Towers within |cffffff80450|r range have a |cffffff805%|r chance on spell cast to have the spell mana cost refunded and all cooldowns reset. Does not affect cooldowns shorter than |cffffff802|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.1%|r chance
                            [AURA_targetSelf] => true
                            [name] => Spell Echo
                            [AURA_level] => 0
                            [short_explain] => Nearby towers have a chance to reset cooldowns and regain mana when they cast a spell.
                            [AURA_auraRange] => 450
                        )

                )

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

                    [values] => Array
                        (
                            [AURA_powerAdd] => 0
                            [visible] => true
                            [AURA_auraEffect] => ashbringer_warp_aura1
                            [AURA_levelAdd] => 0
                            [AURA_power] => 0
                            [icon] => ReplaceableTextures\CommandButtons\BTNTimeWarp.blp
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [long_explain] => Towers in |cffffff80450|r range and enemies in |cffffff80900|r range are affected by Time Warp, increasing attack speed or reducing movement speed by |cffffff804%|r respectively. The Chronosphere has a |cffffff8010%|r chance on attack to amplify the effect of Time Warp by |cffffff802%|r for |cffffff804|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+0.08|r seconds amplify
                            [AURA_targetSelf] => true
                            [name] => Time Warp
                            [AURA_level] => 0
                            [short_explain] => Increases the attack speed of towers and reduces the movement speed of enemies in range.
                            [AURA_auraRange] => 450
                        )

                )

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

                    [values] => Array
                        (
                            [AURA_powerAdd] => 0
                            [visible] => false
                            [AURA_auraEffect] => ashbringer_warp_aura2
                            [AURA_levelAdd] => 0
                            [AURA_power] => 0
                            [icon] => 
                            [AURA_targetType] => TARGET_TYPE_CREEPS
                            [long_explain] => 
                            [AURA_targetSelf] => false
                            [name] => Time Warp
                            [AURA_level] => 0
                            [short_explain] => 
                            [AURA_auraRange] => 900
                        )

                )

            [6] => Array
                (
                    [name] => Autocast
                    [code] => local Iterate i = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TYPE_CREEPS, 900)
    local Creep next
    local Buff b
    local real duration = 2 + (tower.getLevel() * 0.04)
    local real bx
    local real by
    
    loop
        set next = i.next()
        exitwhen next == 0
        set b = next.getBuffOfType(ashbringer_chrono_buff)
        if b != 0 then
            set bx = b.userReal
            set by = b.userReal2
            set b = ashbringer_chrono_buff.applyCustomTimed(tower, next, tower.getLevel(), duration + b.getRemainingDuration())
            set b.userInt = next.getUID()
            set b.userReal = bx
            set b.userReal2 = by
        else
            set b = ashbringer_chrono_buff.applyCustomTimed(tower, next, tower.getLevel(), duration)
            set b.userInt = next.getUID()
            set b.userReal = next.getX()
            set b.userReal2 = next.getY()
            //call Effect.createSimpleAtUnit("Abilities\\Spells\\NightElf\\Blink\\BlinkTarget.mdl", next).setLifetime(2.0)
        endif
        
    endloop
    
    call Effect.createScaled("Abilities\\Spells\\Undead\\DeathPact\\DeathPactTarget.mdl", tower.getX(), tower.getY(), 70, 270.0, 2.0).setLifetime(3.0)
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 12
                            [AUTOCAST_autoRange] => 800
                            [AUTOCAST_manacost] => 100
                            [icon] => ReplaceableTextures\CommandButtons\BTNSpell_Nature_TimeStop.blp
                            [AUTOCAST_range] => 1000
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => 
                            [long_explain] => All enemies within attack range are moved |cffffff802|r seconds back in time after |cffffff802|r seconds delay. If cast again, the shift and delay are extended. Affected by buff duration.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.04|r seconds shift/delay
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Chrono Shift
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => All enemies in range are moved back in time after a delay.
                        )

                )

            [7] => Array
                (
                    [name] => On Tower Creation
                    [code] => local Effect e = Effect.createAnimatedScaled("war3mapImported\\ClockRune.mdx", tower.getX(), tower.getY(), 60, 270, 0.55)

    call e.setAnimationSpeed(0.4)
    set tower.userInt = 0
    set tower.userInt2 = e
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => Binf
                    [oeValues] => Array
                        (
                            [Targetattach] => Array
                                (
                                )

                            [Buffubertip] => Chance for spells to reset cooldown.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => Spell Echo
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNGenericSpellImmunity.blp
                        )

                )

            [1] => Array
                (
                    [id] => @@1@@
                    [derivedFrom] => Binf
                    [oeValues] => Array
                        (
                            [Targetattach] => Array
                                (
                                )

                            [Buffubertip] => Increased attack speed.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => Time Warp
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNTimeWarp.blp
                        )

                )

            [2] => Array
                (
                    [id] => @@2@@
                    [derivedFrom] => Binf
                    [oeValues] => Array
                        (
                            [Buffubertip] => Going back in time...
                            [TargetArt] => Abilities\Spells\Human\ManaFlare\ManaFlareTarget.mdl
                            [Bufftip] => Chrono Shift
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNSpell_Nature_TimeStop.blp
                        )

                )

            [3] => Array
                (
                    [id] => @@3@@
                    [derivedFrom] => Binf
                    [oeValues] => Array
                        (
                            [Targetattach] => Array
                                (
                                )

                            [Buffubertip] => Reduced movement speed.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => Time Warp
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNTimeWarp.blp
                        )

                )

        )

    [units] => Array
        (
        )

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

        )

    [lightning] => Array
        (
        )

)