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

            [targs1] => Array
                (
                )

            [goldcost] => 2500
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 1500
            [file] => buildings\orc\TrollBurrow\TrollBurrow.mdl
            [atkType1] => siege
            [modelScale] => 0.8
            [weapTp1] => missile
            [acquire] => 800
            [rangeN1] => 700
            [upgrades] => Array
                (
                )

            [cool1] => 3
            [Ubertip] => A burrow with Troll Berserkers inside, which will break through every armor.
            [abilList] => Array
                (
                )

            [launchZ] => 48
            [Name] => Magic Enhanced Burrow
            [Missileart] => Abilities\Weapons\SearingArrow\SearingArrowMissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNTrollBurrow.blp
            [buildingShadow] => ShadowTrollBurrow
            [unitSound] => TrollBurrow
            [sides1] => 1
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

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

    [settings] => Array
        (
            [author] => tolleder
            [element] => iron
            [authorDisplay] => tolleder
            [alpha] => 255
            [balanceTip] => Array
                (
                )

            [rarity] => uncommon
            [version] => 1.0
            [abil_factor] => 0.74
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -1.13582
                    [y] => 1.4623
                    [z] => 0
                    [scale] => 0.85
                    [rot] => 0
                    [file] => Abilities\Spells\Orc\SpikeBarrier\SpikeBarrier.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -22.497
                    [y] => -17.7121
                    [z] => 0
                    [scale] => 0.9
                    [rot] => 3.92699
                    [file] => Doodads\Barrens\Props\CentaurTotem\CentaurTotem2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -1.74449
                    [y] => 3.59101
                    [z] => -25.6
                    [scale] => 0.9
                    [rot] => 0
                    [file] => Abilities\Spells\Orc\ReinforcedTrollBurrow\ReinforcedTrollBurrowTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => -4.22711
                    [y] => -2.36001
                    [z] => 64
                    [scale] => 1.75
                    [rot] => 1.71042
                    [file] => Abilities\Spells\NightElf\FaerieFire\FaerieFireTarget.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -2.25839
                    [y] => -29.6519
                    [z] => 38.4
                    [scale] => 0.5
                    [rot] => 0.610865
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 4.06338
                    [y] => -2.10823
                    [z] => 51.2
                    [scale] => 1
                    [rot] => 5.4106
                    [file] => Objects\InventoryItems\BattleStandard\BattleStandard.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 18.7075
                    [y] => -21.0861
                    [z] => 38.4
                    [scale] => 0.5
                    [rot] => 1.48353
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 34.1162
                    [y] => 2.82899
                    [z] => 38.4
                    [scale] => 0.5
                    [rot] => 3.14159
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => -0.0838552
                    [y] => 36.4865
                    [z] => 38.4
                    [scale] => 0.5
                    [rot] => 0.610865
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => -30.4106
                    [y] => -13.5119
                    [z] => 38.4
                    [scale] => 0.5
                    [rot] => 5.06145
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -31.8789
                    [y] => 5.09772
                    [z] => 38.4
                    [scale] => 0.5
                    [rot] => 5.06145
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => -25.4622
                    [y] => 31.8813
                    [z] => 38.4
                    [scale] => 0.5
                    [rot] => 2.0944
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => 30.4474
                    [y] => 25.7787
                    [z] => 38.4
                    [scale] => 0.5
                    [rot] => 1.48353
                    [file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.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 real curRatio=0.4+0.016*tower.getLevel()
    local real sDmg=Event.damage
    local real damageBase=Event.damage
    local Creep target=Event.getTarget()
    local real temp = AttackType.PHYSICAL.getDamageAgainst(target.getArmorType())
    
    if temp > 0. and temp < 1. then //igoniring armor type "resistance" not weakness :P
        set damageBase = damageBase / temp 
    endif
    
    set temp = (1 - target.getCurrentArmorDamageReduction())
    if temp > 0. then
        set damageBase = damageBase / temp 
    endif 
    
    if sDmg < damageBase then
        set Event.damage=damageBase*curRatio+sDmg*(1.-curRatio)
    endif
    //The engine calculates critical strike extra damage ***AFTER*** the onDamage event, so there is no need to care about it in this trigger.
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [icon] => ReplaceableTextures\CommandButtons\BTNVorpalBlades.blp
                            [visible] => true
                            [name] => Piercing Shot
                            [short_explain] => A part of the attack damage cannot be reduced by armor resistances.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => |cffFFFF8040%|r of this tower's attack damage cannot be reduced by armor resistances.|n|n|cffFF8000Level Bonus:|r|n+|cffFFFF801.6%|r damage ratio
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)