public final int setRep(final int cid, int addrep, final int oldLevel, final String oldName) {
        final MapleFamilyCharacter mgc = getMFC(cid);
        if (mgc != null && mgc.getFamilyId() == id) {
            if (oldLevel > mgc.getLevel()) {
                addrep /= 2; //:D
            }

            if (mgc.isOnline()) {
                List<Integer> dummy = new ArrayList<>();
                dummy.add(mgc.getId());
                broadcast(FamilyPacket.changeRep(addrep, oldName), -1, dummy);
                World.Family.setFamily(id, mgc.getSeniorId(), mgc.getJunior1(), mgc.getJunior2(), mgc.getCurrentRep() + addrep, mgc.getTotalRep() + addrep, mgc.getId());
            } else {
                mgc.setCurrentRep(mgc.getCurrentRep() + addrep);
                mgc.setTotalRep(mgc.getTotalRep() + addrep);
                setOfflineFamilyStatus(id, mgc.getSeniorId(), mgc.getJunior1(), mgc.getJunior2(), mgc.getCurrentRep(), mgc.getTotalRep(), mgc.getId());
            }
            return mgc.getSeniorId();
        }
        return 0;
    }