Jump to content

[fix][0.12]Quest Loot in Raid


Guest Oniryck

Recommended Posts

Hi, in the last 0.12 rev. I saw that while in a raid group, with a quest flagged as RAID, you where unable to loot the required quest item. It's just a small typo from converting the old direct call the the flag to the function isAllowedInRaid()

Here is the fix :

diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 1746624..6b11490 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -13621,7 +13621,7 @@ bool Player::HasQuestForItem( uint32 itemid ) const
                continue;

            // hide quest if player is in raid-group and quest is no raid quest
-            if (GetGroup() && GetGroup()->isRaidGroup() && qinfo->IsAllowedInRaid() && !InBattleGround())
+            if (GetGroup() && GetGroup()->isRaidGroup() && !qinfo->IsAllowedInRaid() && !InBattleGround())
                continue;

            // There should be no mixed ReqItem/ReqSource drop
@@ -18604,7 +18604,7 @@ bool Player::HasQuestForGO(int32 GOId) const
            if(!qinfo)
                continue;

-            if(GetGroup() && GetGroup()->isRaidGroup() && qinfo->IsAllowedInRaid())
+            if(GetGroup() && GetGroup()->isRaidGroup() && !qinfo->IsAllowedInRaid())
                continue;

            for (int j = 0; j < QUEST_OBJECTIVES_COUNT; ++j)

Hope this can help. Sorry if it's already fixed.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use