1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-02 00:47:45 +00:00

Merge pull request #808 from dude22072/ThreePointOh

[3.0] Add Rising Stones to EasyWarp command
This commit is contained in:
Mordred 2022-02-28 08:54:52 +01:00 committed by GitHub
commit ce415c718f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1444,6 +1444,8 @@ void DebugCommandMgr::easyWarp( char* data, Sapphire::Entity::Player& player, st
warpMgr.requestMoveTerritory( player, Common::WarpType::WARP_TYPE_GM, terriMgr.getZoneByTerritoryTypeId( 132 )->getGuId(), { 43.729f, -7.96559f, 103.965f }, -1.59436f ); warpMgr.requestMoveTerritory( player, Common::WarpType::WARP_TYPE_GM, terriMgr.getZoneByTerritoryTypeId( 132 )->getGuId(), { 43.729f, -7.96559f, 103.965f }, -1.59436f );
else if( subCommand == "observatorium" ) else if( subCommand == "observatorium" )
warpMgr.requestMoveTerritory( player, Common::WarpType::WARP_TYPE_GM, terriMgr.getZoneByTerritoryTypeId( 155 )->getGuId(), { 224.965f, 221.958f, 301.33f }, -0.0316129f ); warpMgr.requestMoveTerritory( player, Common::WarpType::WARP_TYPE_GM, terriMgr.getZoneByTerritoryTypeId( 155 )->getGuId(), { 224.965f, 221.958f, 301.33f }, -0.0316129f );
else if( subCommand == "rising_stones" )
warpMgr.requestMoveTerritory( player, Common::WarpType::WARP_TYPE_GM, terriMgr.getZoneByTerritoryTypeId( 156 )->getGuId(), { 22.7204f, 21.2639f, -635.704f }, -0.360031f );
else else
PlayerMgr::sendUrgent( player, "{0} is not a valid easyWarp location.", subCommand ); PlayerMgr::sendUrgent( player, "{0} is not a valid easyWarp location.", subCommand );
} }