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

            [Art] => ReplaceableTextures\CommandButtons\BTNMoonStone.blp
            [dmgplus1] => 59
            [bldtm] => 1
            [goldcost] => 50
            [sides1] => 1
            [acquire] => 825
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Chilled Shard
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => .mdl
            [uberSplat] => YTDN
            [Missilespeed] => 1500
            [Missileart] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.1
            [rangeN1] => 825
            [atkType1] => normal
            [cool1] => 1.3
            [Ubertip] => The ice-cold headache you never asked for.
            [abilList] => Array
                (
                )

            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00+5% |rdmg to champions (|cffFFFF00+0.2%|r/lvl)|n|cffFFFF00+5% |rdmg to bosses (|cffFFFF00+0.2%|r/lvl)
            [abil_factor] => 0.90
            [author] => Moppy
            [alpha] => 255
            [authorDisplay] => |c006969FFMoppy|r
            [version] => 1.0
            [element] => ice
            [rarity] => common
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 0.0900207
                    [y] => -1.50669
                    [z] => 0
                    [scale] => 0.18
                    [rot] => 1.5708
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
                    [red] => 1
                    [green] => 200
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

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

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DMG_TO_CHAMPION
                    [base] => 0.05
                    [add] => 0.002
                )

            [1] => Array
                (
                    [id] => MOD_DMG_TO_BOSS
                    [base] => 0.05
                    [add] => 0.002
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => Header
                    [code] => globals
    //@export
    BuffType moppy_brainfreeze_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_brainfreeze_debuff = BuffType.create(1, 0, false)
        call m.addModification(MOD_MOVESPEED, 0.0, -0.001)
        call moppy_brainfreeze_debuff.setBuffModifier(m)
        call moppy_brainfreeze_debuff.setBuffIcon('@@0@@')
	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Damage
                    [code] => local real Slow = 0.2 + (tower.getLevel() * 0.004)
    local integer Power = R2I (Slow / 0.001)
    local integer lvl = tower.getLevel()
        set tower.userInt = tower.userInt +1
        if tower.userInt >= 3 then
            call moppy_brainfreeze_debuff.applyCustomPower(tower, Event.getTarget(), lvl, Power)
            set Event.damage = Event.damage * (1.1 + (lvl * 0.002))
            set tower.userInt = 0
        endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNFrostArmor.blp
                            [name] => Brainfreeze
                            [short_explain] => Every |cffFFFF803rd|r attack deals bonus damage and briefly slows the target creep.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => Every |cffFFFF803rd|r attack deals |cffFFFF8010%|r bonus damage and slows the target creep by |cffFFFF8020%|r for |cffFFFF801|r second.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r bonus damage|n|cffFFFF80+0.4%|r slow
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BNab
                    [oeValues] => Array
                        (
                            [EditorName] => Brainfreeze
                            [Buffubertip] => Slowed.
                            [TargetArt] => Abilities\Spells\Other\FrostDamage\FrostDamage.mdl
                            [Bufftip] => Brainfreeze
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNFrostArmor.blp
                        )

                )

        )

    [units] => Array
        (
        )

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

        )

    [lightning] => Array
        (
        )

)