Core/InstanceScript: refactored load and save methods

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

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