Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Name] => Lich Mask
            [Art] => ReplaceableTextures\CommandButtons\BTNLichVersion2.blp
            [Ubertip] => They make great party favor! Although they do melt your face off.
            [abilList] => Array
                (
                )

        )

    [settings] => Array
        (
            [author] => cedi
            [authorDisplay] => DreamStrider
            [balanceTip] => Array
                (
                )

            [rarity] => rare
            [goldcost] => 450
            [version] => 1.0
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local Tower T = itm.getCarrier()
    local Creep C = Event.getTarget()   //Remove original dmg bonus                                 |Add
    
    if itm.userReal >= 100.0 then
        set Event.damage = Event.damage     / T.getAttackType().getDamageAgainst( C.getArmorType() )    * AttackType.DECAY.getDamageAgainst( C.getArmorType() )
        call SFXOnUnit( "Abilities\\Spells\\Undead\\DeathandDecay\\DeathandDecayTarget.mdl", C.getUnit(), "chest" )
        set itm.userReal = itm.userReal - 100.0
        call itm.setCharges( R2I( itm.userReal ) )
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [name] => Breath of Decay
                            [goldcost] => 450
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [explain] => On attack, this item can change the carrier's attacktype to |cff808000Decay|r at the cost of |cffFFFF80100|r charges. Regenerates |cffFFFF8050|r charges per attack. This effect is not visible on the tower itself.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1|r charge regenerated
                        )

                )

            [1] => Array
                (
                    [name] => On Item Pickup
                    [code] => set itm.userReal = 0.0
    call itm.setCharges( 0 )
                    [values] => Array
                        (
                            [visible] => false
                            [name] => 
                            [goldcost] => 0
                            [explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => On Attack
                    [code] => set itm.userReal = itm.userReal + 50.0 + 1.0 * itm.getCarrier().getLevel()
    call itm.setCharges( R2I( itm.userReal ) )
                    [values] => Array
                        (
                            [visible] => false
                            [name] => 
                            [goldcost] => 0
                            [explain] => 
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)