Scripts/Commands: Make the .modify reputation command only modify the specified reputation (ignore spillovers)
Patch by @ogeraisi
This commit is contained in:
1 parent
3d8aaabaf3
commit
c7eeb0b59c
1 file changed
+1
-1
@@ -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