#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:
kentai
2019-10-24 14:55:55 +11:00
parent 62be0c475e
commit 454a5c4527
4 changed files with 110 additions and 0 deletions
+8
View File
@@ -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--------------------------------------------------------------