package client.inventory;

import java.util.Arrays;
import java.util.List;

public enum EquipAdditions {
    elemboost("elemVol", "elemVol", true),
    mobcategory("category", "damage"),
    critical("prob", "damage"),
    boss("prob", "damage"),
    mobdie("hpIncOnMobDie", "mpIncOnMobDie"),
    hpmpchange("hpChangerPerTime", "mpChangerPerTime"),
    skill("id", "level"),
    statinc("incDEX", "incINT", "incLUK", "incPAD", "incSpeed", "incSTR");

    private final String i1;
    private final String i2;
    private final String i3;
    private final String i4;
    private final String i5;
    private final String i6;
    private final boolean element;

    private EquipAdditions(final String i1, final String i2) {
        this.i1 = i1;
        this.i2 = i2;
        this.i3 = "";
        this.i4 = "";
        this.i5 = "";
        this.i6 = "";
        this.element = false;
    }

    private EquipAdditions(final String i1, final String i2, final boolean element) {
        this.i1 = i1;
        this.i2 = i2;
        this.i3 = "";
        this.i4 = "";
        this.i5 = "";
        this.i6 = "";
        this.element = element;
    }

    private EquipAdditions(final String i1, final String i2, final String i3, final String i4, final String i5, final String i6) {
        this.i1 = i1;
        this.i2 = i2;
        this.i3 = i3;
        this.i4 = i4;
        this.i5 = i5;
        this.i6 = i6;
        this.element = false;
    }

    public final String getValue1() {
        return this.i1;
    }

    public final String getValue2() {
        return this.i2;
    }

    public final String getValue3() {
        return this.i3;
    }

    public final String getValue4() {
        return this.i4;
    }

    public final String getValue5() {
        return this.i5;
    }

    public final String getValue6() {
        return this.i6;
    }

    public final boolean isElement() {
        return this.element;
    }

    public static final EquipAdditions fromString(final String str) {
        for (final EquipAdditions s : values()) {
            if (s.name().equalsIgnoreCase(str)) {
                return s;
            }
        }
        return null;
    }

    public enum RingSet {
        天使的祝福戒指(new Integer[]{Integer.valueOf(1112585), Integer.valueOf(1112586), Integer.valueOf(1112594)}),
        职业戒指(new Integer[]{Integer.valueOf(1112427), Integer.valueOf(1112428), Integer.valueOf(1112429), Integer.valueOf(1112405), Integer.valueOf(1112445), Integer.valueOf(1112591), Integer.valueOf(1112592)}),
        Evolving_Ring(new Integer[]{Integer.valueOf(1112499), Integer.valueOf(1112500), Integer.valueOf(1112501), Integer.valueOf(1112502), Integer.valueOf(1112503), Integer.valueOf(1112504), Integer.valueOf(1112505), Integer.valueOf(1112506), Integer.valueOf(1112507), Integer.valueOf(1112508), Integer.valueOf(1112509), Integer.valueOf(1112510), Integer.valueOf(1112511), Integer.valueOf(1112512), Integer.valueOf(1112513), Integer.valueOf(1112514), Integer.valueOf(1112515), Integer.valueOf(1112516), Integer.valueOf(1112517), Integer.valueOf(1112518), Integer.valueOf(1112519), Integer.valueOf(1112520), Integer.valueOf(1112521), Integer.valueOf(1112522), Integer.valueOf(1112523), Integer.valueOf(1112524), Integer.valueOf(1112525), Integer.valueOf(1112526), Integer.valueOf(1112527), Integer.valueOf(1112528), Integer.valueOf(1112529), Integer.valueOf(1112530), Integer.valueOf(1112531), Integer.valueOf(1112532), Integer.valueOf(1112533)}),
        Evolving_Ring_II(new Integer[]{Integer.valueOf(1112614), Integer.valueOf(1112615), Integer.valueOf(1112616), Integer.valueOf(1112617), Integer.valueOf(1112618), Integer.valueOf(1112619), Integer.valueOf(1112620), Integer.valueOf(1112621), Integer.valueOf(1112622), Integer.valueOf(1112623), Integer.valueOf(1112624), Integer.valueOf(1112625), Integer.valueOf(1112626), Integer.valueOf(1112627), Integer.valueOf(1112628), Integer.valueOf(1112629), Integer.valueOf(1112630), Integer.valueOf(1112631), Integer.valueOf(1112632), Integer.valueOf(1112633), Integer.valueOf(1112634), Integer.valueOf(1112635), Integer.valueOf(1112636), Integer.valueOf(1112637), Integer.valueOf(1112638), Integer.valueOf(1112639), Integer.valueOf(1112640), Integer.valueOf(1112641), Integer.valueOf(1112642), Integer.valueOf(1112643), Integer.valueOf(1112644), Integer.valueOf(1112645), Integer.valueOf(1112646), Integer.valueOf(1112647), Integer.valueOf(1112648)});

        public List<Integer> id;

        private RingSet(final Integer[] ids) {
            this.id = Arrays.asList(ids);
        }
    }
}
