mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
typo and style
This commit is contained in:
parent
82da50d69e
commit
c189089f76
1 changed files with 3 additions and 6 deletions
|
@ -1,4 +1,3 @@
|
||||||
#include <Script/NativeScriptApi.h>
|
|
||||||
#include <Actor/Player.h>
|
#include <Actor/Player.h>
|
||||||
#include "Event/EventHelper.h"
|
#include "Event/EventHelper.h"
|
||||||
#include <ScriptObject.h>
|
#include <ScriptObject.h>
|
||||||
|
@ -88,9 +87,7 @@ class ManFst003 : public EventScript
|
||||||
player.learnAction( 1 );
|
player.learnAction( 1 );
|
||||||
Scene00051( player );
|
Scene00051( player );
|
||||||
},
|
},
|
||||||
[&]( Entity::Player& player, uint32_t eventId, uint64_t additional )
|
nullptr, eventId );
|
||||||
{},
|
|
||||||
eventId );
|
|
||||||
}
|
}
|
||||||
else if( actor == Actor2 )
|
else if( actor == Actor2 )
|
||||||
{
|
{
|
||||||
|
@ -114,7 +111,7 @@ class ManFst003 : public EventScript
|
||||||
{
|
{
|
||||||
player.sendQuestMessage( getId(), 1, 0, 0, 0 );
|
player.sendQuestMessage( getId(), 1, 0, 0, 0 );
|
||||||
}
|
}
|
||||||
else if( varIdx == 2)
|
else if( varIdx == 2 )
|
||||||
{
|
{
|
||||||
player.sendQuestMessage( getId(), 2, 0, 0, 0 );
|
player.sendQuestMessage( getId(), 2, 0, 0, 0 );
|
||||||
}
|
}
|
||||||
|
@ -172,7 +169,7 @@ class ManFst003 : public EventScript
|
||||||
player.playScene( getId(), 3, HIDE_HOTBAR,
|
player.playScene( getId(), 3, HIDE_HOTBAR,
|
||||||
[&]( Entity::Player& player, const Event::SceneResult& result )
|
[&]( Entity::Player& player, const Event::SceneResult& result )
|
||||||
{
|
{
|
||||||
if( result.param2 == 1)
|
if( result.param2 == 1 )
|
||||||
{
|
{
|
||||||
Scene00100( player );
|
Scene00100( player );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue