Core/InstanceScript: refactored load and save methods
This commit is contained in:
1 parent
9ab74b3910
commit
ef9b4aea5e
143 files changed
+487
-1860
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user