Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [targCount1] => 5
            [Farea1] => 400
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNWarlockIncinerate.blp
            [damageLoss1] => 0.3
            [dmgplus1] => 320
            [bldtm] => 1
            [goldcost] => 2500
            [sides1] => 5
            [acquire] => 1300
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => King of Ember
            [weapTp1] => mbounce
            [file] => units\creeps\Revenant\Revenant.mdl
            [uberSplat] => YTDJ
            [Missilespeed] => 2000
            [Missileart] => Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [green] => 75
            [modelScale] => 0.8
            [rangeN1] => 1300
            [atkType1] => pierce
            [cool1] => 1.5
            [Ubertip] => A revered sovereign of the Ember Realm, endowed with unparalleled command over the elemental forces of fire.
            [blue] => 75
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF005|r targets|n   |cffFFFF00-30%|r damage per bounce|n|cffFFFF005%|r spell crit chance (|cffFFFF00+0.5%|r/lvl)
            [abil_factor] => 0.18
            [author] => Moppy
            [alpha] => 255
            [authorDisplay] => |c006969FFMoppy|r
            [version] => 1.0
            [element] => fire
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.457328
                    [y] => -2.02867
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Rocks\Outland_MagmaRock\Outland_MagmaRock2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => 0.356628
                    [y] => 0.37415
                    [z] => 76.8
                    [scale] => 0.75
                    [rot] => 1.5708
                    [file] => Abilities\Spells\Other\ImmolationRed\ImmolationRedTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => -59.9695
                    [y] => 2.54257
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0
                    [file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => 35.1236
                    [y] => 41.4648
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires9.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => 0.488566
                    [y] => -3.60784
                    [z] => 121.6
                    [scale] => 2
                    [rot] => 4.71239
                    [file] => Abilities\Spells\Items\AIfb\AIfbTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => -35.4968
                    [y] => 37.3398
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [6] => Array
                (
                    [x] => 38.7904
                    [y] => -52.7004
                    [z] => -12.8
                    [scale] => 0.3
                    [rot] => 0.785398
                    [file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -32.8648
                    [y] => -50.9299
                    [z] => -25.6
                    [scale] => 0.3
                    [rot] => 5.49779
                    [file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => 42.3394
                    [y] => 50.0671
                    [z] => 108.8
                    [scale] => 1
                    [rot] => 0.122173
                    [file] => Environment\SmallBuildingFire\SmallBuildingFire2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => -59.1668
                    [y] => -49.8073
                    [z] => -6.4
                    [scale] => 0.3
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => -52.9599
                    [y] => 33.1421
                    [z] => 64
                    [scale] => 1
                    [rot] => 4.06662
                    [file] => Environment\SmallBuildingFire\SmallBuildingFire2.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_SPELL_CRIT_CHANCE
                    [base] => 0.0375
                    [add] => 0.005
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType moppy_realm_of_ember_aura
        //@import
        BuffType moppy_searing_strike_attack
    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] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local Unit c = Event.getTarget()
    local integer lvl = tower.getLevel()
    local integer HpRegLoss = R2I((0.15 + lvl * 0.0075) * 1000)
    
    call tower.doSpellDamage(c, tower.userReal + (lvl * tower.userReal2), tower.calcSpellCritNoBonus())
    call moppy_searing_strike_attack.applyCustomTimed(tower, c, HpRegLoss, 3.0)
    call SFXOnUnit("Abilities\\Spells\\Other\\Incinerate\\FireLordDeathExplode.mdl",c.getUnit(),"origin")
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.2
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNFireBolt.blp
                            [name] => Searing Strike
                            [short_explain] => The tower has a chance on hit to unleash blasts of intense heat on its targets, dealing spell damage and reducing their health regeneration.
                            [ONDAMAGE_chanceLevelAdd] => 0.004
                            [long_explain] => The tower has a |cffFFFF8020%|r chance on hit to unleash blasts of intense heat on its targets, dealing |cffFFFF803000|r spell damage and reducing their health regeneration by |cffFFFF8022.5%|r for |cffFFFF803|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+150|r spell damage|n|cffFFFF80+1.125%|r reduced health regeneration|n|cffFFFF80+0.4%|r chance
                        )

                )

            [2] => Array
                (
                    [name] => Tower Aura
                    [code] => Array
                        (
                        )

                    [values] => Array
                        (
                            [AURA_powerAdd] => 4
                            [visible] => true
                            [AURA_auraEffect] => moppy_realm_of_ember_aura
                            [AURA_levelAdd] => 4
                            [AURA_power] => 150
                            [icon] => ReplaceableTextures\CommandButtons\BTNWarlockIncinerate.blp
                            [AURA_targetType] => TARGET_TYPE_CREEPS
                            [long_explain] => Increases the vulnerability of enemies in |cffFFFF801300|r range to damage from |cFFFF5300Fire|r towers by |cffFFFF8015%|r. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r vulnerability
                            [AURA_targetSelf] => false
                            [name] => Realm of Ember
                            [AURA_level] => 150
                            [short_explain] => Makes nearby foes more vulnerable to |cFFFF5300Fire|r towers.
                            [AURA_auraRange] => 1300
                        )

                )

            [3] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userReal = 3000
set tower.userReal2 = 150
                    [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] => moppy_realm_of_ember_aura
                )

            [1] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => moppy_searing_strike_attack
                )

        )

    [lightning] => Array
        (
        )

)