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

            [Art] => ReplaceableTextures\CommandButtons\BTNDarkPortal.blp
            [dmgplus1] => 3199
            [bldtm] => 1
            [goldcost] => 2800
            [sides1] => 1
            [acquire] => 800
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Portal to Swine Inferno
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => buildings\other\SacrificialAltar\SacrificialAltar.mdl
            [uberSplat] => OSMA
            [Missileart] => none.mdl
            [Missilespeed] => 10000
            [dice1] => 1
            [RngBuff1] => 250
            [green] => 180
            [modelScale] => 0.6
            [rangeN1] => 950
            [atkType1] => pierce
            [cool1] => 4
            [Ubertip] => Attacks with a rampage of exploding pigs straight from the Swine Inferno.
            [blue] => 180
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00+25% |rdmg to air
            [abil_factor] => 0.22101
            [author] => Deemzul
            [alpha] => 255
            [authorDisplay] => Deemzul
            [version] => 1.0
            [element] => fire
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -52.5319
                    [y] => -19.5765
                    [z] => 0
                    [scale] => 1.29
                    [rot] => 0
                    [file] => Doodads\Outland\Props\Stake\Stake1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => 19.4682
                    [y] => 52.4235
                    [z] => 0
                    [scale] => 1.29
                    [rot] => 0
                    [file] => Doodads\Outland\Props\Stake\Stake1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -33.5292
                    [y] => -51.0657
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 4.59022
                    [file] => Doodads\Ashenvale\Props\ScorchedRemains\ScorchedRemains1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 2.74562
                    [y] => -51.964
                    [z] => 0
                    [scale] => 0.99
                    [rot] => 0
                    [file] => Doodads\Outland\Props\Stake\Stake1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -12.0371
                    [y] => 16.6721
                    [z] => 128
                    [scale] => 1.0375
                    [rot] => 5.46474
                    [file] => units\critters\Felboar\Felboar.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 3.92449
                    [y] => -44.5336
                    [z] => -6.4
                    [scale] => 0.575
                    [rot] => 4.93346
                    [file] => Doodads\Ashenvale\Props\ScorchedRemains\ScorchedRemains1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 40.92
                    [y] => -3.71735
                    [z] => 0
                    [scale] => 0.475
                    [rot] => 6.05315
                    [file] => Doodads\Ashenvale\Props\ScorchedRemains\ScorchedRemains1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => -53.9336
                    [y] => -6.83991
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 0.238412
                    [file] => Doodads\Ashenvale\Props\ScorchedRemains\ScorchedRemains1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 32.3469
                    [y] => -36.4995
                    [z] => 0
                    [scale] => 0.525
                    [rot] => 5.63166
                    [file] => Doodads\Ashenvale\Props\ScorchedRemains\ScorchedRemains1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => 18.9528
                    [y] => -20.7133
                    [z] => 12.8
                    [scale] => 0.475
                    [rot] => 5.63166
                    [file] => Doodads\Ashenvale\Props\ScorchedRemains\ScorchedRemains1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => -23.626
                    [y] => -29.0013
                    [z] => 12.8
                    [scale] => 0.575
                    [rot] => 4.59022
                    [file] => Doodads\Ashenvale\Props\ScorchedRemains\ScorchedRemains1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => 50.7192
                    [y] => -3.25993
                    [z] => 0
                    [scale] => 0.99
                    [rot] => 0
                    [file] => Doodads\Outland\Props\Stake\Stake1.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_AIR
                    [base] => 0.25
                    [add] => 0
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => call PigNuggetOnAttack(tower,Event.getTarget(),2,3,310+tower.getLevel()*2,0.15 + 0.004*tower.getLevel(),400 + 8)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNPig.blp
                            [name] => Angry Pigs
                            [short_explain] => Attacks with a rampage of |cffFFFF803|r exploding pigs that deal attack damage to a single target and spell damage in AoE.
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => Attacks with a rampage of |cffFFFF803|r pigs from hell. Pigs will home in on creeps and explode upon contact, dealing the tower's attack damage to the main target and splashing an extra |cffFFFF8015%|r of the tower's attack damage in |cffFFFF80375|r AoE as spell damage, divided by the number of creeps hit.|n|nPigs move at |cffFFFF80400|r speed and home in on targets from |cffFFFF80310|r range.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+2|r homing range|n|cffFFFF80+0.4%|r splash damage|n|cffFFFF80+1|r pig at levels |cffFFFF805|r and |cffFFFF8015|r|n|cffFFFF80+8|r pig speed
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    endglobals
    

    //@import
    function PigNuggetOnAttack takes Tower tower, Unit target, integer model, integer pigs, real homerange, real splash, integer speed returns nothing
    endfunction
    
    //@import
    function autopigs takes Tower tower, Unit target, integer model, integer pigs, real homerange, real splash, integer speed, integer size returns nothing
    endfunction
    
    private function init takes nothing returns nothing
    endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => On Kill
                    [code] => local Unit target = Event.getTarget()
    call autopigs(tower,target,2,3,310+tower.getLevel()*2,0.15 + 0.004*tower.getLevel(),400 + 8,target.getSize())
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [3] => Array
                (
                    [name] => On Damage
                    [code] => set Event.damage = 0
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => 
                        )

                )

            [4] => Array
                (
                    [name] => On Unit Comes In Range
                    [code] => local Unit target = Event.getTarget()
    call autopigs(tower,target,2,3,310+tower.getLevel()*2,0.15 + 0.004*tower.getLevel(),400 + 8,target.getSize())
                    [values] => Array
                        (
                            [UNITINRANGE_targetType] => TARGET_TYPE_CREEPS
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNFelBoar.blp
                            [name] => Initiative
                            [short_explain] => Every |cffFFFF8016th|r time a creep comes within |cffFFFF801400|r range of this tower, a rampage of pigs will be released at it.|n|nLarger than mass creeps cause pigs to release more often.
                            [UNITINRANGE_range] => 1400
                            [long_explain] => Every |cffFFFF8016th|r time a creep comes within |cffFFFF801400|r range of this tower, a rampage of pigs will be released at it.|nWhen this tower kills a creep, the kill counts towards this counter as if the creep had come into the range.|n|nLarger than mass creeps cause pigs to release more often.
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)