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

            [targs1] => Array
                (
                )

            [goldcost] => 2300
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 900
            [file] => buildings\other\MagicVault\MagicVault.mdl
            [modelScale] => 0.3
            [atkType1] => magic
            [weapTp1] => missile
            [acquire] => 850
            [rangeN1] => 850
            [upgrades] => Array
                (
                )

            [cool1] => 6
            [Ubertip] => Unique Tower that is able to backtrack creeps in time and changes timelines to benefit other towers by increasing their triggerchances.
            [abilList] => Array
                (
                )

            [Name] => Timevault
            [Missileart] => Abilities\Spells\Other\Drain\ManaDrainTarget.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNStaffOfTeleportation.blp
            [buildingShadow] => Array
                (
                )

            [sides1] => 100
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => SirCoqa/TrinkaLot.
            [element] => astral
            [authorDisplay] => SirCoqa/trinkaLot.
            [balanceTip] => Array
                (
                )

            [rarity] => unique
            [version] => 1.0
            [abil_factor] => 0.6
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -0.652815
                    [y] => 59.0673
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 1.59249
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -52.5198
                    [y] => -1.30641
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 1.49459
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 18.8796
                    [y] => 11.0603
                    [z] => 0
                    [scale] => 0.55
                    [rot] => 2.48418
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal1.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 100
                    [alpha] => 200
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -25.9856
                    [y] => -38.3264
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 0.271122
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal1.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 100
                    [alpha] => 200
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -7.56072
                    [y] => 25.4485
                    [z] => 0
                    [scale] => 0.6
                    [rot] => 0.75053
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal1.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 100
                    [alpha] => 200
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 1.42519
                    [y] => -35.9283
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 0.339285
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal7.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 100
                    [alpha] => 200
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 44.7589
                    [y] => -8.16642
                    [z] => 0
                    [scale] => 0.4
                    [rot] => 5.5918
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal7.mdl
                    [red] => 255
                    [green] => 175
                    [blue] => 100
                    [alpha] => 200
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 52.7497
                    [y] => 1.35401
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 1.52003
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -1.86852
                    [y] => -56.558
                    [z] => 0
                    [scale] => 0.45
                    [rot] => 4.73429
                    [file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.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 Damage
                    [code] => local Creep target = Event.getTarget()
 local real sirX
 local real sirY
 local integer sirId
 local unit creep
 local effect e
    if target.getSize() < SIZE_BOSS or tower.calcChance(0.20+tower.getLevel()*0.005) then
        set sirId = target.getUID()
        set creep = target.getUnit()
        set sirX = GetUnitX(creep)
        set sirY = GetUnitY(creep)
        set e = AddSpecialEffectTarget("Abilities\\Spells\\Other\\Drain\\ManaDrainTarget.mdl",creep,"origin")
        call TriggerSleepAction(3.0)
        call DestroyEffect(e)
        set e = null
        if target.getUID() == sirId then
            call SetUnitX(creep, sirX)
            call SetUnitY(creep, sirY)
            call SFXAtUnit("Abilities\\Spells\\Human\\MassTeleport\\MassTeleportCaster.mdl",creep)
        endif
    endif
    set creep = null
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [icon] => ReplaceableTextures\CommandButtons\BTNStaffOfTeleportation.blp
                            [visible] => true
                            [name] => Time Travel
                            [short_explain] => This tower is able to send units back in time
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => Damaged targets will be teleported |cffFFFF803|r seconds back in time after |cffFFFF803|r seconds delay. Has a |cffFFFF8020%|r chance to teleport bosses, all others will be always teleported. |n|n|cffFF8000Level Bonus:|r|n |cffFFFF80+0.5%|r chance for bosses
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
         //@export
        BuffType sir_trigger_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 sir_trigger_aura = BuffType.createAuraEffectType(true)
            call m.addModification(MOD_TRIGGER_CHANCES,0.00,0.001)
            call sir_trigger_aura.setBuffModifier(m)
            call sir_trigger_aura.setBuffIcon('@@0@@')
	endfunction
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

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

                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNFeedBack.blp
                            [visible] => true
                            [AURA_auraEffect] => sir_trigger_aura
                            [AURA_power] => 300
                            [AURA_level] => 300
                            [long_explain] => Increases triggerchance of towers in |cffffff80600|r range by |cffffff8030%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r chance
                            [AURA_auraRange] => 600
                            [AURA_targetType] => TARGET_TYPE_TOWERS
                            [AURA_levelAdd] => 6
                            [AURA_powerAdd] => 6
                            [name] => Timesurge
                            [AURA_targetSelf] => false
                            [short_explain] => Increases the chance for other towers to use their triggerbased abilities.
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BHab
                    [oeValues] => Array
                        (
                            [Bufftip] => Timesurge
                            [Buffubertip] => This unit has a higher chance to trigger percentbased abilities.
                            [Buffart] => ReplaceableTextures\PassiveButtons\PASBTNFeedBack.blp
                            [TargetArt] => Array
                                (
                                )

                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => true
                    [category] => global
                    [typ] => BuffType
                    [name] => sir_trigger_aura
                )

        )

)