mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
#faction -- Displays Target NPC's Primary faction
#faction Find [criteria | all] -- Displays factions name & id #faction Review [criteria | all] -- Review Targeted Players faction hits #faction Reset [id] -- Reset Targeted Players specified faction to base
This commit is contained in:
@@ -7694,6 +7694,14 @@ FACTION_VALUE Client::GetReverseFactionCon(Mob* iOther) {
|
||||
return GetFactionLevel(CharacterID(), 0, GetFactionRace(), GetClass(), GetDeity(), iOther->GetPrimaryFaction(), iOther);
|
||||
}
|
||||
|
||||
bool Client::ReloadCharacterFaction(Client *c, uint32 facid, uint32 charid)
|
||||
{
|
||||
if (database.SetCharacterFactionLevel(charid, facid, 0, 0, factionvalues))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
//o--------------------------------------------------------------
|
||||
//| Name: GetFactionLevel; Dec. 16, 2001
|
||||
//o--------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user