*Some Exceptions for SetReputation, without this it is impossible to earn rep with Horde Expedition and Alliance Vanguard, by Themris

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-13 16:13:33 -07:00
parent 51da3f3433
commit f413a98862

View File

@@ -251,6 +251,14 @@ bool ReputationMgr::SetReputation(FactionEntry const* factionEntry, int32 standi
uint32 team = factionEntry->team;
int32 sharedStanding = standing; // Here we decide what the amount is to send to the others of the group.
switch(factionEntry->ID)
{
case 1037: // Alliance Vanguard
case 1052: // Horde Expedition
extraTarget = -1; // Make possible to earn rep with this two factions
break;
}
switch(team)
{
case HORDE: // When earning reputation with home city factions, 25% of the earned reputation