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

            [targs1] => Array
                (
                )

            [goldcost] => 2750
            [weapsOn] => 1
            [Hfact1] => 0.5
            [dice1] => 1
            [Missilespeed] => 1500
            [moveHeight] => 22
            [file] => units\demon\EredarWarlock\EredarWarlock.mdl
            [modelScale] => 0.9
            [dmgpt1] => 0.5
            [atkType1] => hero
            [weapTp1] => missile
            [acquire] => 900
            [rangeN1] => 900
            [upgrades] => Array
                (
                )

            [cool1] => 2.5
            [Ubertip] => This creature is made of pure lava. It has the ability to control fire.
            [backSw1] => 0.54
            [green] => 200
            [abilList] => Array
                (
                )

            [Name] => The Fire Lord
            [Missileart] => Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNeredarRed.blp
            [buildingShadow] => Array
                (
                )

            [turnRate] => 2
            [blue] => 200
            [sides1] => 20
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => Boekie
            [element] => fire
            [authorDisplay] => |cff00CD00Boekie|r
            [alpha] => 255
            [balanceTip] => Array
                (
                )

            [rarity] => unique
            [version] => 1.0
            [abil_factor] => 0.45
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.93187
                    [y] => -3.30667
                    [z] => -6.4
                    [scale] => 1.2
                    [rot] => 1.5708
                    [file] => Doodads\Outland\Props\Grate\Grate1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -2.50091
                    [y] => -2.52674
                    [z] => 0
                    [scale] => 1.3
                    [rot] => 1.5708
                    [file] => Doodads\Cinematic\FireRockSmall\FireRockSmall.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -16.633
                    [y] => -46.0917
                    [z] => -6.4
                    [scale] => 0.12
                    [rot] => 4.37024
                    [file] => Doodads\Outland\Structures\Outland_RockArch\Outland_RockArch.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 15.4578
                    [y] => 34.9443
                    [z] => -6.4
                    [scale] => 0.12
                    [rot] => 1.17076
                    [file] => Doodads\Outland\Structures\Outland_RockArch\Outland_RockArch.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 1.61855
                    [y] => 10.7117
                    [z] => 0
                    [scale] => 1.3
                    [rot] => 1.5708
                    [file] => Doodads\Cinematic\FireRockSmall\FireRockSmall.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 36.9028
                    [y] => -21.493
                    [z] => -6.4
                    [scale] => 0.12
                    [rot] => 5.90991
                    [file] => Doodads\Outland\Structures\Outland_RockArch\Outland_RockArch.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -40.7521
                    [y] => 16.6511
                    [z] => -6.4
                    [scale] => 0.12
                    [rot] => 2.67566
                    [file] => Doodads\Outland\Structures\Outland_RockArch\Outland_RockArch.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => -34.6035
                    [y] => -47.8933
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.5837
                    [file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock4.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -6.33653
                    [y] => -59.2372
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.83709
                    [file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock4.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 41.201
                    [y] => -37.4627
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 5.993
                    [file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock4.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => 52.9093
                    [y] => -10.8816
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.325168
                    [file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock4.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -46.6197
                    [y] => 38.594
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 2.61849
                    [file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock4.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => -58.9725
                    [y] => 6.84073
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 3.26792
                    [file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock4.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => 14.7388
                    [y] => 55.6364
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.46715
                    [file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock4.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [14] => Array
                (
                    [x] => 38.5745
                    [y] => 39.6315
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.78028
                    [file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock4.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 175
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local Unit creep = Event.getTarget()

call boekie_liquidFire_buff.apply(tower,creep,tower.getLevel())
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [icon] => ReplaceableTextures\CommandButtons\BTNWallOfFire.blp
                            [visible] => true
                            [name] => Liquid Fire
                            [short_explain] => Burns all damaged creeps, those creeps take extra damage from fire..
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => When the Fire Lord damages a creep it will be set on fire, dealing |cffFFFF80500|r spelldamage per second and increasing the damage it takes from fire towers by |cffFFFF8010%|r. The liquid fire lasts |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+50|r spelldamage per second |n|cffFFFF80+0.1|r seconds duration |n|cffFFFF80+0.4%|r bonus damage from fire
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals    
   BuffType boekie_fireMulti_buff1
   BuffType boekie_fireMulti_buff2
   BuffType boekie_fireMulti_buff3
   
   BuffType boekie_liquidFire_buff

   endglobals    
   
   function boekie_liquidFire takes Buff b returns nothing 
   local Unit target = b.getBuffedUnit()  
   local Tower tower = b.getCaster()  
   
   call tower.doSpellDamage(target,500+b.getLevel()*50,tower.calcSpellCritNoBonus())
   
   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() 
        local Modifier n = Modifier.create() 
        call m.addModification( MOD_ATTACKSPEED, 0.25, 0.004 )        
        call n.addModification( MOD_DMG_FROM_FIRE , 0.10, 0.004 )
        
        set boekie_fireMulti_buff1 = BuffType.create( 7.5, 0.2, true )  
        call boekie_fireMulti_buff1.setBuffIcon( '@@3@@' )           
        call boekie_fireMulti_buff1.setBuffModifier( m ) 
        call boekie_fireMulti_buff1.setStackingGroup("fireMulti")
        call boekie_fireMulti_buff1.addAbility('@@2@@',false)
        
        set boekie_fireMulti_buff2 = BuffType.create( 7.5, 0.2, true )  
        call boekie_fireMulti_buff2.setBuffIcon( '@@3@@' )          
        call boekie_fireMulti_buff2.setBuffModifier( m ) 
        call boekie_fireMulti_buff2.setStackingGroup("fireMulti")
        call boekie_fireMulti_buff2.addAbility('@@1@@',false)
        
        set boekie_fireMulti_buff3 = BuffType.create( 7.5, 0.2, true )  
        call boekie_fireMulti_buff3.setBuffIcon( '@@3@@' )  
        call boekie_fireMulti_buff3.setBuffModifier( m ) 
        call boekie_fireMulti_buff3.setStackingGroup("fireMulti")
        call boekie_fireMulti_buff3.addAbility('@@0@@',false)
    
        set boekie_liquidFire_buff = BuffType.create(5,0.1,false) 
        call boekie_liquidFire_buff.setBuffIcon('@@4@@') 
        call boekie_liquidFire_buff.setBuffModifier( n ) 
        call boekie_liquidFire_buff.setStackingGroup("boekie_liquidFire")

         call boekie_liquidFire_buff.addPeriodicEvent(EventHandler.boekie_liquidFire,1) 
         
    endfunction
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => On Attack
                    [code] => local integer level = tower.getLevel()
    
    if tower.getBuffOfGroup("fireMulti") == 0 then 
        
        if level < 15 then
        
        call boekie_fireMulti_buff1.apply(tower,tower,tower.getLevel())
        
        elseif level <25 then
        
        call boekie_fireMulti_buff2.apply(tower,tower,tower.getLevel())
        
        else
        
        call boekie_fireMulti_buff3.apply(tower,tower,tower.getLevel())
        
        endif
        
    endif
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNFireForTheCannon.blp
                            [visible] => true
                            [name] => Hellfire
                            [short_explain] => Has a chance to gain a multishot attack and increased attackspeed.
                            [ONATTACK_chance] => 0.25
                            [ONATTACK_chanceLevelAdd] => 0.002
                            [long_explain] => When the Fire Lord attacks there is a |cffFFFF8025%|r chance that it gains a |cffFFFF805|r target multishot and |cffFFFF8025%|r bonus attackspeed for |cffFFFF807.5|r seconds. Cannot retrigger!|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2|r seconds duration |n|cffFFFF80+0.4%|r attackspeed |n|cffFFFF80+0.2%|r chance |n|cffFFFF80+1|r target at level |cffFFFF8015|r and |cffFFFF8025|r
                        )

                )

        )

    [abilities] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => Aroc
                    [oeValues] => Array
                        (
                            [Cool1] => 0.9
                            [Requires] => Array
                                (
                                )

                            [targs2] => enemies
                            [targs1] => enemies
                            [Cool2] => 0.9
                            [DataB1] => 0
                            [Area1] => 900
                            [DataB2] => 201
                            [Ubertip1] => Attacks up to |cffFFFF807|r targets at the same time.
                            [Area2] => 950
                            [HeroDur2] => 0.9
                            [Unubertip1] => Attacks up to |cffFFFF807|r targets at the same time.
                            [levels] => 2
                            [HeroDur1] => 0.9
                            [Missilespeed] => 1300
                            [Unubertip] => Attacks up to |cffFFFF807|r targets at the same time.
                            [Missilearc] => 0.1
                            [DataC2] => 3
                            [DataC1] => 5
                            [Ubertip] => Attacks up to |cffFFFF807|r targets at the same time.
                            [Dur2] => 0.9
                            [Dur1] => 0.9
                            [DataA1] => 0
                            [Missileart] => Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
                            [Name] => Hellfire
                            [Art] => ReplaceableTextures\CommandButtons\BTNFireForTheCannon.blp
                            [Tip1] => Multishot
                            [Buttonpos] => 3
                            [Tip] => Multishot
                        )

                )

            [1] => Array
                (
                    [id] => @@1@@
                    [derivedFrom] => Aroc
                    [oeValues] => Array
                        (
                            [Cool1] => 0.9
                            [Requires] => Array
                                (
                                )

                            [targs2] => enemies
                            [targs1] => enemies
                            [Cool2] => 0.9
                            [DataB1] => 0
                            [Area1] => 900
                            [DataB2] => 201
                            [Ubertip1] => Attacks up to |cffFFFF806|r targets at the same time.
                            [Area2] => 950
                            [HeroDur2] => 0.9
                            [Unubertip1] => Attacks up to |cffFFFF806|r targets at the same time.
                            [levels] => 2
                            [HeroDur1] => 0.9
                            [Missilespeed] => 1300
                            [Unubertip] => Attacks up to |cffFFFF806|r targets at the same time.
                            [Missilearc] => 0.1
                            [DataC2] => 3
                            [DataC1] => 4
                            [Ubertip] => Attacks up to |cffFFFF806|r targets at the same time.
                            [Dur2] => 0.9
                            [Dur1] => 0.9
                            [DataA1] => 0
                            [Missileart] => Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
                            [Name] => Hellfire
                            [Art] => ReplaceableTextures\CommandButtons\BTNFireForTheCannon.blp
                            [Tip1] => Multishot
                            [Buttonpos] => 3
                            [Tip] => Multishot
                        )

                )

            [2] => Array
                (
                    [id] => @@2@@
                    [derivedFrom] => Aroc
                    [oeValues] => Array
                        (
                            [Cool1] => 0.9
                            [Requires] => Array
                                (
                                )

                            [targs2] => enemies
                            [targs1] => enemies
                            [Cool2] => 0.9
                            [DataB1] => 0
                            [Area1] => 900
                            [DataB2] => 201
                            [Ubertip1] => Attacks up to |cffFFFF805|r targets at the same time.
                            [Area2] => 950
                            [HeroDur2] => 0.9
                            [Unubertip1] => Attacks up to |cffFFFF805|r targets at the same time.
                            [levels] => 2
                            [HeroDur1] => 0.9
                            [Missilespeed] => 1300
                            [Unubertip] => Attacks up to |cffFFFF805|r targets at the same time.
                            [Missilearc] => 0.1
                            [DataC2] => 3
                            [DataC1] => 3
                            [Ubertip] => Attacks up to |cffFFFF805|r targets at the same time.
                            [Dur2] => 0.9
                            [Dur1] => 0.9
                            [DataA1] => 0
                            [Missileart] => Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
                            [Name] => Hellfire
                            [Art] => ReplaceableTextures\CommandButtons\BTNFireForTheCannon.blp
                            [Tip1] => Multishot
                            [Buttonpos] => 3
                            [Tip] => Multishot
                        )

                )

        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@3@@
                    [derivedFrom] => Bbsk
                    [oeValues] => Array
                        (
                            [Targetattach1] => hand,right
                            [Bufftip] => Hellfire
                            [Targetattach] => hand,left
                            [Buffubertip] => The buffed tower has bonus attackpeed and a multishot.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNFireForTheCannon.blp
                            [TargetArt] => Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
                            [EditorName] => Hellfire
                        )

                )

            [1] => Array
                (
                    [id] => @@4@@
                    [derivedFrom] => BNdo
                    [oeValues] => Array
                        (
                            [Bufftip] => Liquid Fire
                            [Buffubertip] => This creep suffers damage over time and takes extra damage from fire towers.
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNWallOfFire.blp
                            [EditorName] => Liquid Fire
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)