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:
Hondacrx
2025-08-21 22:27:48 -04:00
parent 08e47f5c28
commit d64045154a
@@ -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