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

            [targs1] => Array
                (
                )

            [goldcost] => 3000
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1500
            [file] => buildings\other\FountainOfMana\FountainOfMana.mdl
            [modelScale] => 0.46
            [atkType1] => chaos
            [weapTp1] => missile
            [acquire] => 800
            [rangeN1] => 800
            [upgrades] => Array
                (
                )

            [cool1] => 1
            [Ubertip] => A natural wonder, once lost to the sands of time, has re-appeared harnessing a spiteful vengence.
            [abilList] => Array
                (
                )

            [Name] => Garden of Eden
            [Missileart] => Abilities\Spells\Other\CrushingWave\CrushingWaveMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNTranquility.blp
            [buildingShadow] => Array
                (
                )

            [unitSound] => FountainOfLife
            [sides1] => 4
            [uberSplat] => ESMB
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => Majildian
            [element] => nature
            [authorDisplay] => |cff87cefaMajildian|r
            [alpha] => 0
            [balanceTip] => |cffFFFF00+50% |rdmg to nature|n|cffFFFF00+50% |rdmg to orcs|n|cffFFFF00+50% |rdmg to humanoids
            [rarity] => unique
            [version] => 1.0
            [abil_factor] => 0.524
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -50.7583
                    [y] => 51.4821
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 2.3562
                    [file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 52.3669
                    [y] => 48.7107
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 0.785398
                    [file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 46.9437
                    [y] => -50.1853
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.49779
                    [file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -51.8844
                    [y] => -47.4643
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 3.92699
                    [file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 22.6802
                    [y] => -51.9296
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 0.396522
                    [y] => -54.5184
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -26.2849
                    [y] => -53.2393
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => -55.6184
                    [y] => -27.2264
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -50.3552
                    [y] => -2.01513
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => -58.0364
                    [y] => 22.444
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => 44.9093
                    [y] => -27.5909
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => 43.568
                    [y] => -2.29679
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => 54.4839
                    [y] => 26.6694
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [13] => Array
                (
                    [x] => 26.3508
                    [y] => 50.1969
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [14] => Array
                (
                    [x] => -1.00563
                    [y] => 55.7242
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [15] => Array
                (
                    [x] => -28.0746
                    [y] => 54.4279
                    [z] => -6.4
                    [scale] => 0.4
                    [rot] => 4.76475
                    [file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [16] => Array
                (
                    [x] => -1.18024
                    [y] => -7.90414
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 4.71239
                    [file] => buildings\other\FountainOfLife\FountainOfHealth.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [17] => Array
                (
                    [x] => 40.7176
                    [y] => 33.1869
                    [z] => 25.6
                    [scale] => 0.75
                    [rot] => 0.785398
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [18] => Array
                (
                    [x] => 35.1525
                    [y] => -45.1065
                    [z] => 0
                    [scale] => 0.75
                    [rot] => 5.49779
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [19] => Array
                (
                    [x] => -42.9212
                    [y] => -46.136
                    [z] => 0.000000953674
                    [scale] => 0.75
                    [rot] => 3.92699
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [20] => Array
                (
                    [x] => -42.2324
                    [y] => 38.7475
                    [z] => 25.6
                    [scale] => 0.75
                    [rot] => 2.3562
                    [file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [21] => Array
                (
                    [x] => -58.4059
                    [y] => -50.302
                    [z] => 108.8
                    [scale] => 0.75
                    [rot] => 5.70723
                    [file] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [22] => Array
                (
                    [x] => 51.4411
                    [y] => -56.0095
                    [z] => 108.8
                    [scale] => 0.75
                    [rot] => 5.70723
                    [file] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [23] => Array
                (
                    [x] => 57.2848
                    [y] => 51.5237
                    [z] => 108.8
                    [scale] => 0.75
                    [rot] => 5.70723
                    [file] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [24] => Array
                (
                    [x] => -57.177
                    [y] => 55.5661
                    [z] => 108.8
                    [scale] => 0.75
                    [rot] => 5.70723
                    [file] => Abilities\Weapons\WitchDoctorMissile\WitchDoctorMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DMG_TO_NATURE
                    [base] => 0.5
                    [add] => 0
                )

            [1] => Array
                (
                    [id] => MOD_DMG_TO_ORC
                    [base] => 0.5
                    [add] => 0
                )

            [2] => Array
                (
                    [id] => MOD_DMG_TO_HUMANOID
                    [base] => 0.5
                    [add] => 0
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Tower Creation
                    [code] => set tower.userInt = 0
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Tower Details
                    [code] => call lfValue.setValue(0,I2S(tower.userInt))
    return lfValue
                    [values] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [name] => Header
                    [code] => globals
        MultiboardValues lfValue
    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
        set lfValue=MultiboardValues.create(1)
        call lfValue.setKey(0,"Lifeforce Stored")  
	endfunction
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [3] => Array
                (
                    [name] => Autocast
                    [code] => local real x = tower.getX()
    local real y = tower.getY()
    local Effect Boom
    local integer UID = tower.getUID()
    if tower.userInt > 0 then
        set Boom = Effect.createAnimatedScaled("Units\\NightElf\\Wisp\\WispExplode.mdl",x,y,0,0,8.0)
        call Boom.setAnimationSpeed(.6)
        call Boom.setLifetime(2.0)
        set Boom = Effect.createAnimatedScaled("Units\\NightElf\\Wisp\\WispExplode.mdl",x,y,0,0,8.0)
        call Boom.setAnimationSpeed(.7)
        call Boom.setLifetime(2.0)
        set Boom = Effect.createAnimatedScaled("Units\\NightElf\\Wisp\\WispExplode.mdl",x,y,0,0,8.0)
        call Boom.setAnimationSpeed(.8)
        call Boom.setLifetime(2.0)
        set Boom = Effect.createAnimatedScaled("Units\\NightElf\\Wisp\\WispExplode.mdl",x,y,0,0,8.0)
        call Boom.setAnimationSpeed(.9)
        call Boom.setLifetime(2.0)
        call TriggerSleepAction(0.5)
        if tower.getUID() == UID then
            call tower.doSpellDamagePBAoE(1600.0,tower.userInt*15*tower.userInt2,tower.calcSpellCritNoBonus(),0.0)
            set tower.userInt = R2I(tower.userInt*0.5)
        endif
    endif
                    [values] => Array
                        (
                            [caster_art] => none
                            [icon] => ReplaceableTextures\CommandButtons\BTNMassTeleport.blp
                            [AUTOCAST_cooldown] => 10.0
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [AUTOCAST_isExtended] => false
                            [long_explain] => The garden uses half of the stored lifeforce to create a huge explosion, dealing |cffFFFF80[current spawn level x 15]|r spell damage in |cffFFFF801600|r AoE for each lifeforce stored.
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
                            [AUTOCAST_manacost] => 0
                            [AUTOCAST_range] => 800
                            [AUTOCAST_buffType] => 0
                            [name] => Eden's Wrath
                            [AUTOCAST_targetSelf] => false
                            [short_explain] => Using the stored lifeforce, the Garden of Eden unleashes a powerful AoE attack.
                            [AUTOCAST_targetType] => 0
                            [target_art] => none
                            [AUTOCAST_autoRange] => 800
                        )

                )

            [4] => Array
                (
                    [name] => On Kill
                    [code] => local integer category = Creep(Event.getTarget()).getCategory()
    if tower.userInt < (tower.getLevel()+5) and (category == CATEGORY_NATURE or category == CATEGORY_ORC or category == CATEGORY_HUMANOID) then
        set tower.userInt = (tower.userInt+1)
        call SFXAtUnit("Objects\\Spawnmodels\\NightElf\\NEDeathMedium\\NEDeath.mdl",tower.getUnit())
    endif
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNDarkSummoning.blp
                            [visible] => true
                            [name] => Essence of the Mortals
                            [short_explain] => Gains lifeforce from killing living units and then converts it into extra damage.
                            [long_explain] => When the garden kills a nature, orc or human unit, its lifeforce is captured in the fountain. For each lifeforce stored in the fountain, the garden deals an additional |cffFFFF80[current spawn level x 2]|r spell damage on attack. Maximum of |cffFFFF805|r stored lifeforce.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1|r maximum lifeforce
                        )

                )

            [5] => Array
                (
                    [name] => On Attack
                    [code] => local Creep target = Event.getTarget()
    set tower.userInt2 = target.getSpawnLevel()
    call tower.doSpellDamage(target,tower.userInt*2*tower.userInt2,tower.calcSpellCritNoBonus())
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)