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

            [targs1] => Array
                (
                )

            [animProps] => upgrade,second,work
            [goldcost] => 3000
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1500
            [moveHeight] => 40
            [file] => buildings\undead\Necropolis\Necropolis.mdl
            [modelScale] => 0.3
            [atkType1] => hero
            [weapTp1] => missile
            [Missilearc] => 0.15
            [acquire] => 800
            [rangeN1] => 800
            [upgrades] => Array
                (
                )

            [cool1] => 1.4
            [Ubertip] => The last place of all already fallen souls, seeking for their last revenge.
            [abilList] => Array
                (
                )

            [launchZ] => 30
            [Name] => Citadel of Souls
            [Missileart] => Abilities\Weapons\ZigguratMissile\ZigguratMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNBlackCitadel.blp
            [buildingShadow] => Array
                (
                )

            [unitSound] => Necropolisu2
            [sides1] => 151
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => Natac
            [element] => darkness
            [authorDisplay] => Natac
            [alpha] => 255
            [balanceTip] => Array
                (
                )

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

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -51.1309
                    [y] => -43.0398
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.33121
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -41.2496
                    [y] => 55.923
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.33121
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 46.8796
                    [y] => -31.7615
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.33121
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 6.88792
                    [y] => -52.9737
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.33121
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -22.541
                    [y] => 0.213834
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.33121
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 53.8105
                    [y] => 16.964
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.35816
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -48.7737
                    [y] => 22.4795
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.35816
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 38.214
                    [y] => 52.8605
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.33121
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 22.3628
                    [y] => 25.6228
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.35816
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => -49.4783
                    [y] => 16.5923
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.558505
                    [file] => Doodads\Northrend\Plants\North_Thorns\North_Thorns1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => 43.574
                    [y] => -22.2436
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.558505
                    [file] => Doodads\Northrend\Plants\North_Thorns\North_Thorns1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -2.50642
                    [y] => -43.9844
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.558505
                    [file] => Doodads\Northrend\Plants\North_Thorns\North_Thorns1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => -20.1977
                    [y] => -31.1537
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.35816
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => 11.7221
                    [y] => 30.4886
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.558505
                    [file] => Doodads\Northrend\Plants\North_Thorns\North_Thorns1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [14] => Array
                (
                    [x] => -29.9169
                    [y] => 45.4974
                    [z] => 0
                    [scale] => 0.35
                    [rot] => 0.558505
                    [file] => Doodads\Northrend\Plants\North_Thorns\North_Thorns1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [15] => Array
                (
                    [x] => 2.85928
                    [y] => 7.20684
                    [z] => 51.2
                    [scale] => 0.7
                    [rot] => 0
                    [file] => Abilities\Spells\NightElf\TargetArtLumber\TargetArtLumber.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [16] => Array
                (
                    [x] => -11.0629
                    [y] => 47.9229
                    [z] => 0
                    [scale] => 0.25
                    [rot] => 5.35816
                    [file] => Doodads\Northrend\Props\NorthrendTombstone\NorthrendTombstone0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [17] => Array
                (
                    [x] => 23.4163
                    [y] => -31.6307
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.54835
                    [file] => units\undead\Shade\Shade.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [18] => Array
                (
                    [x] => -35.8481
                    [y] => -8.18902
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 3.18703
                    [file] => units\undead\Shade\Shade.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [19] => Array
                (
                    [x] => 39.8325
                    [y] => 0.0973212
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 6.11672
                    [file] => units\undead\Shade\Shade.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [20] => Array
                (
                    [x] => -0.300495
                    [y] => 32.7114
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 3.15196
                    [file] => units\undead\Shade\Shade.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 Tower Creation
                    [code] => local Tower preceding = Event.getPrecedingTower()
    local real  soulBonus
    
    set tower.userInt   = 3
    set tower.userReal  = 18
    set tower.userReal2 = 0.9   
    
    if(preceding != 0 and preceding.getFamily() == tower.getFamily()) then
        set  soulBonus       = preceding.userReal3
        set  tower.userReal3 = soulBonus
        call tower.modifyProperty(MOD_DAMAGE_ADD, soulBonus)
    else
        set   tower.userReal3  = 0.0 //Damage bonus from souls
    endif
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType  natac_revengeOfSouls_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] => ReplaceableTextures\CommandButtons\BTNAnimateDead.blp
                            [visible] => true
                            [name] => Revenge of Souls
                            [short_explain] => Every creep that dies nearby permanently increases this tower's damage and grants it experience.
                            [long_explain] => This tower gains |cFFFFFF8018|r permanent bonus damage and |cFFFFFF803|r experience every time a creep in |cFFFFFF801000|r range dies.|n|n|cffFF8000Level Bonus:|r|n|cFFFFFF80+0.9|r damage per kill
                        )

                )

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

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

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)