Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [targCount1] => 4
            [Farea1] => 500
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNDragonRoost.blp
            [damageLoss1] => 0.1
            [dmgplus1] => 1047
            [bldtm] => 1
            [goldcost] => 1600
            [sides1] => 50
            [Missilearc] => 0.4
            [acquire] => 800
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Red Dragon Roost
            [weapTp1] => mbounce
            [file] => buildings\other\DragonBuilding\DragonBuilding.mdl
            [uberSplat] => OSMA
            [Missilespeed] => 1000
            [Missileart] => Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.4
            [rangeN1] => 800
            [atkType1] => pierce
            [cool1] => 2
            [Ubertip] => Unlike most other dragons, red dragons tend to be unexpectedly benevolent and nurturing toward other beings.
            [abilList] => Array
                (
                )

            [moveHeight] => 30
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffCCFF00Bounce attack:|n   |cffFFFF004|r targets|n   |cffFFFF00-10%|r damage per bounce
            [abil_factor] => 0.5
            [author] => Moppy
            [alpha] => 255
            [authorDisplay] => |c006969FFMoppy|r
            [version] => 1.0
            [element] => fire
            [rarity] => unique
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -27.497
                    [y] => -47.7653
                    [z] => -19.2
                    [scale] => 0.15
                    [rot] => 5.58505
                    [file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [1] => Array
                (
                    [x] => -30.2073
                    [y] => -15.3832
                    [z] => -19.2
                    [scale] => 0.5
                    [rot] => 0.0872665
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [2] => Array
                (
                    [x] => 3.53801
                    [y] => -22.7638
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 2.0944
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [3] => Array
                (
                    [x] => -37.2556
                    [y] => -43.5818
                    [z] => -19.2
                    [scale] => 0.15
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [4] => Array
                (
                    [x] => -13.761
                    [y] => -17.6151
                    [z] => -6.4
                    [scale] => 0.5
                    [rot] => 0
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [5] => Array
                (
                    [x] => 54.4838
                    [y] => -18.4141
                    [z] => -19.2
                    [scale] => 0.15
                    [rot] => 1.74533
                    [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
                )

            [6] => Array
                (
                    [x] => -12.6056
                    [y] => -20.6945
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 1.0472
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [7] => Array
                (
                    [x] => -4.63723
                    [y] => -22.5586
                    [z] => -12.8
                    [scale] => 0.5
                    [rot] => 0.349066
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [8] => Array
                (
                    [x] => -11.8731
                    [y] => -4.83257
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 1.22173
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [9] => Array
                (
                    [x] => 9.9349
                    [y] => -25.7578
                    [z] => -19.2
                    [scale] => 0.5
                    [rot] => 0.698132
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [10] => Array
                (
                    [x] => 30.042
                    [y] => -21.3308
                    [z] => -12.8
                    [scale] => 0.5
                    [rot] => 5.23599
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [11] => Array
                (
                    [x] => -15.0267
                    [y] => 6.73569
                    [z] => 12.8
                    [scale] => 0.5
                    [rot] => 0
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [12] => Array
                (
                    [x] => -17.423
                    [y] => 9.76044
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.23599
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [13] => Array
                (
                    [x] => 16.096
                    [y] => 18.6475
                    [z] => 6.4
                    [scale] => 0.5
                    [rot] => 5.23599
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [14] => Array
                (
                    [x] => 0.989043
                    [y] => 23.2895
                    [z] => 25.6
                    [scale] => 0.5
                    [rot] => 5.93412
                    [file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [15] => Array
                (
                    [x] => 18.9677
                    [y] => 15.4574
                    [z] => -0.000000953674
                    [scale] => 0.25
                    [rot] => 1.0472
                    [file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [16] => Array
                (
                    [x] => -32.709
                    [y] => 11.8151
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.75959
                    [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
                )

            [17] => Array
                (
                    [x] => 49.5305
                    [y] => -33.9574
                    [z] => -25.6
                    [scale] => 0.15
                    [rot] => 1.74533
                    [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
                )

            [18] => Array
                (
                    [x] => 39.9915
                    [y] => -43.8634
                    [z] => -25.6
                    [scale] => 0.15
                    [rot] => 1.22173
                    [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
                )

            [19] => Array
                (
                    [x] => 24.4125
                    [y] => 39.2783
                    [z] => 57.6
                    [scale] => 0.15
                    [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
                )

            [20] => Array
                (
                    [x] => 14.0626
                    [y] => 34.8836
                    [z] => 19.2
                    [scale] => 0.25
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires4.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [21] => Array
                (
                    [x] => -13.1568
                    [y] => 8.67223
                    [z] => 19.2
                    [scale] => 0.75
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Props\Grate\Grate1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [22] => Array
                (
                    [x] => 16.3673
                    [y] => 6.52218
                    [z] => 19.2
                    [scale] => 0.75
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Props\Grate\Grate1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

            [23] => Array
                (
                    [x] => -1.2077
                    [y] => -20.0911
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 4.71239
                    [file] => Doodads\Outland\Props\Grate\Grate1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType moppy_red_dragon_roost_aura
    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
        local Modifier m = Modifier.create()
        
        set moppy_red_dragon_roost_aura = BuffType.createAuraEffectType(true) 
        call moppy_red_dragon_roost_aura.setBuffModifier(m)
        call m.addModification(MOD_DAMAGE_ADD_PERC, 0.0, 0.001)
        call m.addModification(MOD_SPELL_DAMAGE_DEALT, 0.0, 0.001)
        call moppy_red_dragon_roost_aura.setBuffIcon('@@0@@')
	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

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

                    [values] => Array
                        (
                            [AURA_powerAdd] => 8
                            [visible] => true
                            [AURA_auraEffect] => moppy_red_dragon_roost_aura
                            [AURA_levelAdd] => 8
                            [AURA_power] => 200
                            [icon] => ReplaceableTextures\CommandButtons\BTNPhoenixEgg.blp
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [long_explain] => Increases damage and spell damage of towers in |cffFFFF80200|r range by |cffFFFF8020%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.8%|r damage and spell damage
                            [AURA_targetSelf] => true
                            [name] => Soothing Warmth
                            [AURA_level] => 200
                            [short_explain] => Increases damage and spell damage of nearby towers.
                            [AURA_auraRange] => 200
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BNab
                    [oeValues] => Array
                        (
                            [Targetattach] => Array
                                (
                                )

                            [EditorName] => Soothing Warmth
                            [Buffubertip] => Damage and spell damage increased.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => Soothing Warmth
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNPhoenixEgg.blp
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

    [lightning] => Array
        (
        )

)