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

            [Art] => ReplaceableTextures\CommandButtons\BTNImmolationOn.blp
            [turnRate] => 3
            [dmgplus1] => 3126
            [bldtm] => 1
            [goldcost] => 3750
            [unitSound] => Sorceress
            [sides1] => 1
            [Missilearc] => 0.1
            [launchZ] => 70
            [acquire] => 1100
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Grand Pyromancer
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\human\Sorceress\Sorceress_V1.mdl
            [uberSplat] => YTDI
            [Missilespeed] => 1600
            [Missileart] => Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.8
            [rangeN1] => 1100
            [atkType1] => pierce
            [cool1] => 2.4
            [Ubertip] => Recovering from pyromania.
            [scaleBull] => 0
            [abilList] => @@0@@
            [moveHeight] => 35
            [customTeamColor] => 1
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
            [teamColor] => 0
            [castpt] => 0.45
        )

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

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

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -27.2921
                    [y] => -40.274
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -39.2688
                    [y] => -28.6979
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -39.6801
                    [y] => 27.5199
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 3.14159
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -28.104
                    [y] => 39.4965
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 39.4373
                    [y] => -27.6951
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.000000357628
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => 27.8612
                    [y] => -39.6718
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => 27.4612
                    [y] => 39.8001
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => 39.4378
                    [y] => 28.224
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 3.14159
                    [file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -0.107604
                    [y] => -42.88
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => -21.5688
                    [y] => -22.7586
                    [z] => -6.4
                    [scale] => 0.31
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCapWithoutLantern\City_LowWall_TallEndCapWithoutLantern.mdl
                    [red] => 125
                    [green] => 125
                    [blue] => 125
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => 0.353761
                    [y] => 42.0713
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => -22.019
                    [y] => 22.1883
                    [z] => -6.4
                    [scale] => 0.31
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCapWithoutLantern\City_LowWall_TallEndCapWithoutLantern.mdl
                    [red] => 125
                    [green] => 125
                    [blue] => 125
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -42.7502
                    [y] => -0.385703
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => 42.0639
                    [y] => -0.024146
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => 19.3949
                    [y] => 0.0746911
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => 0.609057
                    [y] => 20.3317
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => 21.9696
                    [y] => 22.0171
                    [z] => -6.4
                    [scale] => 0.31
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCapWithoutLantern\City_LowWall_TallEndCapWithoutLantern.mdl
                    [red] => 125
                    [green] => 125
                    [blue] => 125
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [17] => Array
                (
                    [x] => 0.625089
                    [y] => -20.8801
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [18] => Array
                (
                    [x] => -20.3492
                    [y] => -0.62893
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [19] => Array
                (
                    [x] => 0.0094084
                    [y] => 0.161566
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
                    [red] => 115
                    [green] => 115
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [20] => Array
                (
                    [x] => -38.4416
                    [y] => -39.7392
                    [z] => 19.2
                    [scale] => 0.15
                    [rot] => 0
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [21] => Array
                (
                    [x] => 39.049
                    [y] => -39.2797
                    [z] => 19.2
                    [scale] => 0.15
                    [rot] => 0
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [22] => Array
                (
                    [x] => 38.902
                    [y] => 39.4857
                    [z] => 19.2
                    [scale] => 0.15
                    [rot] => 0
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [23] => Array
                (
                    [x] => -39.1437
                    [y] => 38.9987
                    [z] => 19.2
                    [scale] => 0.15
                    [rot] => 0
                    [file] => Doodads\Cityscape\Props\City_Oblisk\City_Oblisk.mdl
                    [red] => 25
                    [green] => 25
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [24] => Array
                (
                    [x] => -0.483044
                    [y] => -12.6498
                    [z] => -6.4
                    [scale] => 0.1
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 255
                    [green] => 155
                    [blue] => 5
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [25] => Array
                (
                    [x] => 0.384989
                    [y] => 14.5702
                    [z] => -6.4
                    [scale] => 0.1
                    [rot] => 4.71239
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 255
                    [green] => 155
                    [blue] => 5
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [26] => Array
                (
                    [x] => -21.1169
                    [y] => -40.7957
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\LordaeronSummer\Props\Brazier\Brazier
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [27] => Array
                (
                    [x] => 21.8908
                    [y] => -39.6429
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\LordaeronSummer\Props\Brazier\Brazier
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [28] => Array
                (
                    [x] => 21.6115
                    [y] => 39.0407
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\LordaeronSummer\Props\Brazier\Brazier
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [29] => Array
                (
                    [x] => -20.2235
                    [y] => 39.2747
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\LordaeronSummer\Props\Brazier\Brazier
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [30] => Array
                (
                    [x] => -39.9908
                    [y] => 21.1561
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 0.000000119209
                    [file] => Doodads\LordaeronSummer\Props\Brazier\Brazier
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [31] => Array
                (
                    [x] => -39.7468
                    [y] => -22.5207
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 0.000000119209
                    [file] => Doodads\LordaeronSummer\Props\Brazier\Brazier
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [32] => Array
                (
                    [x] => 38.7282
                    [y] => -21.4254
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 0.000000119209
                    [file] => Doodads\LordaeronSummer\Props\Brazier\Brazier
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [33] => Array
                (
                    [x] => 39.0935
                    [y] => 21.5577
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 0.000000119209
                    [file] => Doodads\LordaeronSummer\Props\Brazier\Brazier
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [34] => Array
                (
                    [x] => -0.0905662
                    [y] => 0.0970049
                    [z] => 38.4
                    [scale] => 0.4
                    [rot] => 2.65874
                    [file] => buildings\other\CircleOfPower\CircleOfPower.mdl
                    [red] => 255
                    [green] => 1
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [35] => Array
                (
                    [x] => -0.0414517
                    [y] => 0.364654
                    [z] => 44.8
                    [scale] => 0.75
                    [rot] => 1.90241
                    [file] => Abilities\Spells\Undead\Possession\PossessionCaster.mdl
                    [red] => 255
                    [green] => 155
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [36] => Array
                (
                    [x] => -0.486605
                    [y] => -42.2857
                    [z] => 25.6
                    [scale] => 0.25
                    [rot] => 1.58892
                    [file] => war3mapImported\RuneOrc1.mdl
                    [red] => 255
                    [green] => 115
                    [blue] => 5
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [37] => Array
                (
                    [x] => 41.2405
                    [y] => -0.143938
                    [z] => 25.6
                    [scale] => 0.25
                    [rot] => 3.01609
                    [file] => war3mapImported\RuneOrc1.mdl
                    [red] => 255
                    [green] => 115
                    [blue] => 5
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [38] => Array
                (
                    [x] => -0.388422
                    [y] => 42.2146
                    [z] => 25.6
                    [scale] => 0.25
                    [rot] => 4.68645
                    [file] => war3mapImported\RuneOrc1.mdl
                    [red] => 255
                    [green] => 115
                    [blue] => 5
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [39] => Array
                (
                    [x] => -42.7545
                    [y] => -0.426721
                    [z] => 25.6
                    [scale] => 0.25
                    [rot] => 0.135753
                    [file] => war3mapImported\RuneOrc1.mdl
                    [red] => 255
                    [green] => 115
                    [blue] => 5
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [40] => Array
                (
                    [x] => 22.4565
                    [y] => -22.2493
                    [z] => -6.4
                    [scale] => 0.31
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCapWithoutLantern\City_LowWall_TallEndCapWithoutLantern.mdl
                    [red] => 125
                    [green] => 125
                    [blue] => 125
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local Creep target = Event.getTarget()
    local Projectile p
    local real spell_crit = tower.calcSpellCritNoBonus()
    
    if spell_crit > 1.0 then
        call ashbringer_fireblast(tower, target, spell_crit)
        set tower.userInt = tower.userInt + 1
    endif
    
    if tower.userInt >= 2 then
        set tower.userInt = tower.userInt - 2
        
        call Projectile.createFromUnitToUnit(ashbringer_pyroblast_missile, tower, 1.0, 1.0, tower, Event.getTarget(), true, false, false).setScale(1.3)
    endif
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNFireRocks.blp
                            [name] => Hot Streak
                            [short_explain] => Dealing two critical hits in succession casts a fiery boulder.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => Upon dealing |cffffff802|r critical hits in succession from either attacks, Fire Blast or Hot Streak, the next attack will throw an immense fiery boulder that deals attack damage plus |cffffff8015000|r |cffFF8000Elemental|r damage.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+300|r damage
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType ashbringer_ignite_buff
        BuffType ashbringer_combustion_buff
        ProjectileType ashbringer_pyroblast_missile
    endglobals
    
    function ashbringer_ignite_apply takes Tower tower, Unit target, real damage returns Buff
        local Buff b = target.getBuffOfType(ashbringer_ignite_buff)
        
        set damage = damage * (0.2 + (tower.getLevel() * 0.008))

        if b != 0 then
            set b.userReal = b.userReal + damage
            set b.userInt = 5
            call b.refreshDuration()
        else
            set b = ashbringer_ignite_buff.apply(tower, target, 1)
            set b.userReal = damage
            set b.userInt = 5
        endif
        
        return b
    endfunction
    
    function ashbringer_fireblast takes Tower tower, Creep target, real crit returns nothing
        local Iterate i = Iterate.overUnitsInRangeOfUnit(tower, TARGET_TYPE_CREEPS, target, 300)
        local Unit next
        local Buff b
        local real damage = tower.getCurrentAttackDamageWithBonus() * (0.25 + (tower.getLevel() * 0.01)) * tower.getProp_SpellDmgDealt()
        
        if not target.isImmune() then
            call Effect.createSimpleOnUnit("Abilities\\Spells\\Other\\Incinerate\\FireLordDeathExplode.mdl", target, "origin").destroy()
            call tower.doSpellDamage(target, damage, crit)
            set b = ashbringer_ignite_apply(tower, target, damage * crit)
            
            if b!=0 then
                set damage = b.userReal
                loop
                    set next = i.next()
                    exitwhen next == 0
                    if next != target then
                        call ashbringer_ignite_apply(tower, next, damage)
                    endif
                endloop
            endif
        endif
    endfunction
    
    function ashbringer_pyroblast_hit takes Projectile p, Creep target returns nothing
        local Tower tower = p.getCaster()
        local real crit = tower.calcAttackMulticrit(0, 0, 0)
        local real damage = tower.getCurrentAttackDamageWithBonus() + 15000 + (tower.getLevel() * 300)
        
        call tower.doCustomAttackDamage(target, damage, crit, AttackType.ELEMENTAL)
        if crit > 1.0 then
            call ashbringer_ignite_apply(tower, target, damage * crit)
            set tower.userInt = tower.userInt + 1
        endif
    endfunction
    
    function ashbringer_ignite_periodic takes Buff b returns nothing
        local Tower tower = b.getCaster()
        local Creep target = b.getBuffedUnit()
        local real damage
        
        if b.userInt > 0 and b.userReal > 0 then
            set damage = b.userReal / b.userInt
            call tower.doCustomAttackDamage(target, damage, 1.0, AttackType.ELEMENTAL)
            set b.userInt = b.userInt - 1
            set b.userReal = b.userReal - damage
        endif
    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_ignite_buff = BuffType.create(5.1, 0.0, false)
        call ashbringer_ignite_buff.setBuffIcon('@@1@@')
        call ashbringer_ignite_buff.addPeriodicEvent(ashbringer_ignite_periodic, 1.0)
        
        set ashbringer_combustion_buff = BuffType.create(5, 0.1, true)
        call ashbringer_combustion_buff.setBuffIcon('@@2@@')
        call mod.addModification(MOD_ATK_CRIT_CHANCE, 1.0, 0.0)
        call mod.addModification(MOD_SPELL_CRIT_CHANCE, 1.0, 0.0)
        call ashbringer_combustion_buff.setBuffModifier(mod)
        
        set ashbringer_pyroblast_missile = ProjectileType.create("Abilities\\Spells\\Other\\Volcano\\VolcanoMissile.mdl", 5.0, 1000)
        call ashbringer_pyroblast_missile.enableHoming(ashbringer_pyroblast_hit, 0.0)
    endfunction
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNFire.blp
                            [name] => Fire Blast
                            [short_explain] => Attacks have a chance equal to spell crit chance to do additional attack damage as spell damage and spread Ignite to additional enemies.
                            [long_explain] => Attacks roll for a spell crit. If successful, critically blast the target for |cffffff8025%|r of attack damage as spell damage. Fire Blast will then spread any ignite damage on the target to enemies within |cffffff80300|r range.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+1%|r of attack damage
                        )

                )

            [2] => Array
                (
                    [name] => On Damage
                    [code] => if Event.isAttackDamageCritical() then
        set tower.userInt = tower.userInt + 1
     
        call ashbringer_ignite_apply(tower, Event.getTarget(), tower.getCurrentAttackDamageWithBonus() * Event.getCriticalMultiplier())
    else
        set tower.userInt = 0
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNIncinerate.blp
                            [name] => Ignite
                            [short_explain] => Critical hits deal additional damage over time.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => Critical hits from attacks and abilities ignite the target, causing an additional |cffffff8020%|r of the damage dealt over |cffffff805|r seconds. Ignite damage can accumulate but cannot crit.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.8%|r of damage dealt
                        )

                )

            [3] => Array
                (
                    [name] => Autocast
                    [code] => call ashbringer_combustion_buff.apply(tower, tower, tower.getLevel())
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 40
                            [AUTOCAST_autoRange] => 1000
                            [AUTOCAST_manacost] => 0
                            [icon] => ReplaceableTextures\CommandButtons\BTNSpell_Fire_SealOfFire.blp
                            [AUTOCAST_range] => 1100
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => Abilities\Spells\Other\Doom\DoomDeath.mdl
                            [long_explain] => Increases attack and spell critical strike chance by |cffffff80100%|r for |cffffff805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.1|r seconds duration
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Combustion
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Deal guaranteed crits for a few seconds.
                        )

                )

            [4] => Array
                (
                    [name] => On Tower Creation
                    [code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(0))
    set tower.userInt = 0
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => Asph
                    [oeValues] => Array
                        (
                            [Ubertip] => -HIDE-
                            [Targetattach] => hand,left
                            [Art] => Array
                                (
                                )

                            [Targetattach1] => hand,right
                            [Targetattach2] => Array
                                (
                                )

                            [TargetArt] => Abilities\Weapons\FireBallMissile\FireBallMissile.mdl,Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
                            [Targetattachcount] => 2
                            [Missileart] => Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
                            [Unubertip] => -HIDE-
                            [Cool1] => 0.01
                            [Name] => Archmage Weapon FX
                        )

                )

        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@1@@
                    [derivedFrom] => BHab
                    [oeValues] => Array
                        (
                            [Buffubertip] => Taking damage over time.
                            [TargetArt] => Environment\LargeBuildingFire\LargeBuildingFire2.mdl
                            [Bufftip] => Ignite
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNIncinerate.blp
                        )

                )

            [1] => Array
                (
                    [id] => @@2@@
                    [derivedFrom] => BHab
                    [oeValues] => Array
                        (
                            [Targetattach] => chest
                            [Buffubertip] => Guaranteed critical strikes.
                            [TargetArt] => Abilities\Spells\Other\ImmolationRed\ImmolationRedTarget.mdl
                            [Bufftip] => Combustion
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNSpell_Fire_SealOfFire.blp
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

    [lightning] => Array
        (
        )

)