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

            [Art] => ReplaceableTextures\CommandButtons\BTNArcaneFlame.blp
            [dmgplus1] => 2412
            [bldtm] => 1
            [goldcost] => 3150
            [unitSound] => MageTower
            [sides1] => 1
            [Missilearc] => 0.3
            [manaN] => 1750
            [launchZ] => 190
            [acquire] => 950
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Manaflare Spire
            [weapTp1] => msplash
            [file] => .mdl
            [uberSplat] => YTDG
            [Missilespeed] => 1500
            [Missileart] => war3mapImported\TwilightDragonMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.1
            [rangeN1] => 950
            [atkType1] => pierce
            [cool1] => 1.75
            [Ubertip] => For burning more than just mana.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffCCFF00Splash attack:|n   |cffFFFF00200|r AoE: |cff00FF00100%|r damage|r
            [abil_factor] => 0.6
            [author] => Ashbringer
            [alpha] => 0
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => arcane
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.211841
                    [y] => 0.163665
                    [z] => 0
                    [scale] => 0.6
                    [rot] => 5.49779
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 20
                    [green] => 20
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -1.07133
                    [y] => -0.290481
                    [z] => 102.4
                    [scale] => 0.5
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 1
                    [blue] => 75
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -0.0600059
                    [y] => 0.0680379
                    [z] => 198.4
                    [scale] => 2
                    [rot] => 4.85202
                    [file] => war3mapImported\TwilightRageTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => 0.0201634
                    [y] => -0.0973693
                    [z] => 140.8
                    [scale] => 0.55
                    [rot] => 4.70105
                    [file] => war3mapImported\TwilightImmolationTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 0.359831
                    [y] => 13.2715
                    [z] => 12.8
                    [scale] => 0.1
                    [rot] => 4.71239
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 45
                    [green] => 1
                    [blue] => 65
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -0.435656
                    [y] => -13.4234
                    [z] => 12.8
                    [scale] => 0.1
                    [rot] => 1.5708
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 45
                    [green] => 1
                    [blue] => 65
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => -0.459734
                    [y] => -17.3902
                    [z] => 6.4
                    [scale] => 0.13
                    [rot] => 1.5708
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 45
                    [green] => 1
                    [blue] => 65
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => 0.406271
                    [y] => 17.6849
                    [z] => 6.4
                    [scale] => 0.13
                    [rot] => 4.71239
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 45
                    [green] => 1
                    [blue] => 65
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => 0.466234
                    [y] => 21.8801
                    [z] => 0
                    [scale] => 0.16
                    [rot] => 4.71239
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 45
                    [green] => 1
                    [blue] => 65
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => -0.553576
                    [y] => -22.6269
                    [z] => 0
                    [scale] => 0.16
                    [rot] => 1.5708
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 45
                    [green] => 1
                    [blue] => 65
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => -0.0787883
                    [y] => 0.0456027
                    [z] => 57.6
                    [scale] => 1.2
                    [rot] => 1.56921
                    [file] => Abilities\Spells\Undead\Possession\PossessionCaster.mdl
                    [red] => 115
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => -0.152538
                    [y] => -0.288403
                    [z] => 38.4
                    [scale] => 1.8
                    [rot] => 5.1906
                    [file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
                    [red] => 85
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -3.14
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -11.4042
                    [y] => -12.0236
                    [z] => 12.8
                    [scale] => 0.21
                    [rot] => 3.92699
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 20
                    [green] => 1
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => -11.2619
                    [y] => 9.6843
                    [z] => 12.8
                    [scale] => 0.21
                    [rot] => 2.3562
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 20
                    [green] => 1
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => 10.6032
                    [y] => 10.2359
                    [z] => 12.8
                    [scale] => 0.21
                    [rot] => 0.785398
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 20
                    [green] => 1
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => -43.7818
                    [y] => -44.4872
                    [z] => -25.6
                    [scale] => 0.37
                    [rot] => 0.785398
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 1
                    [blue] => 75
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => 10.4387
                    [y] => -9.57156
                    [z] => 12.8
                    [scale] => 0.21
                    [rot] => 5.49779
                    [file] => war3mapImported\City_ColumnSemiCircle2.mdl
                    [red] => 20
                    [green] => 1
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => 43.7138
                    [y] => -45.1094
                    [z] => -25.6
                    [scale] => 0.37
                    [rot] => 2.3562
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 1
                    [blue] => 75
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [18] => Array
                (
                    [x] => -43.1767
                    [y] => 42.4686
                    [z] => -25.6
                    [scale] => 0.37
                    [rot] => 5.49779
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 1
                    [blue] => 75
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [19] => Array
                (
                    [x] => 42.7274
                    [y] => 42.5099
                    [z] => -25.6
                    [scale] => 0.37
                    [rot] => 3.92699
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
                    [red] => 75
                    [green] => 1
                    [blue] => 75
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [20] => Array
                (
                    [x] => 0.107957
                    [y] => 0.157514
                    [z] => 51.2
                    [scale] => 0.6
                    [rot] => 4.57276
                    [file] => war3mapImported\TwilightImmolationTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [21] => Array
                (
                    [x] => 0.058318
                    [y] => -0.155465
                    [z] => -32
                    [scale] => 0.9
                    [rot] => 4.57276
                    [file] => war3mapImported\TwilightImmolationTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [22] => Array
                (
                    [x] => 42.3302
                    [y] => -43.9096
                    [z] => 19.2
                    [scale] => 0.27
                    [rot] => 3.14159
                    [file] => Doodads\Icecrown\Props\IceTorch\IceTorch.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [23] => Array
                (
                    [x] => -43.1087
                    [y] => -42.3899
                    [z] => 19.2
                    [scale] => 0.27
                    [rot] => 1.5708
                    [file] => Doodads\Icecrown\Props\IceTorch\IceTorch.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [24] => Array
                (
                    [x] => -41.5196
                    [y] => 41.6938
                    [z] => 19.2
                    [scale] => 0.27
                    [rot] => 0
                    [file] => Doodads\Icecrown\Props\IceTorch\IceTorch.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [25] => Array
                (
                    [x] => 41.6099
                    [y] => 40.0326
                    [z] => 19.2
                    [scale] => 0.27
                    [rot] => 4.71239
                    [file] => Doodads\Icecrown\Props\IceTorch\IceTorch.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local real chance = 0.15 + (tower.getLevel() * 0.006)
    local real mana = 30 + (tower.getLevel() * 1.2)
    local real damage_per_mana = 150 + (tower.getLevel() * 6)
    call ashbringer_echo_launch(tower, tower.getUID(), Event.getTarget(), 5, chance, 190, mana, damage_per_mana)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNArcaneFlame.blp
                            [name] => Echoing Blaze
                            [short_explain] => Attacks have a chance to fire additional projectiles.
                            [ONATTACK_chance] => 0.15
                            [ONATTACK_chanceLevelAdd] => 0.006
                            [long_explain] => Attacks have a |cffffff8015%|r chance to fire an additional projectile at a random point near the target. Each additional projectile can trigger another, up to a maximum of |cffffff805|r times.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r chance
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        ProjectileType ashbringer_echo_missile
    endglobals
    
    //@import
    function ashbringer_manaflame_feedback takes Tower tower, Creep target, real mana, real damage returns nothing
    endfunction
    
    //@import
    function ashbringer_echo_launch takes Tower tower, integer UID, Creep target, integer max, real chance, real z, real mana, real damage_per_mana returns nothing
    endfunction
    
    //@import
    function ashbringer_echo_hit takes Projectile p returns nothing
    endfunction
    
    //@import
    function ashbringer_manaflare_cast takes Tower tower, real damage, real mana_perc, real damage_per_mana, real z 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] => On Damage
                    [code] => call ashbringer_manaflame_feedback(tower, Event.getTarget(), 30 + (tower.getLevel() * 1.2), 150 + (tower.getLevel() * 6))
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNFeedBack.blp
                            [name] => Siphon Burn
                            [short_explain] => Attacks burn mana and mana burnt is given to the tower.
                            [ONDAMAGE_chanceLevelAdd] => 0
                            [long_explain] => Attacks burn up to |cffffff8030|r mana from each enemy, dealing |cffffff80150|r spell damage per point of mana burnt. The tower gains mana equal to the amount of mana burnt. Immune enemies will lose mana but not take damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1.2|r mana burnt|n|cffFFFF80+6|r spell damage per mana
                        )

                )

            [3] => Array
                (
                    [name] => Autocast
                    [code] => local real damage = 12000 + (tower.getLevel() * 240)
    local real mana_perc = 0.125 + (tower.getLevel() * 0.004)
    local real damage_per_mana = 150 + (tower.getLevel() * 6)
    
    call ashbringer_manaflare_cast(tower, damage, mana_perc, damage_per_mana, 190)
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 8
                            [AUTOCAST_autoRange] => 800
                            [AUTOCAST_manacost] => 1500
                            [icon] => ReplaceableTextures\CommandButtons\BTNManaFlare.blp
                            [AUTOCAST_range] => 900
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => 
                            [long_explain] => Deals |cffffff8012000|r spell damage to all enemies within attack range. Additionally removes |cffffff8012.5%|r of each enemy's current mana and then deals |cffffff80150|r spell damage per point of their maximum mana they are missing. Immune enemies will lose mana but not take damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+240|r base spell damage|n|cffFFFF80+0.4%|r mana burnt|n|cffFFFF80+6|r spell damage per mana
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Mana Flare
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Inflicts a powerful mana burn on all enemies in attack range.
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => ProjectileType
                    [name] => ashbringer_echo_missile
                )

        )

    [lightning] => Array
        (
        )

)