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

            [Art] => ReplaceableTextures\CommandButtons\BTNSoul Rune.blp
            [dmgplus1] => 2205
            [bldtm] => 1
            [goldcost] => 2400
            [unitSound] => ShrineOfAzshara
            [sides1] => 1
            [Missilearc] => 0.1
            [manaN] => 90
            [acquire] => 900
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Dazzling Glowing Rune
            [weapTp1] => missile
            [file] => war3mapImported\RuneOrc1.mdl
            [uberSplat] => YTDG
            [Missilespeed] => 800
            [Missileart] => Abilities\Spells\Undead\DevourMagic\DevourMagicBirthMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 7
            [green] => 0
            [modelScale] => 0.9
            [rangeN1] => 800
            [atkType1] => normal
            [cool1] => 2
            [Ubertip] => Humming with energy.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

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

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00+3% |rattackspeed/lvl|n|cffFFFF00+3% |rmana/lvl
            [abil_factor] => 0.4
            [author] => Ashbringer
            [alpha] => 255
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => arcane
            [rarity] => common
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.173409
                    [y] => -0.236727
                    [z] => -6.4
                    [scale] => 0.7
                    [rot] => 0
                    [file] => Abilities\Spells\Items\AIso\BIsvTarget.mdl
                    [red] => 255
                    [green] => 35
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => 0.479404
                    [y] => -0.519366
                    [z] => -12.8
                    [scale] => 0.45
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => 47.8507
                    [y] => -48.2283
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => 19.692
                    [y] => -0.119928
                    [z] => -12.8
                    [scale] => 0.35
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 0.691889
                    [y] => 18.5649
                    [z] => -12.8
                    [scale] => 0.35
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -19.1344
                    [y] => -1.06167
                    [z] => -12.8
                    [scale] => 0.35
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => -0.152657
                    [y] => -0.272374
                    [z] => -6.4
                    [scale] => 0.7
                    [rot] => 3.14159
                    [file] => Abilities\Spells\Items\AIso\BIsvTarget.mdl
                    [red] => 255
                    [green] => 35
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -18.0179
                    [y] => 0.723393
                    [z] => 0
                    [scale] => 0.12
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => 17.754
                    [y] => -0.031123
                    [z] => 0
                    [scale] => 0.12
                    [rot] => 3.14159
                    [file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 0.245338
                    [y] => 18.2321
                    [z] => 0
                    [scale] => 0.12
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => -0.509179
                    [y] => -17.5398
                    [z] => 0
                    [scale] => 0.12
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => 48.3561
                    [y] => -48.4911
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 2.39643
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes7.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 205
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => 50.4291
                    [y] => 48.3304
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 3.91657
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes7.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 205
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => -47.5268
                    [y] => 47.3314
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 5.45821
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes7.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 205
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => 50.537
                    [y] => 48.3946
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => -47.261
                    [y] => 47.5464
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => -48.3608
                    [y] => -48.0685
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => 0.400006
                    [y] => -19.0559
                    [z] => -12.8
                    [scale] => 0.35
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 55
                    [green] => 25
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [18] => Array
                (
                    [x] => -48.2801
                    [y] => -48.5415
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0.777143
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes7.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 205
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_ATTACKSPEED
                    [base] => 0
                    [add] => 0.03
                )

            [1] => Array
                (
                    [id] => MOD_MANA_PERC
                    [base] => 0
                    [add] => 0.03
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => call ashbringer_fragment_attack(tower, Event.getTarget())
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNSoul Rune.blp
                            [name] => Rune Fragmentation
                            [short_explain] => Attacks can hit additional enemies at the cost of mana.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => Attacks hit additional enemies at the cost of |cffFFFF8010|r mana per extra projectile.
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    endglobals
    
    //@import
    function ashbringer_fragment_attack takes Tower tower, Creep target 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] => 
                        )

                )

            [2] => Array
                (
                    [name] => Periodic
                    [code] => local integer array rgb
    local integer adjust
    local integer direction
    
    set rgb[0] = R2I(tower.userReal)
    set rgb[1] = R2I(tower.userReal2)
    set rgb[2] = R2I(tower.userReal3)
    
    if ModuloInteger(tower.userInt, 2) == 1 then
        set direction = 1 * 15
    else
        set direction = -1 * 15
    endif
    
    set adjust = 2 - ModuloInteger(tower.userInt, 3)
    
    set rgb[adjust] = IMinBJ(255, IMaxBJ(0, rgb[adjust] + direction))
    if rgb[adjust] == 0 or rgb[adjust] == 255 then
        set tower.userInt = tower.userInt + 1
        if tower.userInt == 6 then
            set tower.userInt = 0
        endif
    endif
    set tower.userReal = rgb[0]
    set tower.userReal2 = rgb[1]
    set tower.userReal3 = rgb[2]
    
    call SetUnitVertexColor(tower.getUnit(), rgb[0], rgb[1], rgb[2], 255)
                    [values] => Array
                        (
                            [visible] => false
                            [PERIODIC_period] => 0.5
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [3] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userInt = 0
    set tower.userReal = 255
    set tower.userReal2 = 0
    set tower.userReal3 = 255
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

    [lightning] => Array
        (
        )

)