Core/InstanceScript: refactored load and save methods

This commit is contained in:
joschiwald committed 2014-09-07 00:42:14 +02:00
1 parent 9ab74b3910
commit ef9b4aea5e
143 files changed
+487 -1860

No files matched your search

+1 -1
View File
@@ -2581,7 +2581,7 @@ class spell_gen_oracle_wolvar_reputation : public SpellScriptLoader
// Set rep to baserep + basepoints (expecting spillover for oposite faction -> become hated)
// Not when player already has equal or higher rep with this faction
if (player->GetReputationMgr().GetReputation(factionEntry) <= repChange)
if (player->GetReputationMgr().GetReputation(factionEntry) < repChange)
player->GetReputationMgr().SetReputation(factionEntry, repChange);
// EFFECT_INDEX_2 most likely update at war state, we already handle this in SetReputation