1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

Added All Coming To X Quests and Fixed Black Bars

Fixed the Coming to Ul'dah and Coming to Limsa Quests, also Fixed the Openings having Black Bards and not being able to jump
This commit is contained in:
Biscuit Boy 2017-10-01 04:14:54 +10:00
parent de8e2d71b4
commit 2333d51fef
5 changed files with 22 additions and 21 deletions

View file

@ -34,7 +34,7 @@ class OpeningGridaniaDef
def Scene00000( player ) def Scene00000( player )
{ {
player.eventPlay( this.id, 0, 0x2001, 0, 1, player.eventPlay( this.id, 0, 0x04AC05, 0, 1,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
player.setOpeningSequence( 1 ); player.setOpeningSequence( 1 );

View file

@ -72,7 +72,6 @@ class OpeningLimsaLominsaDef
player.eventPlay( this.id, 40, 1, 2, 1, player.eventPlay( this.id, 40, 1, 2, 1,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
player.eventFinish( eventId, UNLOCK );
if( player.getOpeningSequence() == 2 ) if( player.getOpeningSequence() == 2 )
{ {
// update the instance boundaries // update the instance boundaries

View file

@ -35,7 +35,7 @@ class OpeningUldahDef
def Scene00000( player ) def Scene00000( player )
{ {
player.eventPlay( this.id, 0, 0x2001, 0, 1, player.eventPlay( this.id, 0, 0x04AC05, 0, 1,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
player.setOpeningSequence( 1 ); player.setOpeningSequence( 1 );

View file

@ -51,11 +51,12 @@ class ManSea001Def
// Available Scenes in this quest, not necessarly all are used // Available Scenes in this quest, not necessarly all are used
def Scene00000( player ) def Scene00000( player )
{ {
player.eventPlay( this.id, 0, HIDE_HOTBAR, 0/*unk*/, 0/*unk*/, player.eventPlay( this.id, 0, 0x2000, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
if( param2 == 1 ) if( param2 == 1 )
{ {
player.setOpeningSequence( 2 );
ManSea001.Scene00001( player ); ManSea001.Scene00001( player );
} }
}); });
@ -63,7 +64,7 @@ class ManSea001Def
def Scene00001( player ) def Scene00001( player )
{ {
player.eventPlay( this.id, 1, HIDE_HOTBAR, 0/*unk*/, 0/*unk*/, player.eventPlay( this.id, 1, 0xF8482EFB, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
ManSea001.Scene00002( player ); ManSea001.Scene00002( player );
@ -81,13 +82,13 @@ class ManSea001Def
def Scene00003( player ) def Scene00003( player )
{ {
player.eventPlay( this.id, 3, NONE, 0/*unk*/, 0/*unk*/, player.eventPlay( this.id, 3, NONE, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
player.questUpdate( ManSea001.id, 0x01 ); // add quest to player. player.questUpdate( ManSea001.id, 0x01 ); // add quest to player.
// update the instance boundaries, call to the opening event // update the instance boundaries, call to the opening event
//player.eventPlay( ManSea001.OPENING_EVENT_HANDLER, 0x1E, HIDE_HOTBAR, 1, 0); player.eventPlay( ManSea001.OPENING_EVENT_HANDLER, 0x1E, 0x2001, 1, 0);
}); });
} }
@ -107,7 +108,7 @@ class ManSea001Def
def Scene00006( player ) def Scene00006( player )
{ {
player.eventPlay( this.id, 6, NONE, 0/*unk*/, 0/*unk*/, player.eventPlay( this.id, 6, 0x20, 0/*unk*/, 0/*unk*/,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
if( param2 == 1 ) if( param2 == 1 )
@ -141,7 +142,7 @@ class ManSea001Def
def Scene00011( player ) def Scene00011( player )
{ {
player.eventPlay( this.id, 11, NONE, 0, 0, player.eventPlay( this.id, 11, 0x2c02, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
ManSea001.Scene00012( player ); ManSea001.Scene00012( player );
@ -150,7 +151,7 @@ class ManSea001Def
def Scene00012( player ) def Scene00012( player )
{ {
player.eventPlay( this.id, 12, NONE, 0, 0, player.eventPlay( this.id, 12, 0x20, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
if( param2 == 1 ) if( param2 == 1 )

View file

@ -49,11 +49,12 @@ class ManWil001Def
// Available Scenes in this quest, not necessarly all are used // Available Scenes in this quest, not necessarly all are used
def Scene00000( player ) def Scene00000( player )
{ {
player.eventPlay( this.id, 0, 0, 0, 0, player.eventPlay( this.id, 0, 0x2000, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
if( param2 == 1 ) // accept quest if( param2 == 1 ) // accept quest
{ {
player.setOpeningSequence( 2 );
ManWil001.Scene00001( player ); ManWil001.Scene00001( player );
} }
}); });
@ -61,7 +62,7 @@ class ManWil001Def
def Scene00001( player ) def Scene00001( player )
{ {
player.eventPlay( this.id, 1, 0, 0, 0, player.eventPlay( this.id, 1, 0xF8482EFB, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
ManWil001.Scene00002( player ); ManWil001.Scene00002( player );
@ -70,10 +71,10 @@ class ManWil001Def
def Scene00002( player ) def Scene00002( player )
{ {
player.eventPlay( this.id, 2, 0, 0, 0, player.eventPlay( this.id, 2, NONE, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
player.questUpdate( ManWil001.id, ManWil001Obj.SEQ_FINISH );// add quest to player. player.questUpdate( ManWil001.id, ManWil001.SEQ_FINISH );// add quest to player.
player.eventPlay( ManWil001.OPENING_EVENT_HANDLER, 0x1E, 0x2001, 0, 0 ); player.eventPlay( ManWil001.OPENING_EVENT_HANDLER, 0x1E, 0x2001, 0, 0 );
}); });
} }
@ -85,7 +86,7 @@ class ManWil001Def
def Scene00004( player ) def Scene00004( player )
{ {
player.eventPlay( this.id, 4, 0, 0, 0, player.eventPlay( this.id, 4, 0x2c02, 0, 0,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
ManWil001.Scene00005( player ); ManWil001.Scene00005( player );
@ -94,7 +95,7 @@ class ManWil001Def
def Scene00005( player ) def Scene00005( player )
{ {
player.eventPlay( this.id, 5, 0/*flags*/, 0/*unk*/, 0/*unk*/, player.eventPlay( this.id, 5, 0x20/*flags*/, 0/*unk*/, 0/*unk*/,
fun( player, eventId, param1, param2, param3 ) fun( player, eventId, param1, param2, param3 )
{ {
if( param2 == 1 ) // clicked finish button if( param2 == 1 ) // clicked finish button