mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10721] Use required_quest instead of _heroic for non_instance areatrigger teleport
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
4aa239ac8c
commit
ff56ee3db2
2 changed files with 3 additions and 3 deletions
|
|
@ -781,14 +781,14 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
|
|||
}
|
||||
|
||||
uint32 missingQuest = 0;
|
||||
if (!isRegularTargetMap)
|
||||
if (!isRegularTargetMap && mapEntry->IsDungeon())
|
||||
{
|
||||
if (at->requiredQuestHeroic && !GetPlayer()->GetQuestRewardStatus(at->requiredQuestHeroic))
|
||||
missingQuest = at->requiredQuestHeroic;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(at->requiredQuest && !GetPlayer()->GetQuestRewardStatus(at->requiredQuest))
|
||||
if (at->requiredQuest && !GetPlayer()->GetQuestRewardStatus(at->requiredQuest))
|
||||
missingQuest = at->requiredQuest;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue