Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNEntanglemine.blp
            [dmgplus1] => 943
            [bldtm] => 1
            [goldcost] => 1900
            [sides1] => 101
            [acquire] => 800
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Afflicted Altar
            [red] => 150
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => Doodads\Ashenvale\Props\AshenObilisk\AshenObilisk.mdl
            [uberSplat] => ESMB
            [Missileart] => Abilities\Weapons\ChimaeraAcidMissile\ChimaeraAcidMissile.mdl
            [Missilespeed] => 1500
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.5
            [rangeN1] => 1000
            [atkType1] => chaos
            [cool1] => 1.13
            [Ubertip] => Something might hatch here soon...ish
            [blue] => 150
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

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

            [abil_factor] => 0.5
            [author] => SirCoqaLot.
            [alpha] => 255
            [authorDisplay] => SirCoqaLot.
            [version] => 1.0
            [element] => nature
            [rarity] => uncommon
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -38.3243
                    [y] => -15.1131
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 3.93929
                    [file] => Doodads\Dungeon\Terrain\EggSack\EggSack0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 2.1892
                    [y] => -21.9121
                    [z] => 19.2
                    [scale] => 0.3
                    [rot] => 5.1749
                    [file] => Doodads\Dungeon\Terrain\EggSack\EggSack0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 7.83111
                    [y] => -7.45103
                    [z] => 0
                    [scale] => 0.33
                    [rot] => 4.7287
                    [file] => Doodads\Felwood\Props\FelwoodObilisk\FelwoodObilisk.mdl
                    [red] => 150
                    [green] => 255
                    [blue] => 150
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -6.55731
                    [y] => -8.46918
                    [z] => 0
                    [scale] => 0.33
                    [rot] => 3.14995
                    [file] => Doodads\Felwood\Props\FelwoodObilisk\FelwoodObilisk.mdl
                    [red] => 150
                    [green] => 255
                    [blue] => 150
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 4.60283
                    [y] => -17.3455
                    [z] => -19.2
                    [scale] => 0.3
                    [rot] => 1.23918
                    [file] => units\undead\PlagueCloud\PlagueCloud.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -16.9636
                    [y] => -14.5965
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.08287
                    [file] => Doodads\Felwood\Props\FelwoodObilisk\FelwoodObilisk.mdl
                    [red] => 150
                    [green] => 255
                    [blue] => 150
                    [alpha] => 255
                    [pitch] => -0.75
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 14.364
                    [y] => -12.4432
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 5.51963
                    [file] => Doodads\Felwood\Props\FelwoodObilisk\FelwoodObilisk.mdl
                    [red] => 150
                    [green] => 255
                    [blue] => 150
                    [alpha] => 255
                    [pitch] => -0.75
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 26.3272
                    [y] => 5.2511
                    [z] => 19.2
                    [scale] => 0.3
                    [rot] => 0.575959
                    [file] => Doodads\Dungeon\Terrain\EggSack\EggSack0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -12.0389
                    [y] => -13.1997
                    [z] => 38.4
                    [scale] => 0.3
                    [rot] => 3.61278
                    [file] => Doodads\Dungeon\Terrain\EggSack\EggSack0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => -1.57
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 8.17501
                    [y] => 11.0093
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.702916
                    [file] => Doodads\Felwood\Props\FelwoodObilisk\FelwoodObilisk.mdl
                    [red] => 150
                    [green] => 255
                    [blue] => 150
                    [alpha] => 255
                    [pitch] => -0.75
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -14.2774
                    [y] => 10.3174
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 2.32293
                    [file] => Doodads\Felwood\Props\FelwoodObilisk\FelwoodObilisk.mdl
                    [red] => 150
                    [green] => 255
                    [blue] => 150
                    [alpha] => 255
                    [pitch] => -0.75
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -10.4068
                    [y] => -37.8928
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.0616112
                    [file] => Doodads\Dungeon\Terrain\EggSack\EggSack0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => 11.4478
                    [y] => -36.4028
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 5.58058
                    [file] => Doodads\Dungeon\Terrain\EggSack\EggSack0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
    //@import
    BuffType dummy_obelisk_debuff
    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
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local Unit target = Event.getTarget()
    local integer id = target.getUID()
    local integer level = tower.getLevel()
    
    call dummy_obelisk_debuff.applyCustomTimed(tower,target,0,3/tower.getProp_BuffDuration()) // applying the dummy buff to show the effect on the unot
    call target.modifyProperty(MOD_DMG_FROM_NATURE,0.035+level*0.0007) // mod property 
    
    call TriggerSleepAction(3.0)    // 3 seconds before the parasite surfaces again
    
    if target.getUID() == id then 
        call tower.doCustomAttackDamage(target,tower.getCurrentAttackDamageWithBonus(),tower.calcAttackMulticrit(0,0,0),AttackType.DECAY) //do the dmg
        call SFXAtUnit("Objects\\Spawnmodels\\Undead\\CryptFiendEggsack\\CryptFiendEggsack.mdl",target.getUnit()) //effekt
        call target.modifyProperty(MOD_DMG_FROM_NATURE,-0.035-level*0.0007) // end the modification
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNParasite.blp
                            [name] => Slumbering Parasite
                            [short_explain] => This tower deals additional Decay damage after a short delay and increases a target's vulnerability to nature towers.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => On attack this tower injects an ancient parasite into its target, which surfaces after |cffFFFF803|r seconds dealing this tower's attackdamage as |cff808000Decay|r damage to the target. Each parasite increases the creep's vulnerability to |cFF80FF00Nature|r towers by |cffffff803.5%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.07%|r |cFF80FF00Nature|r vulnerability
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

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

        )

)