Fixes for bug wherein illusions other than PC races could be exploited.

Fixed for areas that neglected to take into account alliance and item faction
bonuses.
This commit is contained in:
Noudess committed 2019-02-07 14:48:31 -05:00
1 parent 46ead8e29e
commit ad97968d5e
6 files changed
+28 -11

No files matched your search

+1 -1
View File
@@ -1046,7 +1046,7 @@ void PerlembParser::ExportMobVariables(bool isPlayerQuest, bool isGlobalPlayerQu
if (mob && npcmob && mob->IsClient()) {
Client* client = mob->CastToClient();
fac = client->GetFactionLevel(client->CharacterID(), npcmob->GetID(), client->GetRace(),
fac = client->GetFactionLevel(client->CharacterID(), npcmob->GetID(), client->GetFactionRace(),
client->GetClass(), client->GetDeity(), npcmob->GetPrimaryFaction(), npcmob);
}
}