Merge pull request #926 from prestanneth/master

#Faction command
This commit is contained in:
Uleat
2019-11-07 20:26:03 -05:00
committed by GitHub
4 changed files with 126 additions and 0 deletions
+8
View File
@@ -7695,6 +7695,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--------------------------------------------------------------