mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-05 18:27:47 +00:00
Fixing formatting and spacing
This commit is contained in:
parent
724dbf367b
commit
6728724232
1 changed files with 22 additions and 27 deletions
|
@ -65,13 +65,9 @@ private:
|
|||
static constexpr auto SEQ_0_ACTOR0_LQ = 50;
|
||||
|
||||
public:
|
||||
ManWil004() : Sapphire::ScriptAPI::QuestScript( 66106 )
|
||||
{
|
||||
};
|
||||
ManWil004() : Sapphire::ScriptAPI::QuestScript( 66106 ){};
|
||||
|
||||
~ManWil004()
|
||||
{
|
||||
};
|
||||
~ManWil004(){};
|
||||
|
||||
void onTalk( World::Quest& quest, Entity::Player& player, uint64_t actorId ) override
|
||||
{
|
||||
|
@ -94,9 +90,9 @@ public:
|
|||
else if( actorId == Aetheryte0 )
|
||||
{
|
||||
|
||||
eventMgr().eventActionStart( player, 0x050002, 0x13,
|
||||
[ & ]( Entity::Player& player, uint32_t eventId, uint64_t additional )
|
||||
{
|
||||
eventMgr().eventActionStart(
|
||||
player, 0x050002, 0x13,
|
||||
[ & ]( Entity::Player& player, uint32_t eventId, uint64_t additional ) {
|
||||
eventMgr().sendEventNotice( player, 0x050002, 0, 1, 0, 0 );
|
||||
player.registerAetheryte( 2 );
|
||||
player.setRewardFlag( Common::UnlockEntry::Return );
|
||||
|
@ -107,7 +103,6 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
|
||||
//varIdx refers to the noticeId
|
||||
void checkQuestCompletion( World::Quest& quest, Entity::Player& player, uint32_t varIdx )
|
||||
{
|
||||
|
@ -194,7 +189,8 @@ private:
|
|||
if( result.getResult( 0 ) == 1 )
|
||||
{
|
||||
Scene00005( player );
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -215,7 +211,6 @@ private:
|
|||
void Scene00008( Entity::Player& player )
|
||||
{
|
||||
eventMgr().playQuestScene( player, getId(), SEQ_1_ACTOR8, SET_EOBJ_BASE | HIDE_HOTBAR | INVIS_EOBJ, bindSceneReturn( &ManWil004::Scene00008Return ) );
|
||||
|
||||
}
|
||||
|
||||
void Scene00008Return( World::Quest& quest, Entity::Player& player, const Event::SceneResult& result )
|
||||
|
|
Loading…
Add table
Reference in a new issue