|
|
@ -1311,7 +1311,7 @@ NLMISC_COMMAND(getFame, "get/set fame of player", "<uid> <faction> [<value>] [<e
|
|
|
|
CFameManager::getInstance().enforceFameCaps(c->getId(), c->getOrganization(), c->getAllegiance());
|
|
|
|
CFameManager::getInstance().enforceFameCaps(c->getId(), c->getOrganization(), c->getAllegiance());
|
|
|
|
// set tribe fame threshold and clamp fame if necessary
|
|
|
|
// set tribe fame threshold and clamp fame if necessary
|
|
|
|
CFameManager::getInstance().setAndEnforceTribeFameCap(c->getId(), c->getAllegiance());
|
|
|
|
CFameManager::getInstance().setAndEnforceTribeFameCap(c->getId(), c->getAllegiance());
|
|
|
|
fame = CFameInterface::getInstance().getFameIndexed(c->getId(), factionIndex);
|
|
|
|
fame = CFameInterface::getInstance().getFameIndexed(c->getId(), c->getOrganization(), factionIndex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
log.displayNL("%d", fame);
|
|
|
|
log.displayNL("%d", fame);
|
|
|
|