mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 14:07:46 +00:00
update for Empyreum
This commit is contained in:
parent
0cfb238472
commit
569fe373d1
4 changed files with 1107 additions and 5 deletions
File diff suppressed because it is too large
Load diff
|
@ -77,8 +77,8 @@ bool Sapphire::World::Manager::HousingMgr::init()
|
||||||
Logger::info( "HousingMgr: Caching housing land init data" );
|
Logger::info( "HousingMgr: Caching housing land init data" );
|
||||||
//LAND_SEL_ALL
|
//LAND_SEL_ALL
|
||||||
|
|
||||||
// 18 wards per territory, 4 territories
|
// 18 wards per territory, 5 territories
|
||||||
m_landCache.reserve( 18 * 4 );
|
m_landCache.reserve( 18 * 5 );
|
||||||
|
|
||||||
initLandCache();
|
initLandCache();
|
||||||
|
|
||||||
|
|
|
@ -502,6 +502,10 @@ Sapphire::TerritoryPtr Sapphire::World::Manager::TerritoryMgr::findOrCreateHousi
|
||||||
territoryTypeId = 649;
|
territoryTypeId = 649;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 979: // Empyreum
|
||||||
|
territoryTypeId = 980;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ bool Sapphire::HousingZone::init()
|
||||||
housingIndex = 2;
|
housingIndex = 2;
|
||||||
else if( m_territoryTypeId == 641 )
|
else if( m_territoryTypeId == 641 )
|
||||||
housingIndex = 3;
|
housingIndex = 3;
|
||||||
else if (m_territoryTypeId == 979 )
|
else if( m_territoryTypeId == 979 )
|
||||||
housingIndex = 4;
|
housingIndex = 4;
|
||||||
|
|
||||||
auto& exdData = Common::Service< Data::ExdDataGenerated >::ref();
|
auto& exdData = Common::Service< Data::ExdDataGenerated >::ref();
|
||||||
|
|
Loading…
Add table
Reference in a new issue