aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Quests/QuestDef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Quests/QuestDef.cpp')
-rwxr-xr-xsrc/server/game/Quests/QuestDef.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp
index 9221da53003..c8193ec60ad 100755
--- a/src/server/game/Quests/QuestDef.cpp
+++ b/src/server/game/Quests/QuestDef.cpp
@@ -227,23 +227,3 @@ bool Quest::IsAllowedInRaid() const
return sWorld->getBoolConfig(CONFIG_QUEST_IGNORE_RAID);
}
-
-uint32 Quest::CalculateHonorGain(uint8 level) const
-{
- if (level > GT_MAX_LEVEL)
- level = GT_MAX_LEVEL;
-
- uint32 honor = 0;
-
- if (GetRewHonorAddition() > 0 || GetRewHonorMultiplier() > 0.0f)
- {
- // values stored from 0.. for 1...
- TeamContributionPointsEntry const* tc = sTeamContributionPointsStore.LookupEntry(level-1);
- if (!tc)
- return 0;
- honor = uint32(tc->value * GetRewHonorMultiplier() * 0.1000000014901161);
- honor += GetRewHonorAddition();
- }
-
- return honor;
-}