mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
*Do not allow players to use vehicles to go further than 1st boss in Ulduar.
--HG-- branch : trunk
This commit is contained in:
@@ -20247,6 +20247,18 @@ void Player::UpdateAreaDependentAuras( uint32 newArea )
|
||||
if(itr->second->autocast && itr->second->IsFitToRequirements(this,m_zoneUpdateId,newArea))
|
||||
if( !HasAura(itr->second->spellId) )
|
||||
CastSpell(this,itr->second->spellId,true);
|
||||
|
||||
if(newArea == 4273 && m_Vehicle && GetPositionX() > 400) // Ulduar
|
||||
{
|
||||
switch(m_Vehicle->GetEntry())
|
||||
{
|
||||
case 33062:
|
||||
case 33109:
|
||||
case 33060:
|
||||
m_Vehicle->Dismiss();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
uint32 Player::GetCorpseReclaimDelay(bool pvp) const
|
||||
|
||||
Reference in New Issue
Block a user