Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Name] => Helm of Insanity
            [Art] => ReplaceableTextures\CommandButtons\BTNUnholyAura.blp
            [Ubertip] => Gives enormous strength but exhausts the user.
            [abilList] => Array
                (
                )

        )

    [settings] => Array
        (
            [author] => Boekie
            [authorDisplay] => |cff00CD00Boekie|r
            [balanceTip] => Array
                (
                )

            [rarity] => unique
            [goldcost] => 500
            [version] => 1.0
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local Tower tower = itm.getCarrier()
    
    if itm.userInt >= 12 and itm.userInt < 28 then
    
        set Event.damage=Event.damage*0.5 

        if Event.isMainTarget() then
            call tower.getOwner().displaySmallFloatingText("Exhausted!",tower,255, 150, 0,30)
            set itm.userInt = itm.userInt + 1
        endif

    endif


    if itm.userInt < 12 then
    
        set Event.damage=Event.damage*2 

        if Event.isMainTarget() then
            call tower.getOwner().displaySmallFloatingText("Insane!",tower,255, 150, 0,30)
            set itm.userInt = itm.userInt + 1
        endif
        
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => false
                            [name] => 
                            [goldcost] => 0
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [explain] => 
                        )

                )

            [1] => Array
                (
                    [name] => On Item Creation
                    [code] => set itm.userInt = 50
                    [values] => Array
                        (
                            [visible] => false
                            [name] => 
                            [goldcost] => 0
                            [explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => On Item Drop
                    [code] => set itm.userInt = 50
                    [values] => Array
                        (
                            [visible] => false
                            [name] => 
                            [goldcost] => 0
                            [explain] => 
                        )

                )

            [3] => Array
                (
                    [name] => Autocast
                    [code] => set itm.userInt = 0
                    [values] => Array
                        (
                            [caster_art] => 
                            [AUTOCAST_cooldown] => 120
                            [AUTOCAST_numBuffsBeforeIdle] => 0
                            [goldcost] => 500
                            [AUTOCAST_isExtended] => false
                            [AUTOCAST_autocastType] => AC_TYPE_NOAC_IMMEDIATE
                            [AUTOCAST_manacost] => 0
                            [AUTOCAST_range] => 0
                            [AUTOCAST_buffType] => 0
                            [name] => Insane Strength
                            [AUTOCAST_targetSelf] => true
                            [AUTOCAST_targetType] => 0
                            [explain] => When this item is activated the next |cffFFFF8012|r attacks will deal |cffFFFF80200%|r damage but the user becomes exhausted. When the user is exhausted it deals only |cffFFFF8050%|r damage on the next |cffFFFF8016|r attacks.
                            [target_art] => 
                            [AUTOCAST_autoRange] => 0
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)