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

            [Art] => ReplaceableTextures\CommandButtons\BTNSatyrTrickster.blp
            [turnRate] => 3
            [dmgplus1] => 1046
            [bldtm] => 1
            [goldcost] => 2100
            [unitSound] => Satyr
            [sides1] => 1
            [Missilearc] => 0.05
            [manaN] => 100
            [acquire] => 850
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Burning Hellcaller
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\creeps\SatyrTrickster\SatyrTrickster.mdl
            [uberSplat] => YTDB
            [Missileart] => Abilities\Weapons\DemonHunterMissile\DemonHunterMissile.mdl
            [Missilespeed] => 1400
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 2.1
            [modelScale] => 0.7
            [rangeN1] => 850
            [atkType1] => magic
            [cool1] => 1.7
            [Ubertip] => He was once a night elf, but centuries of practicing chaos magic has permanently disfigured his mind, body and soul.
            [scaleBull] => 0
            [abilList] => @@0@@
            [moveHeight] => 26
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
            [teamColor] => 6
        )

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

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

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 0.121471
                    [y] => 0.161476
                    [z] => 0.000000953674
                    [scale] => 0.9
                    [rot] => 4.64813
                    [file] => Doodads\BlackCitadel\Props\RuneArt\RuneArt1.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => 0.00692971
                    [y] => 0.0815944
                    [z] => -19.2
                    [scale] => 1.65
                    [rot] => 0.244346
                    [file] => war3mapImported\GeneralAuraTargetWhite.mdl
                    [red] => 115
                    [green] => 255
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -0.081094
                    [y] => 0.0376238
                    [z] => -19.2
                    [scale] => 1.65
                    [rot] => 0.244346
                    [file] => war3mapImported\GeneralAuraTargetWhite.mdl
                    [red] => 115
                    [green] => 255
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -0.101533
                    [y] => -0.00881797
                    [z] => -0.000000953674
                    [scale] => 1.05
                    [rot] => 3.3181
                    [file] => Doodads\Barrens\Rocks\Geyser\Geyser0.mdl
                    [red] => 55
                    [green] => 105
                    [blue] => 55
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 0.00353157
                    [y] => 0.039081
                    [z] => 6.4
                    [scale] => 1
                    [rot] => 1.23918
                    [file] => war3mapImported\ImmolationGreenDamage.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => 0.0250593
                    [y] => 0.0576206
                    [z] => -12.8
                    [scale] => 0.4
                    [rot] => 1.58855
                    [file] => Abilities\Spells\NightElf\Immolation\ImmolationTarget.mdl
                    [red] => 1
                    [green] => 1
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local real meteor_damage = 5250 + (tower.getLevel() * 210)
    local real stun = 0.5 + (tower.getLevel() * 0.02)
    
    call ashbringer_mark_trigger(tower, Event.getTarget(), meteor_damage, stun)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
                            [name] => Doom Brand
                            [short_explain] => Attacks have a chance to summon a fel meteor after a delay, which stuns and deals spell damage in an area.
                            [ONATTACK_chance] => 0.075
                            [ONATTACK_chanceLevelAdd] => 0.003
                            [long_explain] => Attacks have a |cffffff807.5%|r chance to brand the target for |cffffff803|r seconds. When the brand ends, the target will be stunned for |cffffff801|r second and a fel meteor is summoned at their location. The meteor lands after |cffffff801|r second, dealing |cffffff805250|r spell damage to enemies in |cffffff80300|r area and stunning them for |cffffff800.5|r seconds. Doom Brand can stack but the duration cannot be refreshed or extended.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.3%|r chance|n|cffFFFF80+210|r spell damage|n|cffFFFF80+0.02|r stun duration
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    endglobals
    
    //@import
    function ashbringer_mark_trigger takes Tower tower, Unit target, real meteor_damage, real stun returns nothing
    endfunction
    
    //@import
    function ashbringer_chaosrain_start takes Tower tower, Unit target, real duration, real initial_damage, real dot_damage, real dot_duration 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] => Autocast
                    [code] => local real initial_damage = 900 + (tower.getLevel() * 36)
    local real dot_damage = 225 + (tower.getLevel() * 9)
    
    call ashbringer_chaosrain_start(tower, Event.getTarget(), 5*tower.getProp_BuffDuration(), initial_damage, dot_damage, 5)
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 6
                            [AUTOCAST_autoRange] => 850
                            [AUTOCAST_manacost] => 80
                            [icon] => ReplaceableTextures\CommandButtons\BTNInfernal.blp
                            [AUTOCAST_range] => 850
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => 
                            [long_explain] => Calls down |cffFFFF805|r waves of felfire over |cffFFFF805|r seconds. Each wave deals |cffFFFF80900|r initial spell damage to enemies in |cffFFFF80300|r range and sets them aflame, dealing |cffFFFF80225|r spell damage per second for |cffFFFF805|r seconds. Number of waves is increased by buff duration and the damage over time can stack.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+36|r initial spell damage|n|cffFFFF80+9|r spell damage per second
                            [target_art] => 
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_UNIT
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => false
                            [name] => Rain of Chaos
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Calls down waves of felfire over an area, dealing spell damage.
                        )

                )

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

                )

        )

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

                            [Targetattach1] => Array
                                (
                                )

                            [Untip] => -HIDE-
                            [Targetattach2] => Array
                                (
                                )

                            [Targetattachcount] => 1
                            [Missileart] => Abilities\Weapons\DemonHunterMissile\DemonHunterMissile.mdl
                            [Unubertip] => -HIDE-
                            [Tip] => -HIDE-
                            [Cool1] => 0.01
                            [Name] => Chaos Sphere
                        )

                )

        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

    [lightning] => Array
        (
        )

)