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

            [Art] => ReplaceableTextures\CommandButtons\BTNSacrificialPit.blp
            [dmgplus1] => 5710
            [bldtm] => 1
            [goldcost] => 2825
            [unitSound] => SacrificialAltar
            [sides1] => 1
            [Missilearc] => 0.6
            [launchZ] => 0
            [acquire] => 2500
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Necrotic Bombardier
            [weapTp1] => msplash
            [file] => Doodads\Cinematic\EyeOfSargeras\EyeOfSargeras.mdl
            [uberSplat] => YTDB
            [Missilespeed] => 1500
            [Missileart] => Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.45
            [rangeN1] => 2500
            [atkType1] => hero
            [cool1] => 10
            [Ubertip] => A volley of death and damnation.
            [scaleBull] => 0
            [blue] => 195
            [abilList] => Array
                (
                )

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

            [targs1] => ground
            [weapsOn] => 1
            [minRange] => 1250
            [teamColor] => 6
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF001250|r |cffFF0000minimum attack range|r|n|cffFF0000Attacks GROUND only|r|n|cffCCFF00Splash attack:|n   |cffFFFF00150|r AoE: |cff00FF00100%|r damage|r|n|cffFFFF00+3% |rattack speed/lvl
            [abil_factor] => 0.3
            [author] => Ashbringer
            [alpha] => 125
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => darkness
            [rarity] => uncommon
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -3.10147
                    [y] => -0.227176
                    [z] => 6.4
                    [scale] => 0.4
                    [rot] => 4.50295
                    [file] => buildings\undead\SacrificialPit\SacrificialPit.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => true
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -0.0775551
                    [y] => 0.157181
                    [z] => -25.6
                    [scale] => 2.1
                    [rot] => 4.67748
                    [file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => 0.00777869
                    [y] => -0.296935
                    [z] => -12.8
                    [scale] => 2.2
                    [rot] => 2.20388
                    [file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
                    [red] => 1
                    [green] => 255
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -33.1571
                    [y] => -29.4832
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 1.62316
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 51.298
                    [y] => 6.65581
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 1.45417
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -8.3472
                    [y] => -44.3084
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 5.10618
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => 28.4824
                    [y] => -39.7643
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.66814
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -48.5862
                    [y] => 1.07609
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 2.87962
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => 31.4892
                    [y] => -12.3321
                    [z] => 12.8
                    [scale] => 0.35
                    [rot] => 5.06091
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 44.2816
                    [y] => -36.4022
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 5.81561
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => 29.0106
                    [y] => 45.421
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0.509185
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => -1.23021
                    [y] => 1.57711
                    [z] => 32
                    [scale] => 0.25
                    [rot] => 4.50295
                    [file] => buildings\undead\SacrificialPit\SacrificialPit.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => true
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -31.7894
                    [y] => 41.5636
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0.9818
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => -30.8188
                    [y] => -20.6833
                    [z] => 19.2
                    [scale] => 0.35
                    [rot] => 3.70047
                    [file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

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

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local Creep target = Event.getTarget()
    local integer power = R2I((0.3 + (tower.getLevel() * 0.006)) / 0.001)
    local real debuff_dmg = 0.1 + (tower.getLevel() * 0.004)
    
    call ashbringer_mortar_launch(tower, target.getX(), target.getY(), 8, debuff_dmg, power, 40)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNOrbOfDeath.blp
                            [name] => Necrotic Volley
                            [short_explain] => Attacks bombard the area around the target with multiple projectiles.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 1.0
                            [long_explain] => Attacks bombard the area around the target with |cffffff808|r additional projectiles. The further away the enemy is, the greater the spread of the projectiles.
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType ashbringer_damned_buff
    endglobals
    
    //@import
    function ashbringer_mortar_launch takes Tower tower, real x, real y, integer count, real debuff_dmg, integer power, 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] => local Creep target = Event.getTarget()
    local Buff b
    local integer power = R2I((0.3 + (tower.getLevel() * 0.006)) / 0.001)
    local real debuff_dmg = tower.getCurrentAttackDamageWithBonus() * 0.1 + (tower.getLevel() * 0.004)
    
    set b = target.getBuffOfType(ashbringer_damned_buff)
    if b!=0 then
        set b.userInt = b.userInt + 1
        if debuff_dmg > b.userReal then
            set b.userReal = debuff_dmg
        endif
        if power > b.getPower() then
            call b.setPower(power)
        endif
        call b.refreshDuration()
    else
        set b = ashbringer_damned_buff.apply(tower, target, power)
        set b.userInt = 1
        set b.userInt2 = tower
        set b.userReal = debuff_dmg
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNDeathCoil.blp
                            [name] => Damned
                            [short_explain] => Enemies hit have reduced life regeneration and take stacking damage over time.
                            [ONDAMAGE_chanceLevelAdd] => 0
                            [long_explain] => Each volley hit inflicts a stack of damned on the enemy. Damned deals |cffffff8010%|r of attack damage per stack per second and reduces life regeneration by |cffffff8030%|r. Lasts |cffffff805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.4%|r of attack damage|n|cffffff80+0.6%|r life regeneration reduction|n|cffffff80+0.12|r seconds duration
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

    [lightning] => Array
        (
        )

)