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

            [targs1] => Array
                (
                )

            [goldcost] => 2000
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1300
            [moveHeight] => 30
            [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
            [modelScale] => 0.6
            [atkType1] => siege
            [weapTp1] => missile
            [acquire] => 900
            [rangeN1] => 900
            [upgrades] => Array
                (
                )

            [cool1] => 2.6
            [Ubertip] => Can fire different bombs for a great versatility.
            [green] => 100
            [abilList] => Array
                (
                )

            [Missileart] => Abilities\Weapons\BoatMissile\BoatMissile.mdl
            [launchZ] => 50
            [Name] => Grand Bomb Turret
            [Art] => ReplaceableTextures\CommandButtons\BTNFragmentationBombs.blp
            [red] => 100
            [buildingShadow] => Array
                (
                )

            [blue] => 100
            [turnRate] => 3
            [sides1] => 1
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => DaveMatthews
            [element] => iron
            [authorDisplay] => DaveMatthews
            [alpha] => 255
            [balanceTip] => Array
                (
                )

            [rarity] => rare
            [version] => 1.0
            [abil_factor] => 0.8
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 6.27968
                    [y] => -4.2787
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 5.32326
                    [file] => buildings\other\NerubianZiggurat\NerubianZiggurat.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 23.3394
                    [y] => -27.2214
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 2.3562
                    [file] => units\orc\StasisTotem\StasisTotem.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 29.0219
                    [y] => 30.5799
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 3.92699
                    [file] => units\orc\StasisTotem\StasisTotem.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -24.9652
                    [y] => -27.2215
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0.785398
                    [file] => units\orc\StasisTotem\StasisTotem.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -26.5529
                    [y] => 31.5776
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 5.49779
                    [file] => units\orc\StasisTotem\StasisTotem.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 4.87836
                    [y] => -2.77388
                    [z] => 44.8
                    [scale] => 0.275
                    [rot] => 5.32326
                    [file] => buildings\other\NerubianZiggurat\NerubianZiggurat.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -55.8636
                    [y] => 0.0425427
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.000000476837
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 55.6383
                    [y] => 4.04145
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 3.14159
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 2.90823
                    [y] => 58.5561
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.71239
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => -0.766117
                    [y] => -55.879
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => 53.0411
                    [y] => -52.037
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 4.71239
                    [file] => Units\Critters\ChaosSpaceOrc\ChaosSpaceOrc.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -51.5037
                    [y] => -52.037
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 4.71239
                    [file] => Units\Critters\ChaosSpaceOrc\ChaosSpaceOrc.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local integer level = tower.getLevel()
local Unit creep = Event.getTarget()
local Unit u
local Iterate it
    
    if tower.getBuffOfType(dave_concussive)!=0 then
        set it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_CREEPS,creep,300)
        loop
           set u = it.next()
           exitwhen u == 0
           call dave_concussive_buff.apply(tower,u,level)
        endloop
       call Effect.createScaled("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl", GetUnitX(creep.getUnit()), GetUnitY(creep.getUnit()), 0, 0, 1.0).setLifetime(0.2)
    elseif tower.getBuffOfType(dave_acid)!=0 then
        set it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_CREEPS,creep,300)
        loop
           set u = it.next()
           exitwhen u == 0
           call dave_acid_buff.apply(tower, u, level)
        endloop
       call Effect.createScaled("Abilities\\Weapons\\ChimaeraAcidMissile\\ChimaeraAcidMissile.mdl", GetUnitX(creep.getUnit()), GetUnitY(creep.getUnit()), 0, 0, 1.3).setLifetime(0.2)
    elseif tower.getBuffOfType(dave_smoke)!=0 then
        set it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_CREEPS,creep,300)
        loop
           set u = it.next()
           exitwhen u == 0
           call cb_silence.applyOnlyTimed(tower, u, 1.5+(0.06*level))
        endloop
       call Effect.createScaled("Abilities\\Spells\\Human\\CloudOfFog\\CloudOfFog.mdl", GetUnitX(creep.getUnit()), GetUnitY(creep.getUnit()), 0, 0, 0.8).setLifetime(0.5)
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    //@import
    BuffType dave_concussive
    //@import
    BuffType dave_acid
    //@import
    BuffType dave_smoke
    //@import
    BuffType dave_concussive_buff
    //@import
    BuffType dave_acid_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
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => Autocast
                    [code] => if tower.getBuffOfType(dave_concussive)==0 then
  call dave_concussive.apply(tower, tower, tower.getLevel())
endif

if tower.getBuffOfType(dave_acid)!=0 then
  call tower.getBuffOfType(dave_acid).removeBuff()
endif
  
if tower.getBuffOfType(dave_smoke)!=0 then
  call tower.getBuffOfType(dave_smoke).removeBuff()
endif
                    [values] => Array
                        (
                            [caster_art] => 
                            [icon] => ReplaceableTextures\CommandButtons\BTNStun.blp
                            [AUTOCAST_cooldown] => 5
                            [AUTOCAST_numBuffsBeforeIdle] => 1
                            [AUTOCAST_isExtended] => false
                            [long_explain] => Equips the tower with concussive bombs. Each attack slows all the creeps in a |cffFFFF80300|r area around the target by |cffFFFF8025%|r for |cffFFFF804|r seconds. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r slow
                            [AUTOCAST_autocastType] => AC_TYPE_NOAC_IMMEDIATE
                            [AUTOCAST_manacost] => 0
                            [AUTOCAST_range] => 0
                            [AUTOCAST_buffType] => dave_concussive
                            [name] => Concussive Bombs
                            [AUTOCAST_targetSelf] => true
                            [short_explain] => Equips concussive bombs
                            [AUTOCAST_targetType] => TARGET_TYPE_TOWERS
                            [target_art] => 
                            [AUTOCAST_autoRange] => 0
                        )

                )

            [3] => Array
                (
                    [name] => Autocast
                    [code] => if tower.getBuffOfType(dave_acid)==0 then
  call dave_acid.apply(tower, tower, tower.getLevel())
endif

if tower.getBuffOfType(dave_concussive)!=0 then
  call tower.getBuffOfType(dave_concussive).removeBuff()
endif
  
if tower.getBuffOfType(dave_smoke)!=0 then
  call tower.getBuffOfType(dave_smoke).removeBuff()
endif
                    [values] => Array
                        (
                            [caster_art] => 
                            [icon] => ReplaceableTextures\CommandButtons\BTNCorrosiveBreath.blp
                            [AUTOCAST_cooldown] => 5
                            [AUTOCAST_numBuffsBeforeIdle] => 1
                            [AUTOCAST_isExtended] => false
                            [long_explain] => Equips the tower with acid bombs. Each attack reduces the armor of all the creeps in a |cffFFFF80300|r area around the target by |cffFFFF8015%|r for |cffFFFF804|r seconds. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r armor reduction
                            [AUTOCAST_autocastType] => AC_TYPE_NOAC_IMMEDIATE
                            [AUTOCAST_manacost] => 0
                            [AUTOCAST_range] => 0
                            [AUTOCAST_buffType] => dave_acid
                            [name] => Acid Bombs
                            [AUTOCAST_targetSelf] => true
                            [short_explain] => Equips acid bombs
                            [AUTOCAST_targetType] => TARGET_TYPE_TOWERS
                            [target_art] => 
                            [AUTOCAST_autoRange] => 0
                        )

                )

            [4] => Array
                (
                    [name] => Autocast
                    [code] => if tower.getBuffOfType(dave_smoke)==0 then
  call dave_smoke.apply(tower, tower, tower.getLevel())
endif

if tower.getBuffOfType(dave_acid)!=0 then
  call tower.getBuffOfType(dave_acid).removeBuff()
endif
  
if tower.getBuffOfType(dave_concussive)!=0 then
  call tower.getBuffOfType(dave_concussive).removeBuff()
endif
                    [values] => Array
                        (
                            [caster_art] => 
                            [icon] => ReplaceableTextures\CommandButtons\BTNCloudOfFog.blp
                            [AUTOCAST_cooldown] => 5
                            [AUTOCAST_numBuffsBeforeIdle] => 1
                            [AUTOCAST_isExtended] => false
                            [long_explain] => Equips the tower with smoke bombs. Each attack silences all the creeps in a |cffFFFF80300|r area around the target for |cffFFFF801.5|r seconds. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.06|r seconds duration
                            [AUTOCAST_autocastType] => AC_TYPE_NOAC_IMMEDIATE
                            [AUTOCAST_manacost] => 0
                            [AUTOCAST_range] => 0
                            [AUTOCAST_buffType] => dave_smoke
                            [name] => Smoke Bombs
                            [AUTOCAST_targetSelf] => true
                            [short_explain] => Equips smoke bombs
                            [AUTOCAST_targetType] => TARGET_TYPE_TOWERS
                            [target_art] => 
                            [AUTOCAST_autoRange] => 0
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

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

            [2] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => dave_smoke
                )

            [3] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => dave_concussive_buff
                )

            [4] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => dave_acid_buff
                )

        )

)