Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Art] => ReplaceableTextures\CommandButtons\BTNMagicLariet.blp
            [auto] => Array
                (
                )

            [dmgplus1] => 779
            [bldtm] => 1
            [goldcost] => 1200
            [unitSound] => PocketFactory
            [sides1] => 1
            [Upgrade] => Array
                (
                )

            [acquire] => 900
            [upgrades] => Array
                (
                )

            [Name] => Atom Smasher
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
            [Missilespeed] => 1500
            [Missileart] => Abilities\Weapons\DruidoftheTalonMissile\DruidoftheTalonMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.35
            [rangeN1] => 900
            [atkType1] => normal
            [cool1] => 1
            [Ubertip] => Gains more speed and damage on each attack, while losing the bonus on kill.
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => Array
                (
                )

            [abil_factor] => 0.64
            [author] => the_red_terror
            [alpha] => 255
            [authorDisplay] => the_red_terror
            [version] => 1.0
            [element] => iron
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -12.5144
                    [y] => -22.3224
                    [z] => 12.8
                    [scale] => 0.15
                    [rot] => 4.88692
                    [file] => units\critters\HighElfPeasant\HighElfPeasant.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -4.62431
                    [y] => -45.1923
                    [z] => -0.000000953674
                    [scale] => 0.15
                    [rot] => 0.800016
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 6.4232
                    [y] => 53.5732
                    [z] => -0.000000953674
                    [scale] => 0.15
                    [rot] => 3.92092
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 3.42344
                    [y] => -45.1923
                    [z] => -0.000000953674
                    [scale] => 0.15
                    [rot] => 3.93265
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -0.493627
                    [y] => 51.7274
                    [z] => -0.000000953674
                    [scale] => 0.15
                    [rot] => 0.822049
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -47.7404
                    [y] => 5.94369
                    [z] => -0.000000953674
                    [scale] => 0.15
                    [rot] => 5.46423
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 47.3064
                    [y] => 7.61503
                    [z] => -0.000000953674
                    [scale] => 0.15
                    [rot] => 5.4692
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 47.9843
                    [y] => 0.901661
                    [z] => -0.000000953674
                    [scale] => 0.15
                    [rot] => 2.33029
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -36.7174
                    [y] => -33.6879
                    [z] => 6.4
                    [scale] => 0.1
                    [rot] => 0.0441689
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 34.7153
                    [y] => -33.6879
                    [z] => 6.4
                    [scale] => 0.1
                    [rot] => 1.59398
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -47.467
                    [y] => 3.4085
                    [z] => -0.000000953674
                    [scale] => 0.15
                    [rot] => 2.32018
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => 40.8421
                    [y] => 39.8869
                    [z] => 6.4
                    [scale] => 0.1
                    [rot] => 3.14159
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => -34.0468
                    [y] => 41.6909
                    [z] => 6.4
                    [scale] => 0.1
                    [rot] => 1.52293
                    [file] => Doodads\Ruins\Terrain\RuinsWall135\RuinsWall1350.mdl
                    [red] => 255
                    [green] => 200
                    [blue] => 200
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => -1.72199
                    [y] => 4.63923
                    [z] => -32
                    [scale] => 0.3
                    [rot] => 0.523219
                    [file] => buildings\other\ElvenGuardFireTower\ElvenGuardFireTower.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [14] => Array
                (
                    [x] => -1.50167
                    [y] => -10.7936
                    [z] => 44.8
                    [scale] => 0.15
                    [rot] => 0.767489
                    [file] => units\critters\HighElfPeasant\HighElfPeasant.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [15] => Array
                (
                    [x] => 25.915
                    [y] => 28.0784
                    [z] => 6.4
                    [scale] => 0.05
                    [rot] => 4.69494
                    [file] => Doodads\LordaeronSummer\Terrain\Gate45\Gate45.mdl
                    [red] => 240
                    [green] => 240
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [16] => Array
                (
                    [x] => -21.2032
                    [y] => 28.0783
                    [z] => 6.4
                    [scale] => 0.05
                    [rot] => 3.14698
                    [file] => Doodads\LordaeronSummer\Terrain\Gate45\Gate45.mdl
                    [red] => 240
                    [green] => 240
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [17] => Array
                (
                    [x] => 22.9186
                    [y] => -19.0725
                    [z] => 6.4
                    [scale] => 0.05
                    [rot] => 0.000000502914
                    [file] => Doodads\LordaeronSummer\Terrain\Gate45\Gate45.mdl
                    [red] => 240
                    [green] => 240
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [18] => Array
                (
                    [x] => -23.3511
                    [y] => -21.0258
                    [z] => 6.4
                    [scale] => 0.05
                    [rot] => 4.69494
                    [file] => Doodads\LordaeronSummer\Terrain\Gate45\Gate45.mdl
                    [red] => 240
                    [green] => 240
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local integer lvl = tower.getLevel()
        call tower.modifyProperty(MOD_DAMAGE_ADD_PERC,0.03+(lvl*0.001))
        call tower.modifyProperty(MOD_ATTACKSPEED,0.03+(lvl*0.001))
        set tower.userReal = tower.userReal+(0.03+(lvl*0.001))
            call redterror_energy_rotation(tower)
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => Every attack increases attack speed and damage.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => Every attack increases attack speed and damage by |cffFFFF803%|r. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.1%|r attack speed and damage
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        MultiboardValues Red_Terror_Values
    endglobals

    
    //Do not remove or rename this function!
    //Put your initialization tasks here, this function will be called on map init
    //@import
    function redterror_energy_rotation takes Tower tower returns nothing
    endfunction

    
    private function init takes nothing returns nothing
            set Red_Terror_Values = MultiboardValues.create(1)
            call Red_Terror_Values.setKey(0, "Acceleration")
    endfunction
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNMagicLariet.blp
                            [name] => Energy Acceleration
                            [short_explain] => Every attack increases attack speed and damage.
                            [long_explain] => Every attack increases attack speed and damage by |cffFFFF803%|r. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.1%|r attack speed and damage
                        )

                )

            [2] => Array
                (
                    [name] => On Tower Details
                    [code] => call Red_Terror_Values.setValue(0, R2SW((tower.userReal*100),1,1))
        return Red_Terror_Values
                    [values] => Array
                        (
                            [0] => Array
                                (
                                    [_value] => 0
                                    [typ] => string
                                )

                        )

                )

            [3] => Array
                (
                    [name] => On Kill
                    [code] => local integer lvl = tower.getLevel()
            call  SFXAtUnit("Abilities\\Spells\\Orc\\FeralSpirit\\feralspiritdone.mdl",Event.getTarget().getUnit())
                call tower.modifyProperty(MOD_DAMAGE_ADD_PERC,-(tower.userReal))
                call tower.modifyProperty(MOD_ATTACKSPEED,-(tower.userReal))
                call cb_stun.applyOnlyTimed(tower,tower,2)
                set tower.userReal = 0
                    call redterror_energy_rotation(tower)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNManaDrain.blp
                            [name] => Errant Tachyons
                            [short_explain] => On kill, tower is stunned and the bonus from Energy Acceleration is lost.
                            [long_explain] => On kill, this tower is stunned for |cffFFFF802|r seconds and the bonus from Energy Acceleration is lost.
                        )

                )

            [4] => Array
                (
                    [name] => On Tower Destruction
                    [code] => local Effect e = tower.userInt2
    call e.destroy()
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [5] => Array
                (
                    [name] => On Tower Creation
                    [code] => local Effect e = Effect.createAnimatedScaled("Abilities\\Spells\\Orc\\SpiritLink\\SpiritLinkTarget.mdl",tower.getX(), tower.getY(), 8.0, 0.0, 1.50)
    set tower.userInt2 = e
    set tower.userReal = 0
    call redterror_energy_rotation(tower)
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)