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

            [targs1] => Array
                (
                )

            [goldcost] => 1200
            [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 Head Hunters inside, which will try to break through every armor.
            [abilList] => Array
                (
                )

            [launchZ] => 48
            [Name] => Fortified Burrow
            [Missileart] => abilities\weapons\huntermissile\huntermissile.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNTrollBurrow.blp
            [buildingShadow] => ShadowTrollBurrow
            [unitSound] => TrollBurrow
            [sides1] => 1
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

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

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

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

    [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] => -19.8988
                    [y] => -18.1873
                    [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] => -3.45281
                    [y] => -1.93711
                    [z] => 57.6
                    [scale] => 0.5
                    [rot] => 3.92699
                    [file] => Doodads\LordaeronSummer\Props\TutorialOrcBanner\TutorialOrcBanner.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.3+0.012*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] => |cffFFFF8030%|r of this tower's attack damage cannot be reduced by armor resistances.|n|n|cffFF8000Level Bonus:|r|n+|cffFFFF801.2%|r damage ratio
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)