Scripts/Commands: Make the .modify reputation command only modify the specified reputation (ignore spillovers)

Patch by @ogeraisi
This commit is contained in:
Subv
2012-04-15 09:30:34 -05:00
parent 3d8aaabaf3
commit c7eeb0b59c

View File

@@ -1234,7 +1234,7 @@ public:
return false;
}
target->GetReputationMgr().SetReputation(factionEntry, amount);
target->GetReputationMgr().SetOneFactionReputation(factionEntry, amount);
handler->PSendSysMessage(LANG_COMMAND_MODIFY_REP, factionEntry->name[handler->GetSessionDbcLocale()], factionId,
handler->GetNameLink(target).c_str(), target->GetReputationMgr().GetReputation(factionEntry));
return true;