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

            [Art] => ReplaceableTextures\CommandButtons\BTNYouDirtyRat!.blp
            [dmgplus1] => 64
            [bldtm] => 1
            [goldcost] => 50
            [sides1] => 1
            [acquire] => 800
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Infected Vermin
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => .mdl
            [uberSplat] => YTDB
            [Missileart] => Abilities\Weapons\CryptFiendMissile\CryptFiendMissile.mdl
            [Missilespeed] => 1500
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.1
            [rangeN1] => 800
            [atkType1] => hero
            [cool1] => 1.35
            [Ubertip] => The Black Death will always be on the lookout for new victims.
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

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

            [abil_factor] => 0.9
            [author] => Moppy
            [alpha] => 255
            [authorDisplay] => |c006969FFMoppy|r
            [version] => 1.0
            [element] => darkness
            [rarity] => common
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 11.0223
                    [y] => -20.0787
                    [z] => 6.4
                    [scale] => 0.5
                    [rot] => 3.75246
                    [file] => units\critters\Rat\Rat.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [1] => Array
                (
                    [x] => 0.256511
                    [y] => -4.09204
                    [z] => 0
                    [scale] => 0.375
                    [rot] => 1.5708
                    [file] => Doodads\LordaeronSummer\Props\RottenHay\RottenHay2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [2] => Array
                (
                    [x] => -13.9121
                    [y] => -15.6941
                    [z] => 12.8
                    [scale] => 0.5
                    [rot] => 5.23599
                    [file] => units\critters\Rat\Rat.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

            [3] => Array
                (
                    [x] => 10.8367
                    [y] => 11.6752
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 4.43314
                    [file] => Buildings\Other\BarrelsUnit0\BarrelsUnit0.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                    [pcolor] => 255
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
        //@export
        BuffType moppy_vermin_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
        local Modifier m = Modifier.create()
        set moppy_vermin_debuff = BuffType.create(5, 0, false)
        call m.addModification(MOD_MOVESPEED, 0.0, -0.001)
        call m.addModification(MOD_DMG_FROM_DARKNESS, 0.0, 0.001)
        call moppy_vermin_debuff.setBuffModifier(m)
        call moppy_vermin_debuff.setBuffIcon('@@0@@')        
	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local real SlowDmg = 0.0625 + (tower.getLevel() * 0.00125)
    local integer Power = R2I (SlowDmg / 0.001)
    call moppy_vermin_debuff.applyCustomPower(tower, Event.getTarget(), tower.getLevel(), Power)
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.15
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNLocustSwarm.blp
                            [name] => Bubonic Plague
                            [short_explain] => The tower has a chance on hit to infect the target creep, both slowing it and increasing damage it takes from |cFF8A5300Darkness|r towers.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => The tower has a |cffFFFF8015%|r chance on hit to infect the target creep, both slowing it and increasing damage it takes from |cFF8A5300Darkness|r towers by |cffFFFF806.25%|r. Lasts |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.125%|r slow and damage taken
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BNab
                    [oeValues] => Array
                        (
                            [Targetattach] => overhead
                            [EditorName] => Bubonic Plague
                            [Buffubertip] => Slowed and receiving increased damage from Darkness towers.
                            [TargetArt] => Abilities\Spells\Undead\Curse\CurseTarget.mdl
                            [Bufftip] => Bubonic Plague
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNLocustSwarm.blp
                        )

                )

        )

    [units] => Array
        (
        )

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

        )

    [lightning] => Array
        (
        )

)