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

            [Art] => ReplaceableTextures\CommandButtons\BTNChaosWarlock.blp
            [turnRate] => 3
            [dmgplus1] => 1919
            [bldtm] => 1
            [goldcost] => 1750
            [unitSound] => Shaman
            [sides1] => 1
            [Missilearc] => 0.1
            [manaN] => 250
            [acquire] => 1000
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Flame Cult Zealot
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\demon\ChaosWarlock\ChaosWarlock.mdl
            [uberSplat] => YTDC
            [Missileart] => Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
            [Missilespeed] => 1400
            [dice1] => 1
            [RngBuff1] => 250
            [regenMana] => 5
            [modelScale] => 0.75
            [rangeN1] => 1000
            [atkType1] => pierce
            [cool1] => 1.8
            [Ubertip] => The Cult of the Flame are fanatics who seek to engulf the world in cleansing fire.
            [scaleBull] => 0
            [abilList] => Array
                (
                )

            [moveHeight] => 42
            [customTeamColor] => 1
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

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

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00+0.1 |rmana regen/lvl
            [abil_factor] => 0.6
            [author] => Ashbringer
            [alpha] => 255
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [element] => fire
            [rarity] => uncommon
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 21.3814
                    [y] => -0.472379
                    [z] => -19.2
                    [scale] => 0.15
                    [rot] => 3.14159
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 65
                    [green] => 35
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -21.5271
                    [y] => 0.194289
                    [z] => -19.2
                    [scale] => 0.15
                    [rot] => 0
                    [file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
                    [red] => 65
                    [green] => 35
                    [blue] => 25
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -0.0347462
                    [y] => -0.417968
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 1.5708
                    [file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
                    [red] => 65
                    [green] => 35
                    [blue] => 25
                    [alpha] => 205
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => 18.2079
                    [y] => 21.5996
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 0.929464
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal2.mdl
                    [red] => 255
                    [green] => 55
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => -1
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => -21.5106
                    [y] => -8.10993
                    [z] => 6.4
                    [scale] => 0.3
                    [rot] => 3.91566
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal2.mdl
                    [red] => 255
                    [green] => 55
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => -1
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -28.603
                    [y] => -33.4927
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 3.58267
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => 39.325
                    [y] => -13.448
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 2.07661
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => 40.0174
                    [y] => 14.5629
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 4.46275
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock1.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -42.2056
                    [y] => 17.2488
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.29234
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock1.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => -28.2944
                    [y] => -5.05175
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 5.73919
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock1.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => 5.73529
                    [y] => -40.6476
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 2.25912
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock1.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 115
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => 24.2804
                    [y] => -17.9123
                    [z] => 6.4
                    [scale] => 0.35
                    [rot] => -0.892582
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal3.mdl
                    [red] => 255
                    [green] => 55
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => -1
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -23.9059
                    [y] => 16.8595
                    [z] => 6.4
                    [scale] => 0.35
                    [rot] => 2.53487
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal3.mdl
                    [red] => 255
                    [green] => 55
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => -1
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => -0.135335
                    [y] => 0.0238113
                    [z] => 25.6
                    [scale] => 1.55
                    [rot] => 4.81711
                    [file] => war3mapImported\GeneralAuraTargetWhite.mdl
                    [red] => 255
                    [green] => 125
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => -0.0913683
                    [y] => -0.798962
                    [z] => 0
                    [scale] => 1.6
                    [rot] => 2.16421
                    [file] => Abilities\Spells\Human\FlameStrike\FlameStrikeEmbers.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => -0.117561
                    [y] => 0.0946747
                    [z] => -6.4
                    [scale] => 1.4
                    [rot] => 0.0523599
                    [file] => war3mapImported\GeneralAuraTargetWhite.mdl
                    [red] => 255
                    [green] => 125
                    [blue] => 1
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_MANA_REGEN
                    [base] => 0
                    [add] => 0.1
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Level Up
                    [code] => set tower.userReal = 25 + (tower.getLevel() * 1)
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType ashbringer_mark_buff
    endglobals
    
    //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 Kill
                    [code] => call tower.addMana(tower.userReal)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNDemonicFortitude.blp
                            [name] => Soul Leech
                            [short_explain] => Gain some mana on kill or when a cursed enemy dies.
                            [long_explain] => The tower gains |cffffff8025|r mana on kill or when an enemy affected by Mark of Flame dies.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1|r mana
                        )

                )

            [3] => Array
                (
                    [name] => Autocast
                    [code] => local integer power = R2I((0.06 + (tower.getLevel() * 0.0012)) / 0.0001)
    local Unit target = Event.getTarget()
    local Buff b = target.getBuffOfType(ashbringer_mark_buff)
    local real damage = 105 + (tower.getLevel() * 4.2)
    
    if b != 0 then
        if b.userReal < damage then
            set b.userReal = damage
        endif
        set b.userInt = b.userInt + 1
        call b.setPower(b.getPower() + power)
        call b.refreshDuration()
    else
        set b = ashbringer_mark_buff.applyCustomPower(tower, target, tower.getLevel(), power)
        set b.userInt = 1
        set b.userReal = damage
    endif
                    [values] => Array
                        (
                            [AUTOCAST_cooldown] => 1
                            [AUTOCAST_autoRange] => 900
                            [AUTOCAST_manacost] => 50
                            [icon] => ReplaceableTextures\CommandButtons\BTNFlameShock.blp
                            [AUTOCAST_range] => 1000
                            [AUTOCAST_targetType] => 0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [caster_art] => 
                            [long_explain] => Curse a target enemy, increasing damage taken from |cFFFF5300Fire|r towers by |cffffff806%|r and causing the target to take |cffffff80105|r additional spell damage when hit by attacks. Damage is attack speed and range adjusted. Lasts |cffffff806|r seconds and can stack.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.12%|r damage from |cFFFF5300Fire|r|n|cffFFFF80+4.2|r spell damage
                            [target_art] => war3mapImported\AnimateDeadTargetFire.mdx
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_UNIT
                            [AUTOCAST_buffType] => 0
                            [AUTOCAST_isExtended] => true
                            [name] => Mark of Flame
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Inflict a curse which increases damage taken from |cFFFF5300Fire|r towers and deals spell damage when attacked.
                        )

                )

            [4] => Array
                (
                    [name] => On Tower Creation
                    [code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(5))
    set tower.userReal = 25 + (tower.getLevel() * 1)
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

    [lightning] => Array
        (
        )

)