Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [RngBuff1] => 250
            [MissileHoming] => 1
            [Upgrade] => Array
                (
                )

            [targs1] => Array
                (
                )

            [goldcost] => 3500
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1500
            [moveHeight] => 75
            [file] => Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
            [modelScale] => 0.8
            [atkType1] => pierce
            [weapTp1] => missile
            [acquire] => 900
            [rangeN1] => 900
            [upgrades] => Array
                (
                )

            [cool1] => 0.4
            [Ubertip] => The fire of the demon Nerz'ragul destroyed half of the world. After years the mighty spellcaster Theradom caged it in a magical circle.
            [abilList] => Array
                (
                )

            [launchZ] => 0
            [Name] => Caged Inferno
            [Missileart] => Abilities\Weapons\PhoenixMissile\Phoenix_Missile_mini.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNOrbofSlowness.blp
            [buildingShadow] => Array
                (
                )

            [unitSound] => Blacksmith
            [turnRate] => 0.1
            [sides1] => 1
            [auto] => Array
                (
                )

            [dmgplus1] => 532
            [bldtm] => 1
        )

    [settings] => Array
        (
            [author] => cedi
            [element] => fire
            [authorDisplay] => DreamStrider
            [alpha] => 255
            [balanceTip] => |cffFFFF00-50% |rdmg to magical|n|cffFFFF00+50% |rdmg to nature (|cffFFFF00+1%|r/lvl)
            [rarity] => rare
            [version] => 1.0
            [abil_factor] => 0.45
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -34.7316
                    [y] => 2.3778
                    [z] => 70.4
                    [scale] => 0.2
                    [rot] => 0.000000476837
                    [file] => Doodads\Underground\Structures\UndergroundArchway1\UndergroundArchway1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 36.2358
                    [y] => -0.716646
                    [z] => 70.4
                    [scale] => 0.2
                    [rot] => 3.14159
                    [file] => Doodads\Underground\Structures\UndergroundArchway1\UndergroundArchway1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -0.180053
                    [y] => -1.09199
                    [z] => 38.4
                    [scale] => 0.2
                    [rot] => 0
                    [file] => Doodads\Underground\Structures\UndergroundArchway1\UndergroundArchway1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -1.6498
                    [y] => -0.730507
                    [z] => 108.8
                    [scale] => 0.2
                    [rot] => 0
                    [file] => Doodads\Underground\Structures\UndergroundArchway1\UndergroundArchway1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -3.14
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 2.02712
                    [y] => 2.09734
                    [z] => 38.4
                    [scale] => 0.2
                    [rot] => 4.71239
                    [file] => Doodads\Underground\Structures\UndergroundArchway1\UndergroundArchway1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 3.48372
                    [y] => 5.39245
                    [z] => 108.8
                    [scale] => 0.2
                    [rot] => 4.71239
                    [file] => Doodads\Underground\Structures\UndergroundArchway1\UndergroundArchway1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -3.14
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -0.445517
                    [y] => 3.82066
                    [z] => 185.6
                    [scale] => 1.9
                    [rot] => 4.46804
                    [file] => Abilities\Spells\Orc\Voodoo\VoodooAuraTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 1.65073
                    [y] => 0.25175
                    [z] => 57.6
                    [scale] => 0.3
                    [rot] => 0.785398
                    [file] => Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -4.62927
                    [y] => 4.81582
                    [z] => 64
                    [scale] => 0.3
                    [rot] => 0.785398
                    [file] => Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DMG_TO_MAGIC
                    [base] => -0.5
                    [add] => 0
                )

            [1] => Array
                (
                    [id] => MOD_DMG_TO_NATURE
                    [base] => 0.5
                    [add] => 0.01
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType myBuff
    endglobals
    
    function Create takes Buff b returns nothing
        local integer lvl = b.getCaster().getLevel()
        set b.userReal = 2.0 + 0.08 * lvl
        set b.userReal2 = 40.0 + 1.6 * lvl
        call b.getBuffedUnit().modifyProperty( MOD_ARMOR, -b.userReal )
    endfunction
    
    function Destroy takes Buff b returns nothing
        call b.getBuffedUnit().modifyProperty( MOD_ARMOR, b.userReal )
    endfunction
    
    function Reaction takes Buff b returns nothing
        local integer lvl = b.getCaster().getLevel()
        
        set b.userReal = b.userReal + 1.0 + 0.04 * lvl
        set b.userReal2 = b.userReal2 + 40.0 + 1.6 * lvl 
        
        call b.getCaster().doSpellDamage(b.getBuffedUnit(), b.userReal2, b.getCaster().calcSpellCritNoBonus()) 
        call b.getBuffedUnit().modifyProperty( MOD_ARMOR, -1.0 - 0.04 * lvl )
    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 m = Modifier.create() 
        set myBuff = BuffType.createAuraEffectType(false)
        call myBuff.addPeriodicEvent( EventHandler.Reaction, 1.00 )
        call myBuff.addEventOnCleanup( EventHandler.Destroy )
        call myBuff.addEventOnCreate( EventHandler.Create )
        //call m.addModification(MOD_ARMOR,-1.0,-0.5)
        //call myBuff.setBuffModifier(m)
        call myBuff.setBuffIcon('@@0@@')
	endfunction
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNIncinerate.blp
                            [visible] => true
                            [name] => Melt
                            [short_explain] => An aura that deals damage and that decreases the armor of nearby creeps.
                            [long_explain] => The enormous heat of the caged inferno decreases the armor of all creeps in |cffFFFF80900|r range by |cffFFFF802|r and damages them by |cffFFFF8040|r. Each second creeps in |cffFFFF80900|r range around the caged inferno lose |cffFFFF801|r extra armor and the fire damage will increase by |cffFFFF8040|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.08|r start armor reduction|n|cffFFFF80+0.04|r armor reduction|n|cffFFFF80+1.6|r damage
                        )

                )

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

                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [AURA_auraEffect] => myBuff
                            [AURA_power] => 1
                            [AURA_level] => 1
                            [long_explain] => 
                            [AURA_auraRange] => 900
                            [AURA_targetType] => TARGET_TYPE_CREEPS
                            [AURA_levelAdd] => 0
                            [AURA_powerAdd] => 0
                            [name] => 
                            [AURA_targetSelf] => false
                            [short_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BHfs
                    [oeValues] => Array
                        (
                            [Bufftip] => Heat
                            [Targetattach] => head
                            [Buffubertip] => This unit takes damage over time and has decreased armor.
                            [Targetattachcount] => 1
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNImmolationOn.blp
                            [TargetArt] => Abilities\Spells\Human\FlameStrike\FlameStrikeDamageTarget.mdl
                            [EditorName] => Heat
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)