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

            [Art] => ReplaceableTextures\CommandButtons\BTNInvisibility.blp
            [turnRate] => 3
            [dmgplus1] => 1108
            [bldtm] => 1
            [goldcost] => 1700
            [unitSound] => ElvenGuardTower
            [sides1] => 1
            [Missilearc] => 0.1
            [manaN] => 75
            [launchZ] => 75
            [acquire] => 1000
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Pristine Magic Mirror
            [weapTp1] => missile
            [impactZ] => 60
            [file] => war3mapImported\Mirror.mdl
            [uberSplat] => YTDG
            [Missilespeed] => 1200
            [Missileart] => Abilities\Weapons\DragonHawkMissile\DragonHawkMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 2
            [modelScale] => 0.75
            [rangeN1] => 1000
            [propWin] => 10
            [atkType1] => magic
            [cool1] => 2
            [Ubertip] => The reflection that stares back isn't you.
            [abilList] => Array
                (
                )

            [moveHeight] => 75
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

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

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

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.190361
                    [y] => 0.109515
                    [z] => -6.4
                    [scale] => 0.45
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -0.0453169
                    [y] => 0.21309
                    [z] => 89.6
                    [scale] => 0.9
                    [rot] => 0.0872665
                    [file] => Abilities\Spells\Human\Brilliance\Brilliance.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -0.21629
                    [y] => 0.188074
                    [z] => 57.6
                    [scale] => 0.9
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Props\MagicRunes\MagicRunes0.mdl
                    [red] => 1
                    [green] => 1
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => 0.346279
                    [y] => -34.8201
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 115
                    [green] => 55
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 0.201837
                    [y] => -0.072473
                    [z] => 32
                    [scale] => 0.37
                    [rot] => 2.3562
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -2.15
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -0.300757
                    [y] => 0.563101
                    [z] => 32
                    [scale] => 0.37
                    [rot] => 5.49779
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -2.15
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => -0.186484
                    [y] => 0.0351014
                    [z] => 32
                    [scale] => 0.37
                    [rot] => 3.92699
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -2.15
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -0.179938
                    [y] => -0.392282
                    [z] => 32
                    [scale] => 0.37
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -2.15
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => 35.6746
                    [y] => 0.290124
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 115
                    [green] => 55
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 0.38773
                    [y] => 35.2671
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 115
                    [green] => 55
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => -34.8786
                    [y] => -1.04336
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 115
                    [green] => 55
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => -0.134161
                    [y] => -0.0454712
                    [z] => 25.6
                    [scale] => 1.45
                    [rot] => 2.37365
                    [file] => Abilities\Spells\Undead\Possession\PossessionCaster.mdl
                    [red] => 55
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => 40.813
                    [y] => -40.2345
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => -41.6619
                    [y] => -41.6936
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => -41.2862
                    [y] => 41.3302
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => 40.9844
                    [y] => 39.652
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 75
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => -0.265547
                    [y] => -0.201753
                    [z] => 38.4
                    [scale] => 1
                    [rot] => 3.97935
                    [file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => -0.0329185
                    [y] => 0.0543742
                    [z] => -25.6
                    [scale] => 2.1
                    [rot] => 2.61799
                    [file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
                    [red] => 115
                    [green] => 115
                    [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_mirror_buff
        //@import
        BuffType ashbringer_reflect_buff
    endglobals
    
    //@import
    function ashbringer_mirror_cast takes Tower tower, Creep target, real duration, real chance returns nothing
    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
    endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

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

                    [values] => Array
                        (
                            [AURA_powerAdd] => 1
                            [visible] => true
                            [AURA_auraEffect] => ashbringer_reflect_buff
                            [AURA_levelAdd] => 1
                            [AURA_power] => 0
                            [icon] => ReplaceableTextures\CommandButtons\BTNGenericSpellImmunity.blp
                            [AURA_targetType] => TARGET_TYPE_CREEPS
                            [long_explain] => Enemies within |cffFFFF801250|r range will lose a percentage of their mana whenever they are damaged. The mana lost is equal to the percentage of health they lost from the damage taken.
                            [AURA_targetSelf] => false
                            [name] => Mana Reflection
                            [AURA_level] => 0
                            [short_explain] => Enemies within range lose mana when they take damage.
                            [AURA_auraRange] => 1250
                        )

                )

            [2] => Array
                (
                    [name] => Autocast
                    [code] => local real duration = 7.5 + (tower.getLevel() * 0.2)
    local real chance = 0.2 + (tower.getLevel() * 0.006)

    call ashbringer_mirror_cast(tower, Event.getTarget(), duration, chance)
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 2
                            [AUTOCAST_autoRange] => 1000
                            [AUTOCAST_manacost] => 40
                            [icon] => ReplaceableTextures\CommandButtons\BTNSoulGem.blp
                            [AUTOCAST_range] => 1000
                            [AUTOCAST_targetType] => TARGET_TYPE_CREEPS
                            [AUTOCAST_numBuffsBeforeIdle] => 1
                            [caster_art] => 
                            [long_explain] => Applies Fate Mirror to the target and to one other enemy in |cffFFFF80600|r range of the target, lasting |cffFFFF807.5|r seconds. Damage dealt to either enemy has a |cffFFFF8020%|r chance to be copied to the other as spell damage. If there isn't a second enemy, then Fate Mirror will copy damage to the creep that it is on. Copied damage is not affected by the Magic Mirror's stats and cannot crit.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2|r seconds duration|n|cffFFFF80+0.6%|r chance
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
                            [AUTOCAST_buffType] => ashbringer_mirror_buff
                            [AUTOCAST_isExtended] => false
                            [name] => Fate Mirror
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Links two enemies together, duplicating some of the damage they take.
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => ashbringer_mirror_buff
                )

            [1] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => ashbringer_reflect_buff
                )

        )

    [lightning] => Array
        (
        )

)