Ejemplo n.º 1
0
  public void unsetAbnormal(int mask) {
    int count = 0;
    for (Effect effect : abnormalEffectMap.values()) {
      if ((effect.getAbnormals() & mask) == mask) count++;
    }
    if (count <= 1) abnormals &= ~mask;

    if (owner instanceof Player) {
      PacketSendUtility.sendPacket((Player) owner, new SM_SKILL_LIST((Player) owner));
    }
  }