Core/Quests: Fixed quest experience rewards - it should always be awarded for all completions of repeatable quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/82f19c898815e3bc5bb6288b0191ee897594f9b5)
This commit is contained in:
@@ -870,12 +870,6 @@ namespace Game.Entities
|
||||
|
||||
public uint GetQuestXPReward(Quest quest)
|
||||
{
|
||||
bool rewarded = IsQuestRewarded(quest.Id) && !quest.IsDFQuest();
|
||||
|
||||
// Not give XP in case already completed once repeatable quest
|
||||
if (rewarded)
|
||||
return 0;
|
||||
|
||||
uint XP = (uint)(quest.XPValue(this) * WorldConfig.GetFloatValue(WorldCfg.RateXpQuest));
|
||||
|
||||
// handle SPELL_AURA_MOD_XP_QUEST_PCT auras
|
||||
|
||||
Reference in New Issue
Block a user