mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/Commands: Make the .modify reputation command only modify the specified reputation (ignore spillovers)
Patch by @ogeraisi
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user