/* * This file is part of the OdinMS Maple Story Server Copyright (C) 2008 ~ 2010 * Patrick Huy <patrick.huy@frz.cc> Matthias Butz <matze@odinms.de> Jan * Christian Meyer <vimes@odinms.de> * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation. You may not use, modify or distribute this * program under any other version of the GNU Affero General Public License. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package javastory.channel.client; public enum Disease { NULL(0x0), SLOW(0x1), MORPH(0x2), // turns into an orange mushroom SEDUCE(0x80), ZOMBIFY(0x4000, true), // 00 00 00 00 00 00 00 01 REVERSE_DIRECTION(0x80000), WERID_FLAME(0x08000000), CURSE(0x800000000000L), STUN(0x2000000000000L), POISON(0x4000000000000L), SEAL(0x8000000000000L), DARKNESS(0x10000000000000L), WEAKEN(0x4000000000000000L), ; // 0x100 is disable skill except buff private long i; private boolean first; private Disease(final long i) { this.i = i; this.first = false; } private Disease(final long i, final boolean first) { this.i = i; this.first = first; } public boolean isFirst() { return this.first; } public long getValue() { return this.i; } }