1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 06:47:45 +00:00
This commit is contained in:
Dantestyle 2018-07-29 15:45:15 +02:00
parent 1ac8bb547a
commit 737ec76e11
2 changed files with 21 additions and 21 deletions

View file

@ -95,7 +95,7 @@ private:
auto QUEST_VAR_CLASS = player.getQuestUI8BH( questId ); auto QUEST_VAR_CLASS = player.getQuestUI8BH( questId );
auto QUEST_VAR_TRADE = player.getQuestUI8BL( questId ); auto QUEST_VAR_TRADE = player.getQuestUI8BL( questId );
if ( QUEST_VAR_ATTUNE == 1 && QUEST_VAR_CLASS == 1 && QUEST_VAR_TRADE == 1 ) if( QUEST_VAR_ATTUNE == 1 && QUEST_VAR_CLASS == 1 && QUEST_VAR_TRADE == 1 )
{ {
player.updateQuest( questId, SEQ_FINISH ); player.updateQuest( questId, SEQ_FINISH );
} }
@ -106,9 +106,9 @@ private:
player.playScene( getId(), 0, HIDE_HOTBAR, player.playScene( getId(), 0, HIDE_HOTBAR,
[&]( Entity::Player& player, const Event::SceneResult& result ) [&]( Entity::Player& player, const Event::SceneResult& result )
{ {
if (result.param2 == 1) if( result.param2 == 1 )
{ {
Scene00001(player); Scene00001( player );
} }
} ); } );
} }
@ -181,9 +181,9 @@ private:
player.playScene( getId(), 7, SET_EOBJ_BASE | HIDE_HOTBAR | INVIS_EOBJ, 0, 0, player.playScene( getId(), 7, SET_EOBJ_BASE | HIDE_HOTBAR | INVIS_EOBJ, 0, 0,
[&]( Entity::Player& player, const Event::SceneResult& result ) [&]( Entity::Player& player, const Event::SceneResult& result )
{ {
if ( result.param2 == 1 ) if( result.param2 == 1 )
{ {
if (player.giveQuestRewards( getId(), 0 ) ) if( player.giveQuestRewards( getId(), 0 ) )
{ {
player.finishQuest( getId() ); player.finishQuest( getId() );
} }