public static MaplePacket cancelForeignBuff(int cid, List<MapleBuffStat> statups) {
        MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
        mplew.writeShort(SendPacketOpcode.CANCEL_FOREIGN_BUFF);
        mplew.writeInt(cid);
        long mask = getLongMaskFromList(statups);
        mplew.writeLong(isFirstLong(statups) ? mask : 0);
        mplew.writeLong(isFirstLong(statups) ? 0 : mask);
        return mplew.getPacket();
    }