1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00

Added default questBattle scripts and added implementation for QuestBattle constructor

This commit is contained in:
Mordred 2019-03-31 13:48:09 +02:00
parent 305a1e9c3a
commit e1e7affcde
198 changed files with 13189 additions and 1088 deletions

View file

@ -0,0 +1,53 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ABeaconforBadThings : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_WAVE1_01 = 6642829;
static constexpr auto BNPC_WAVE1_02 = 6643459;
static constexpr auto BNPC_WAVE1_03 = 6643462;
static constexpr auto P_BNPC_GIRL = 6648027;
static constexpr auto P_BNPC_MOTHER = 6648001;
static constexpr auto P_BNPC_SYLPHIE = 6647996;
static constexpr auto EOBJ_MIASMA_01 = 6650032;
static constexpr auto QIB_YELL_GATTY_01 = 4290;
static constexpr auto BNPC_WAVE2_GATE_01 = 6740811;
static constexpr auto BNPC_WAVE2_GATE_02 = 6740812;
static constexpr auto BNPC_WAVE2_GATE_03 = 6740813;
static constexpr auto BNPC_WAVE2_01 = 6740817;
static constexpr auto BNPC_WAVE2_02 = 6740818;
static constexpr auto BNPC_WAVE2_03 = 6740819;
static constexpr auto DEF_ACTION_MONSTER_SUMMON = 3439;
static constexpr auto BNPC_WAVE3_GATE_01 = 6740861;
static constexpr auto BNPC_WAVE3_GATE_02 = 6740862;
static constexpr auto BNPC_WAVE3_GATE_03 = 6740863;
static constexpr auto BNPC_WAVE3_01 = 6740865;
static constexpr auto BNPC_WAVE3_02 = 6740866;
static constexpr auto BNPC_WAVE3_03 = 6740867;
public:
ABeaconforBadThings() : Sapphire::ScriptAPI::QuestBattleScript( 151 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ABeaconforBadThings );

View file

@ -0,0 +1,52 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ADangerousProposition : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_BOSS = 3792898;
static constexpr auto INIT_POP_01 = 3792905;
static constexpr auto INIT_POP_02 = 3792907;
static constexpr auto INIT_POP_03 = 3792908;
static constexpr auto INIT_POP_04 = 3792909;
static constexpr auto INIT_POP_05 = 3792911;
static constexpr auto INIT_POP_06 = 3792912;
static constexpr auto INIT_POP_07 = 3792913;
static constexpr auto INIT_POP_08 = 3792914;
static constexpr auto INIT_POP_09 = 3792916;
static constexpr auto INIT_POP_10 = 3792917;
static constexpr auto INIT_POP_11 = 3911020;
static constexpr auto INIT_P_POP_01 = 4259221;
static constexpr auto BNPC_001 = 543;
static constexpr auto LOC_POS_PC_FIRST = 3879338;
static constexpr auto LOC_ACTOR0 = 1003009;
static constexpr auto BNPC_NAME_01 = 626;
static constexpr auto DEF_ACTION_BLIND_POISON = 1089;
static constexpr auto DEF_BLIND = 15;
public:
ADangerousProposition() : Sapphire::ScriptAPI::QuestBattleScript( 7 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2005192, 5760474, 4, { -51.493111f, 0.309087f, 71.436897f }, 1.000000f, -0.000006f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ADangerousProposition );

View file

@ -0,0 +1,81 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AFlarefortheDramatic : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_YAMITRA_01 = 5907982;
static constexpr auto P_BNPC_ROEGA_01 = 5907983;
static constexpr auto BNPC_CUP_01 = 5907984;
static constexpr auto BNPC_SORD_01 = 5907985;
static constexpr auto BNPC_CEPTER_01 = 5907986;
static constexpr auto BNPC_COIN_01 = 5907987;
static constexpr auto BNPC_METEOR_01 = 5907988;
static constexpr auto BNPC_DARK_MARSH_01 = 5920798;
static constexpr auto NCUT_01 = 968;
static constexpr auto YELL_QIB_CUP_DOUBLE_01 = 2727;
static constexpr auto YELL_QIB_SWORD_END = 2931;
static constexpr auto YELL_QIB_CEPTER_END = 2932;
static constexpr auto YELL_QIB_COIN_END = 2933;
static constexpr auto BNPC_ACTION_SUMMON_DARK_MARSH = 4841;
static constexpr auto BNPC_ACTION_SUMMON_COMMET_TRIGGER = 3269;
static constexpr auto BNPC_ACTION_SUMMON_COMET = 4842;
static constexpr auto BNPC_ACTION_DEBRIS_BURST = 4844;
static constexpr auto BNPC_ACTION_DOUBLE = 3443;
static constexpr auto BNPC_ACTION_DOUBLE_TRIGGER = 4777;
static constexpr auto BNPC_ACTION_DARK_FIRE3 = 5049;
static constexpr auto STATUS_DOUBLE = 1280;
static constexpr auto LOCKON_BY_COMET = 7;
static constexpr auto POP_RANGE_DARK_MARSH_01 = 5920904;
static constexpr auto POP_RANGE_DARK_MARSH_02 = 5920905;
static constexpr auto POP_RANGE_DARK_MARSH_03 = 5920906;
static constexpr auto POP_RANGE_DARK_MARSH_04 = 5920908;
static constexpr auto POP_RANGE_DARK_MARSH_05 = 5920939;
static constexpr auto POP_RANGE_DARK_MARSH_06 = 5920940;
static constexpr auto POP_RANGE_DARK_MARSH_07 = 5920991;
static constexpr auto POP_RANGE_DARK_MARSH_08 = 5920992;
static constexpr auto LCUT_ACTOR0 = 1014921;
static constexpr auto LCUT_ACTOR1 = 1013845;
static constexpr auto LCUT_ACTOR2 = 1014636;
static constexpr auto LCUT_ACTOR3 = 1014633;
static constexpr auto LCUT_ACTOR4 = 1014634;
static constexpr auto LCUT_ACTOR5 = 1014635;
static constexpr auto LCUT_POS_ACTOR0 = 5907983;
static constexpr auto QST_HEAVNA707 = 67205;
static constexpr auto BNPCBASE_ID_CUP = 4834;
static constexpr auto BNPCBASE_ID_COMET = 4838;
static constexpr auto BNPC_ACTION_MEGIDDO_FLAME = 4839;
static constexpr auto BNPC_ACTION_FAST_CAST_DARK_FIRE3 = 4840;
static constexpr auto BNPC_ACTION_EXPLOSION_DARK_MARSH = 962;
static constexpr auto BNPC_ACTION_IMPACT_COMMET = 4843;
static constexpr auto BNPCBASE_ID_DARK_MARSH = 4904;
static constexpr auto LCUT_BGM0 = 94;
static constexpr auto LCUT_BGM1 = 91;
static constexpr auto LOC_VFX0 = 251;
static constexpr auto LOC_SE0 = 52;
public:
AFlarefortheDramatic() : Sapphire::ScriptAPI::QuestBattleScript( 148 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AFlarefortheDramatic );

View file

@ -0,0 +1,133 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AGameofLifeandDeath : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_JACKE = 6959281;
static constexpr auto P_BNPC_OBORO = 6959282;
static constexpr auto P_BNPC_YUKI = 6959283;
static constexpr auto P_BNPC_VKEBBE = 6959341;
static constexpr auto P_BNPC_PERIMUHAURIMU = 6959342;
static constexpr auto BNPC_BOSS_ZAKURO = 6954394;
static constexpr auto BNPC_P1_TRASH_01 = 6959313;
static constexpr auto BNPC_P1_TRASH_02 = 6959314;
static constexpr auto BNPC_P1_TRASH_03 = 6959316;
static constexpr auto BNPC_P1_TRASH_04 = 6959317;
static constexpr auto BNPC_P1_TRASH_05 = 6959318;
static constexpr auto BNPC_P1_TRASH_06 = 6959319;
static constexpr auto BNPC_P1_TRASH_07 = 6959320;
static constexpr auto BNPC_P1_TRASH_08 = 6969442;
static constexpr auto BNPC_P1_GUARD_01 = 6959327;
static constexpr auto BNPC_P1_GUARD_02 = 6959328;
static constexpr auto BNPC_P1_GUARD_03 = 6959329;
static constexpr auto QIB_YELL_01 = 5676;
static constexpr auto QIB_YELL_02 = 5677;
static constexpr auto QIB_YELL_03 = 5678;
static constexpr auto QIB_YELL_04 = 5679;
static constexpr auto QIB_YELL_05 = 5680;
static constexpr auto QIB_YELL_06 = 5681;
static constexpr auto QIB_YELL_08 = 5683;
static constexpr auto QIB_YELL_09 = 4589;
static constexpr auto ER_VKEBBE_RESCUE = 6969449;
static constexpr auto BNPCSTATE_NORMAL = 0;
static constexpr auto BNPCSTATE_BOUND = 118;
static constexpr auto EOBJ_VKEBBE_BIND = 6969631;
static constexpr auto EOBJ_PERIMUHAURIMU_BIND = 6969634;
static constexpr auto EOBJ_MAKIBISHI = 6971206;
static constexpr auto EVENT_ACTION_01 = 42;
static constexpr auto BNPC_P2_TRASH_01 = 6971209;
static constexpr auto BNPC_P2_TRASH_02 = 6971210;
static constexpr auto BNPC_P2_TRASH_03 = 6971211;
static constexpr auto BNPC_P2_TRASH_04 = 6971212;
static constexpr auto BNPC_P2_TRASH_05 = 6971213;
static constexpr auto BNPC_P2_TRASH_06 = 6971214;
static constexpr auto BNPC_P2_TRASH_07 = 6971216;
static constexpr auto BNPC_P2_TRASH_08 = 6971217;
static constexpr auto BNPC_P2_TRASH_09 = 6971219;
static constexpr auto BNPC_P2_TRASH_10 = 6971221;
static constexpr auto BNPC_KARASU = 6971224;
static constexpr auto ACTION_MAKIBISHI = 8513;
static constexpr auto STATUS_PARAM_MAKIBISHI_DOT = 3296;
static constexpr auto PR_KARASU_ESCAPE = 6971517;
static constexpr auto BNPC_P3_GUARD_01 = 7005448;
static constexpr auto BNPC_P3_GUARD_02 = 7005449;
static constexpr auto BNPC_P3_GUARD_03 = 7005450;
static constexpr auto BNPC_P3_GUARD_04 = 7005730;
static constexpr auto BNPC_P3_GUARD_05 = 7005731;
static constexpr auto PR_YUKI_MOVE_FINAL = 7003839;
static constexpr auto PR_JACKE_MOVE_FINAL = 7004138;
static constexpr auto PR_VKEBEE_MOVE_FINAL = 7004140;
static constexpr auto PR_OBORO_MOVE_FINAL = 7004141;
static constexpr auto EOBJ_BOSS_ROOM_CONTROL = 7005846;
static constexpr auto BNPC_BOSS_ARC_01 = 7005847;
static constexpr auto BNPC_BOSS_LNC_01 = 7005848;
static constexpr auto BNPC_BOSS_LNC_02 = 7005849;
static constexpr auto BNPC_BOSS_ARC_02 = 7005850;
static constexpr auto BNPC_BOSS_ARC_03 = 7005851;
static constexpr auto P_BNPC_JACKE_BOSS = 7005853;
static constexpr auto P_BNPC_OBORO_BOSS = 7005854;
static constexpr auto P_BNPC_YUKI_BOSS = 7005855;
static constexpr auto P_BNPC_VKEBBE_BOSS = 7005856;
static constexpr auto P_BNPC_PERIMUHAURIMU_BOSS = 7005857;
static constexpr auto BNPC_BOSS_LNC_HPLOW_01 = 7005916;
static constexpr auto BNPC_BOSS_LNC_HPLOW_02 = 7005918;
static constexpr auto BNPC_BOSS_ARC_HPLOW_01 = 7005919;
static constexpr auto BNPC_BOSS_ARC_HPLOW_02 = 7005917;
static constexpr auto BNPC_BOSS_KARASU_01 = 7005858;
static constexpr auto BNPC_BOSS_TOUMEI_01 = 7005868;
static constexpr auto BNPC_BOSS_TOUMEI_02 = 7005869;
static constexpr auto BNPC_BOSS_TOUMEI_03 = 7005870;
static constexpr auto BNPC_BOSS_TOUMEI_04 = 7005871;
static constexpr auto BNPC_BOSS_TOUMEI_05 = 7005872;
static constexpr auto BNPC_BOSS_TOUMEI_06 = 7005873;
static constexpr auto BNPC_BOSS_TOUMEI_07 = 7005874;
static constexpr auto BNPC_BOSS_TOUMEI_08 = 7005875;
static constexpr auto BNPC_BOSS_TOUMEI_DAMMY_HATE = 7005878;
static constexpr auto PR_BOSS_START = 7005852;
static constexpr auto PR_OBORO_RAITON_AVOID = 7005883;
static constexpr auto PR_JACKE_RAITON_AVOID = 7005885;
static constexpr auto PR_YUKI_RAITON_AVOID = 7005886;
static constexpr auto PR_VKEBEE_RAITON_AVOID = 7005887;
static constexpr auto PR_PERIMUHAURIMU_RAITON_AVOID = 7005888;
static constexpr auto ACTION_HISSATSUKEN_30 = 9516;
static constexpr auto ACTION_HISSATSUKEN_90 = 9515;
static constexpr auto ACTION_RAITON = 9517;
static constexpr auto ACTION_TENNOIN = 2259;
static constexpr auto ACTION_DEPOP_TRRIGER = 3269;
static constexpr auto ACTION_TOUMEI_RAITON = 9518;
static constexpr auto LOCKON_RAITION = 21;
static constexpr auto BGM_BOSS_04 = 39;
static constexpr auto LOC_ACTOR0 = 1022853;
static constexpr auto LOC_ACTOR1 = 1023640;
static constexpr auto LOC_ACTOR2 = 1023641;
static constexpr auto LOC_MARKER_00 = 6991796;
static constexpr auto STATUS_PARAM_HIDE = 1197;
public:
AGameofLifeandDeath() : Sapphire::ScriptAPI::QuestBattleScript( 177 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2008480, 6894787, 4, { 564.783630f, -60.304729f, -136.444901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2004541, 0, 4, { 800.087585f, 0.000000f, 44.317749f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AGameofLifeandDeath );

View file

@ -1,17 +1,30 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ASpectaclefortheAges :
public Sapphire::ScriptAPI::InstanceContentScript
class AJourneyofPurification : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_FORTEM_01 = 5867698;
static constexpr auto BNPC_FORTEM_02 = 5867702;
static constexpr auto BNPC_ESCHIVA_01 = 5867712;
static constexpr auto BNPC_P1_WOLF_01 = 5867745;
static constexpr auto BNPC_P1_WOLF_02 = 5867754;
static constexpr auto BNPC_P1_WILDDILLE_01 = 5867767;
static constexpr auto BNPC_P1_WILDDILLE_02 = 5867769;
static constexpr auto BNPC_P1_DARKSPRITE_01 = 5867781;
static constexpr auto BNPC_P1_WOLF_ADD_01 = 5867782;
static constexpr auto BNPC_P1_WILDDILLE_ADD_01 = 5867793;
static constexpr auto BNPC_P1_GOOBBUE_ADD_01 = 5867801;
static constexpr auto YELL_FORTEM01_DEAD_01 = 2635;
static constexpr auto YELL_FORTEM02_DEAD_01 = 2636;
public:
ASpectaclefortheAges() :
Sapphire::ScriptAPI::InstanceContentScript( 5001 )
AJourneyofPurification() : Sapphire::ScriptAPI::QuestBattleScript( 115 )
{ }
void onInit( InstanceContent& instance ) override
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgbg_w_qic_001_04a", 2006993, 6235274, 4, { -35.822102f, 298.899994f, -205.263199f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_0", 2006952, 0, 4, { -35.712589f, 298.899994f, -204.878006f }, 1.000000f, 0.000000f );
@ -33,12 +46,12 @@ public:
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
@ -46,4 +59,4 @@ public:
};
EXPOSE_SCRIPT( ASpectaclefortheAges );
EXPOSE_SCRIPT( AJourneyofPurification );

View file

@ -0,0 +1,58 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AJoyefulReunion : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_CELESTAUX = 5873785;
static constexpr auto BNPC_HAILLENARTE_01 = 5873786;
static constexpr auto BNPC_HAILLENARTE_02 = 5873787;
static constexpr auto BNPC_HAILLENARTE_03 = 5873788;
static constexpr auto BNPC_HAILLENARTE_04 = 5873789;
static constexpr auto BNPC_P1_ABIS_01 = 5873790;
static constexpr auto BNPC_P1_ABIS_02 = 5873791;
static constexpr auto BNPC_P1_ABIS_03 = 5873792;
static constexpr auto BNPC_P1_ABIS_04 = 5873793;
static constexpr auto BNPC_P1_ABIS_05 = 5873795;
static constexpr auto BNPC_P1_RINGDRAGON_01 = 5873802;
static constexpr auto BNPC_P1_DRAKE_01 = 5873794;
static constexpr auto BNPC_P1_DRAKE_02 = 5873798;
static constexpr auto BNPC_P1_DRAKE_03 = 5873799;
static constexpr auto ENPC_ROSTNSTHAL = 5873783;
static constexpr auto ENPC_BAURENDOUIN = 5873784;
static constexpr auto YELL_CELESTAUX_DEAD = 2654;
static constexpr auto YELL_HAILLENARTE_01_DEAD = 2655;
static constexpr auto YELL_HAILLENARTE_02_DEAD = 2656;
static constexpr auto YELL_HAILLENARTE_03_DEAD = 2657;
static constexpr auto YELL_HAILLENARTE_04_DEAD = 2658;
static constexpr auto LOC_MARKER_01 = 5934854;
static constexpr auto LOC_ACTOR0 = 1014580;
static constexpr auto LOC_ACTOR1 = 1015073;
static constexpr auto CUT_SCENE_01 = 974;
static constexpr auto LOC_BGM0 = 39;
public:
AJoyefulReunion() : Sapphire::ScriptAPI::QuestBattleScript( 118 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AJoyefulReunion );

View file

@ -0,0 +1,88 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ASeriesofUnfortunateEvents : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_GOAL_POS_01 = 5886177;
static constexpr auto BNPC_COMPANION_EMMANELLAIN = 5886178;
static constexpr auto BNPC_COMPANION_HAURCHEFANT = 5886179;
static constexpr auto BNPC_COMPANION_SOLDIER = 5886180;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_01 = 5886181;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_02 = 5886182;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_03 = 5886191;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_04 = 5886193;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_05 = 5886194;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_06 = 5886196;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_07 = 5886197;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_08 = 5886198;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_09 = 5886200;
static constexpr auto BNPC_ENEMY_THAUMATURGE_VANUVANU_10 = 5886201;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_11 = 5886207;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_12 = 5886208;
static constexpr auto BNPC_ENEMY_THAUMATURGE_VANUVANU_13 = 5886209;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_14 = 5886211;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_15 = 5886212;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_16 = 5886213;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_17 = 5886214;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_18 = 5886217;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_19 = 5886218;
static constexpr auto BNPC_ENEMY_THAUMATURGE_VANUVANU_20 = 5886219;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_21 = 5891945;
static constexpr auto BNPC_ENEMY_PUGILIST_VANUVANU_22 = 5891946;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_23 = 5891947;
static constexpr auto BNPC_ENEMY_ROGUE_VANUVANU_24 = 5891948;
static constexpr auto ENPC_GOAL_SOLDIER = 5886176;
static constexpr auto ENPC_ELDER_VANUVANU = 5886237;
static constexpr auto POPRANGE_HAURCHEFANT_MOVE_POS_01 = 5886220;
static constexpr auto POPRANGE_SOLDIER_MOVE_POS_01 = 5886221;
static constexpr auto ERANGE_VANUVANU_TERRITORY_01 = 5886222;
static constexpr auto EOBJ_ARREST_01 = 5886226;
static constexpr auto QIB_YELL_01 = 2647;
static constexpr auto QIB_YELL_02 = 2692;
static constexpr auto QIB_YELL_03 = 2693;
static constexpr auto QIB_YELL_04 = 2695;
static constexpr auto QIB_YELL_05 = 2696;
static constexpr auto QIB_YELL_06 = 2697;
static constexpr auto EVENT_ACTION_ARREST = 42;
static constexpr auto CUT_SCENE_N_01 = 794;
static constexpr auto ACTION_SCRIPT_TRIGGER = 3269;
static constexpr auto BGM_LATE_BATTLE = 39;
static constexpr auto BEHAVIOR_EMMANELLAIN_RELEASED = 30600;
static constexpr auto BNPC_WAY_STOP = 5904722;
static constexpr auto BNPC_STATE_CAUGHT = 118;
static constexpr auto BNPC_STATE_NORMAL = 0;
static constexpr auto LOC_POS_ACTOR0 = 5908313;
static constexpr auto LOC_POS_ACTOR1 = 5908314;
static constexpr auto LOC_POS_ACTOR2 = 5908315;
static constexpr auto LOC_ACTOR0 = 1012438;
static constexpr auto LOC_ACTOR1 = 1012472;
static constexpr auto LOC_ACTOR2 = 1012471;
static constexpr auto ACTION_TIMELINE_EVENT_BASE_CAUTION = 4227;
static constexpr auto ACTION_TIMELINE_EVENT_BASE_KNEE_SEACH = 1014;
public:
ASeriesofUnfortunateEvents() : Sapphire::ScriptAPI::QuestBattleScript( 104 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ASeriesofUnfortunateEvents );

View file

@ -0,0 +1,134 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ATestofCourage : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_BUNCHIN = 7132423;
static constexpr auto BNPC_KABUTO = 7132425;
static constexpr auto BNPC_KEKKISAKAN = 7132432;
static constexpr auto BNPC_SHIKITAHE = 7132433;
static constexpr auto BNPC_ZUKIN = 7132434;
static constexpr auto BNPC_MAKURA = 7132435;
static constexpr auto BNPC_ENEMY_SAMURAI_4 = 7132436;
static constexpr auto BNPC_ENEMY_SAMURAI_5 = 7132437;
static constexpr auto BNPC_ENEMY_NINJA_4 = 7132438;
static constexpr auto BNPC_ENEMY_NINJA_5 = 7132441;
static constexpr auto BNPC_ENEMY_MANTA_1 = 7132439;
static constexpr auto BNPC_ENEMY_MANTA_2 = 7132444;
static constexpr auto BNPC_ENEMY_MANTA_4_WEAK = 7132457;
static constexpr auto BNPC_ENEMY_MANTA_5_WEAK = 7132458;
static constexpr auto BNPC_ENEMY_MANTA_6_WEAK = 7132459;
static constexpr auto BNPC_ENEMY_SAMURAI_7_WEAK = 7132460;
static constexpr auto BNPC_ENEMY_SAMURAI_8_WEAK = 7132461;
static constexpr auto BNPC_ENEMY_SAMURAI_9_WEAK = 7132462;
static constexpr auto BNPC_ENEMY_NINJA_7_WEAK = 7132463;
static constexpr auto BNPC_ENEMY_NINJA_8_WEAK = 7132464;
static constexpr auto BNPC_ENEMY_NINJA_9_WEAK = 7132465;
static constexpr auto BNPC_ENEMY_MAGIC_1 = 7132467;
static constexpr auto BNPC_ENEMY_MAGIC_2 = 7132468;
static constexpr auto BNPC_ENEMY_SAMURAI_10 = 7132472;
static constexpr auto BNPC_ENEMY_SAMURAI_11 = 7132473;
static constexpr auto BNPC_ENEMY_SHAUGI = 7132474;
static constexpr auto BNPC_TOUMEI_ETHER = 7144992;
static constexpr auto BNPC_TOUMEI_ETHER_FOR_KABUTO = 7156920;
static constexpr auto BNPC_TOUMEI_HATE = 7144993;
static constexpr auto BNPC_TOUMEI_KABUTO_ULTIMATE = 7149030;
static constexpr auto BNPC_WATERBALL_1 = 7151732;
static constexpr auto BNPC_WATERBALL_2 = 7151733;
static constexpr auto BNPC_WATERBALL_3 = 7151734;
static constexpr auto BNPC_WATERBALL_4 = 7163733;
static constexpr auto BNPC_WATERBALL_BIGACTION_1 = 7164425;
static constexpr auto BNPC_WATERBALL_BIGACTION_2 = 7164426;
static constexpr auto BNPC_TOUMEI_SHAUGI_ACTION_01 = 7151812;
static constexpr auto BNPC_TOUMEI_SHAUGI_ACTION_02 = 7163734;
static constexpr auto BNPC_TOUMEI_SHAUGI_ACTION_03 = 7163735;
static constexpr auto BNPC_TOUMEI_SHAUGI_ACTION_04 = 7163736;
static constexpr auto STATUS_PARAM_HOT = 3474;
static constexpr auto STATUS_PARAM_TO_DAMAGE_UP = 3475;
static constexpr auto STATUS_PARAM_TAKE_DAMAGE_DOWN = 3476;
static constexpr auto STATUS_PARAM_STUN = 3464;
static constexpr auto STATUS_PARAM_DAMAGE_UP = 3465;
static constexpr auto STATUS_STUN = 930;
static constexpr auto STATUS_PARAM_INVUL = 1496;
static constexpr auto STATUS_DAMEGE_UP = 658;
static constexpr auto ACTION_TOUMEI_EXEC_BUFF = 10031;
static constexpr auto ACTION_IAIGIRI = 10035;
static constexpr auto ACTION_GTAE = 10063;
static constexpr auto ACTION_SHERE = 10064;
static constexpr auto ACTION_SUMMON_WATERBALL = 10065;
static constexpr auto ACTION_BIGACTION = 10051;
static constexpr auto ACTION_DISTANCE_AWAY = 10072;
static constexpr auto ACTION_RAIDDAMAGE = 10074;
static constexpr auto ACTION_TOUMEI_SHERE = 10067;
static constexpr auto EOBJ_TRESURE_1 = 7144991;
static constexpr auto EOBJ_TRESURE_2 = 7146915;
static constexpr auto EOBJ_TRESURE_3 = 7151735;
static constexpr auto EOBJ_SHARED_CONTROL_1 = 7146130;
static constexpr auto EOBJ_SHARED_CONTROL_2 = 7146132;
static constexpr auto EOBJ_SHARED_CONTROL_2_2 = 7146133;
static constexpr auto EOBJ_SHARED_CONTROL_3 = 7146134;
static constexpr auto EOBJ_SHARED_CONTROL_3_BEFORE = 7156930;
static constexpr auto EOBJ_SHARED_CONTROL_4 = 7146136;
static constexpr auto EOBJ_SHARED_CONTROL_BOSS = 7151740;
static constexpr auto EOBJ_SHARED_CONTROL_BOSS_ROOM = 7163737;
static constexpr auto EVENTACTION_SYMPATHY = 60;
static constexpr auto EVENT_RANGE_FOUND_BUNCHIN = 7156917;
static constexpr auto EVENT_RANGE_PHASE3_KABUTO_MOVE01 = 7156924;
static constexpr auto EVENT_RANGE_PHASE_3_BEFORE_ADD_POP = 7156931;
static constexpr auto EVENT_RANGE_PHASE_3_ADD_POP = 7141113;
static constexpr auto EVENT_RANGE_PHASE2 = 7146579;
static constexpr auto EVENT_RANGE_BOSS = 7151385;
static constexpr auto POP_RANGE_TRESURE_1 = 7141093;
static constexpr auto POP_RANGE_PHASE_3_KABUTO = 7141094;
static constexpr auto POP_RANGE_PHASE_4_KABUTO = 7141098;
static constexpr auto POP_RANGE_PHASE_4_KABUTO_MOVE01 = 7163525;
static constexpr auto POP_RANGE_TRESURE_3 = 7141115;
static constexpr auto POP_RANGE_BOSS_PC = 7151386;
static constexpr auto POP_RANGE_BOSS_KABUTO = 7151387;
static constexpr auto POP_RANGE_TRESURE2_MOVE = 7146918;
static constexpr auto POP_RANGE_TRESURE_3_NPC = 7151736;
static constexpr auto POP_RANGE_TO_BUNCHIN_02 = 7140836;
static constexpr auto POP_RANGE_TO_BUNCHIN_01 = 7156916;
static constexpr auto POP_RANGE_PHASE2_KABUTO_01 = 7156921;
static constexpr auto POP_RANGE_PHASE2_KABUTO_02 = 7156922;
static constexpr auto POP_RANGE_PHASE3_KABUTO_MOVE01 = 7156923;
static constexpr auto POP_RANGE_PHASE3_KABUTO_MOVE02 = 7156932;
static constexpr auto POP_RANGE_PHASE3_KABUTO_MOVE03 = 7163484;
static constexpr auto CHANNELING_DARK = 65;
static constexpr auto CHANNELING_WATER = 3;
static constexpr auto CHANNELING_DISTANCE_AWAY = 57;
static constexpr auto LOCKON_SHARE = 62;
static constexpr auto BGM_BOSS_BATTLE = 39;
static constexpr auto POS_PLAYER = 7151729;
static constexpr auto POS_HIRUMAKI = 7151730;
static constexpr auto ACTION_EVENT_BASE_LIE1 = 981;
static constexpr auto EVENT_MENACE = 946;
public:
ATestofCourage() : Sapphire::ScriptAPI::QuestBattleScript( 179 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2008480, 6894787, 4, { 564.783630f, -60.304729f, -136.444901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2004541, 0, 4, { 800.087585f, 0.000000f, 44.317749f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ATestofCourage );

View file

@ -0,0 +1,74 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AVermilionVendetta : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_XRHUNTIA = 6797880;
static constexpr auto P_BNPC_ARIA = 6797881;
static constexpr auto BNPC_PACK1_SKE_01 = 6797884;
static constexpr auto BNPC_PACK1_SKE_02 = 6798700;
static constexpr auto BNPC_PACK1_SKE_03 = 6798701;
static constexpr auto BNPC_PACK2_SKE_01 = 6797885;
static constexpr auto BNPC_PACK2_SKE_02 = 6798702;
static constexpr auto BNPC_PACK2_SKE_03 = 6798703;
static constexpr auto BNPC_PACK3_THA_01 = 6797888;
static constexpr auto BNPC_PACK3_THA_02 = 6798705;
static constexpr auto BNPC_PACK4_THA_01 = 6797891;
static constexpr auto BNPC_PACK4_THA_02 = 6798706;
static constexpr auto BNPC_PACK5_THA_01 = 6797892;
static constexpr auto BNPC_PACK5_THA_02 = 6798707;
static constexpr auto BNPC_PACK6_THA_BOSS = 6797901;
static constexpr auto BNPC_PACK6_THA_01 = 6797900;
static constexpr auto BNPC_PACK6_THA_02 = 6797899;
static constexpr auto BNPC_SHADOW_BOSS = 6798708;
static constexpr auto ER_PACK3_START = 6798710;
static constexpr auto BGM_BOSSBATTLE = 37;
static constexpr auto LOCKON_SHARE = 62;
static constexpr auto STATUS_VULNERABILITY = 202;
static constexpr auto ACTION_DARK_SHARE = 7981;
static constexpr auto BNPC_GIMMICK_01 = 6798812;
static constexpr auto BNPC_GIMMICK_02 = 6798813;
static constexpr auto BNPC_GIMMICK_03 = 6798814;
static constexpr auto BNPC_DARK_SPRITE_01 = 6798815;
static constexpr auto BNPC_DARK_SPRITE_02 = 6798816;
static constexpr auto BNPC_DARK_SPRITE_03 = 6798817;
static constexpr auto CHANNELING_DARK = 1;
static constexpr auto BNPCBASE_DARK_SPRITE = 6886;
static constexpr auto STATUS_PARAM_REGEN = 2810;
static constexpr auto STATUS_PARAM_INFINITY_INVINCIBLE = 1721;
static constexpr auto PR_ARIA_MOVE_01 = 6798818;
static constexpr auto BNPC_SUMMON_MAHOUJIN = 6824106;
static constexpr auto PR_DARKBALL_MOVE_01 = 6825253;
static constexpr auto BNPC_DARKBALL = 6824699;
static constexpr auto DEF_ACTION_TORRIGER = 3269;
static constexpr auto QIB_YELL_03 = 4784;
public:
AVermilionVendetta() : Sapphire::ScriptAPI::QuestBattleScript( 164 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Entrance", 2000182, 6228959, 5, { 457.583801f, 5.680784f, 280.512787f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_0", 2000608, 2807920, 4, { -95.322441f, -25.054260f, 61.518002f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AVermilionVendetta );

View file

@ -0,0 +1,79 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class Absolution : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_RIELLE = 5892194;
static constexpr auto BNPC_SIDURGU = 5892195;
static constexpr auto BNPC_P1_YSTRIDE = 5892196;
static constexpr auto BNPC_P1_GLA_A_01 = 5892197;
static constexpr auto BNPC_P1_GLA_A_02 = 5892198;
static constexpr auto BNPC_P1_GLA_A_03 = 5892199;
static constexpr auto BNPC_P1_LNC_B_01 = 5892200;
static constexpr auto BNPC_P1_PGL_A_01 = 5892201;
static constexpr auto BNPC_P1_PGL_B_01 = 5892202;
static constexpr auto BNPC_P2_ARC_B_01 = 5892203;
static constexpr auto BNPC_P2_LNC_B_01 = 5892204;
static constexpr auto BNPC_P2_PGL_A_01 = 5892205;
static constexpr auto BNPC_P2_EXC_A_01 = 5892206;
static constexpr auto BNPC_P3_ARC_A_01 = 5892207;
static constexpr auto BNPC_P3_ARC_B_01 = 5892208;
static constexpr auto BNPC_P3_PGL_A_01 = 5892209;
static constexpr auto BNPC_P3_LNC_B_01 = 5892210;
static constexpr auto BNPC_P3_GLA_A_01 = 5892211;
static constexpr auto BNPC_P3_EXC_B_01 = 5892212;
static constexpr auto BNPC_P4_GLA_READER = 5892213;
static constexpr auto BNPC_P4_EXC_A_01 = 5892214;
static constexpr auto BNPC_P4_EXC_B_01 = 5892215;
static constexpr auto BNPC_P4_EXC_A_02 = 5892216;
static constexpr auto BNPC_P4_LNC_B_01 = 5892217;
static constexpr auto BNPC_P4_LNC_B_02 = 5892218;
static constexpr auto BNPC_P4_ARC_B_01 = 5892219;
static constexpr auto BNPC_P4_GLA_A_01 = 5892220;
static constexpr auto BNPC_P4_GLA_B_01 = 5892221;
static constexpr auto BNPC_P4_PGL_B_01 = 5892222;
static constexpr auto BNPC_P4_LNC_A_01 = 5892223;
static constexpr auto BNPC_P4_ARC_A_01 = 5892224;
static constexpr auto BNPC_P4_ARC_B_02 = 5892225;
static constexpr auto PR_P4_READER_MOVE = 5934824;
static constexpr auto YELL_P4_GLA_READER_MOVEEND = 2728;
static constexpr auto YELL_P4_GLA_READER_LOOP = 3589;
static constexpr auto YELL_P4_GLA_READER_DEAD = 3342;
static constexpr auto BGM_LASTHALF = 91;
static constexpr auto LOC_ACTOR0 = 1014593;
static constexpr auto LOC_ACTOR1 = 1015435;
static constexpr auto LOC_ACTOR2 = 1014617;
static constexpr auto LOC_ACTOR3 = 1015433;
static constexpr auto LOC_ACTOR4 = 1015434;
static constexpr auto LOC_MARKER_01 = 5959858;
static constexpr auto CUT_SCENE_01 = 995;
static constexpr auto BGM_0 = 317;
static constexpr auto ACTION_GOAL_TRIGER1 = 3269;
static constexpr auto ACTION_GOAL_TRIGER2 = 4777;
public:
Absolution() : Sapphire::ScriptAPI::QuestBattleScript( 139 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( Absolution );

View file

@ -0,0 +1,47 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AgainsttheShadow : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_WIDARGELT = 5886248;
static constexpr auto BNPC_P1_KEGEMNK_01 = 5886249;
static constexpr auto BNPC_P1_KEGEMNK_02 = 5886250;
static constexpr auto BNPC_P1_ENERGY_01 = 5887413;
static constexpr auto BNPC_P1_ENERGY_02 = 5916107;
static constexpr auto ACTION_ENERGY_SUMMON = 1094;
static constexpr auto LOC_POP_0 = 5919819;
static constexpr auto LOC_POP_1 = 5919820;
static constexpr auto LOC_ACTOR_0 = 1014543;
static constexpr auto LOC_ACTOR_1 = 1014540;
static constexpr auto LOC_ACTOR_2 = 1014541;
static constexpr auto BGM_BATTLE = 107;
static constexpr auto LOC_ACTION1 = 1071;
static constexpr auto LOC_ACTION2 = 173;
static constexpr auto LOCKON_BY_ENERGY_BALL_THUNDER = 1;
public:
AgainsttheShadow() : Sapphire::ScriptAPI::QuestBattleScript( 123 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AgainsttheShadow );

View file

@ -0,0 +1,50 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AlwaysBetonBlack : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_1ST_A_01 = 4278135;
static constexpr auto INIT_P_POP_1ST_B_01 = 4278137;
static constexpr auto INIT_P_POP_1ST_C_01 = 4278138;
static constexpr auto INIT_POP_BOSS = 4278139;
static constexpr auto INIT_POP_2ND_VOIDGATE_A = 4278142;
static constexpr auto INIT_POP_2ND_VOIDGATE_B = 4278143;
static constexpr auto INIT_POP_3RD_VOIDGATE_C = 4278156;
static constexpr auto INIT_POP_3RD_C_01_RANDOM_POP = 4278157;
static constexpr auto INIT_POP_2ND_A_01_RANDOM_POP = 4278336;
static constexpr auto INIT_POP_2ND_B_01_RANDOM_POP = 4278337;
static constexpr auto INIT_ENPC_POP_01 = 4284477;
static constexpr auto CUT_START_NCUT = 344;
static constexpr auto CUT_END_NCUT = 345;
static constexpr auto QIB_YELL_01 = 1872;
static constexpr auto QIB_YELL_02 = 1873;
static constexpr auto QIB_YELL_03 = 1874;
static constexpr auto POP_RANGE_DAZA_MOVE = 4330432;
static constexpr auto JOB_STORY_MES = 3646;
public:
AlwaysBetonBlack() : Sapphire::ScriptAPI::QuestBattleScript( 74 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AlwaysBetonBlack );

View file

@ -1,17 +1,64 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ABloodyReunion :
public Sapphire::ScriptAPI::InstanceContentScript
class AnArtfortheLiving : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_YMHITRA = 6866618;
static constexpr auto P_BNPC_DANCINGWOLF = 6866648;
static constexpr auto P_BNPC_PRIMIE = 6894059;
static constexpr auto BNPC_WAVE1_SARI_01 = 6866660;
static constexpr auto BNPC_WAVE1_SARI_02 = 6866663;
static constexpr auto BNPC_WAVE1_SARI_03 = 6866664;
static constexpr auto BNPC_SUMMONINGSYSTEM = 6873449;
static constexpr auto BNPC_WAVE2_SARI_01 = 6894125;
static constexpr auto BNPC_WAVE2_SARI_02 = 6894126;
static constexpr auto BNPC_WAVE2_SARI_03 = 6894127;
static constexpr auto BNPC_WAVE2_SARI_04 = 6894130;
static constexpr auto BNPC_WAVE2_SARI_05 = 6894131;
static constexpr auto BNPC_WAVE2_SARI_06 = 6894132;
static constexpr auto CHANNELING_INVINCIBLE = 2;
static constexpr auto STATUS_INVINCIBLE = 1721;
static constexpr auto ACTION_BOSS_SUMMON = 8632;
static constexpr auto PR_SARI_MOVE_01 = 6894164;
static constexpr auto PR_SARI_MOVE_02 = 6894165;
static constexpr auto QIB_YELL_01 = 4809;
static constexpr auto QIB_YELL_02 = 4810;
static constexpr auto QIB_YELL_03 = 4811;
static constexpr auto QIB_YELL_04 = 4812;
static constexpr auto QIB_YELL_07 = 5027;
static constexpr auto QIB_YELL_08 = 5028;
static constexpr auto BNPC_NAME_SARI = 6709;
static constexpr auto BNPC_WAVE3_MINOTAUR = 6894732;
static constexpr auto BNPC_WAVE3_SARI_01 = 6894881;
static constexpr auto BNPC_WAVE3_SARI_02 = 6894883;
static constexpr auto BNPC_WAVE4_HOLY_MACHINE = 6894885;
static constexpr auto BNPC_WAVE4_SARI_01 = 6894887;
static constexpr auto BNPC_WAVE4_SARI_02 = 6894889;
static constexpr auto LOCKON_LANDMINE = 31;
static constexpr auto BNPC_TOUMEI_SET_LANDMINE = 6895057;
static constexpr auto BNPC_LANDMINE = 6895056;
static constexpr auto ACTION_SET_LANDMINE = 8639;
static constexpr auto BNPCTYPE_LANDMINE = 7381;
static constexpr auto BNPCTYPE_TOUMEI_LANDMINE = 7383;
static constexpr auto BNPC_WAVE5_MECHA_HYDRA = 6895383;
static constexpr auto BNPC_WAVE5_SARI_01 = 6895384;
static constexpr auto BNPC_WAVE5_SARI_02 = 6895385;
static constexpr auto BNPC_BROKEN_SARI_01 = 6895455;
static constexpr auto BNPC_BROKEN_SARI_02 = 6895457;
static constexpr auto BNPC_BROKEN_SARI_03 = 6895458;
static constexpr auto BNPC_BROKEN_SARI_04 = 6895459;
static constexpr auto BNPCBASE_SARI = 7350;
static constexpr auto BNPCBASE_HOLY_MACHINE = 7382;
static constexpr auto BNPCBASE_MECHA_HYDRA = 7384;
public:
ABloodyReunion() :
Sapphire::ScriptAPI::InstanceContentScript( 5002 )
AnArtfortheLiving() : Sapphire::ScriptAPI::QuestBattleScript( 171 )
{ }
void onInit( InstanceContent& instance ) override
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2002735, 0, 4, { -133.497498f, 394.924286f, -295.299713f }, 1.400000f, -1.570451f );
instance.registerEObj( "sgpl_w_lvd_b0118_col_char", 2002872, 5786705, 4, { -140.602203f, 394.529388f, -295.997314f }, 1.000000f, 0.000000f );
@ -54,12 +101,12 @@ public:
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
@ -67,4 +114,4 @@ public:
};
EXPOSE_SCRIPT( ABloodyReunion );
EXPOSE_SCRIPT( AnArtfortheLiving );

View file

@ -0,0 +1,156 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AnEgistentialCrisis : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_YMHITRA = 7585499;
static constexpr auto P_BNPC_DANCINGWOLF = 7585497;
static constexpr auto P_BNPC_SMN_A = 7585494;
static constexpr auto P_BNPC_SMN_B = 7585495;
static constexpr auto P_BNPC_SMN_C = 7585496;
static constexpr auto P_BNPC_PRIMIE = 7585500;
static constexpr auto BNPC_SARI = 7585498;
static constexpr auto QIB_YELL_01 = 4626;
static constexpr auto QIB_YELL_02 = 4627;
static constexpr auto QIB_YELL_03 = 4628;
static constexpr auto QIB_YELL_04 = 4629;
static constexpr auto QIB_YELL_05 = 4630;
static constexpr auto QIB_YELL_06 = 4631;
static constexpr auto QIB_YELL_07 = 4847;
static constexpr auto QIB_YELL_08 = 4848;
static constexpr auto QIB_YELL_09 = 4849;
static constexpr auto QIB_YELL_10 = 4850;
static constexpr auto PR_PRIMIE_MOVE_01 = 7585501;
static constexpr auto PR_PRIMIE_MOVE_02 = 7585510;
static constexpr auto PR_PRIMIE_MOVE_03 = 7585515;
static constexpr auto PR_YMHITRA_MOVE_01 = 7585502;
static constexpr auto PR_YMHITRA_MOVE_02 = 7585509;
static constexpr auto PR_YMHITRA_MOVE_03 = 7585514;
static constexpr auto BEHAVIOR_YMHITRA_01 = 30932;
static constexpr auto BEHAVIOR_YMHITRA_02 = 30933;
static constexpr auto BNPC_PACK1_01 = 7585503;
static constexpr auto BNPC_PACK1_02 = 7585504;
static constexpr auto BNPC_PACK1_03 = 7585505;
static constexpr auto BNPC_PACK1_04 = 7585506;
static constexpr auto BNPC_PACK1_05 = 7585507;
static constexpr auto BNPC_PACK1_06 = 7585508;
static constexpr auto BNPC_PACK2_01 = 7585511;
static constexpr auto BNPC_PACK2_02 = 7585512;
static constexpr auto BNPC_PACK2_03 = 7585513;
static constexpr auto BNPC_PACK3_01 = 7585516;
static constexpr auto BNPC_PACK3_02 = 7585517;
static constexpr auto ER_AROUND_BOSS = 7585518;
static constexpr auto BNPC_TOUMEI_A = 7585519;
static constexpr auto BNPC_TOUMEI_B_01 = 7585520;
static constexpr auto BNPC_TOUMEI_B_02 = 7585521;
static constexpr auto BNPC_TOUMEI_B_03 = 7585522;
static constexpr auto BNPC_TOUMEI_B_04 = 7585523;
static constexpr auto BNPC_DIVE_WYVERN_01 = 7585524;
static constexpr auto BNPC_DIVE_WYVERN_02 = 7585525;
static constexpr auto BNPC_DIVE_WYVERN_03 = 7585526;
static constexpr auto BNPC_DIVE_WYVERN_04 = 7585527;
static constexpr auto BNPC_DIVE_WYVERN_05 = 7585528;
static constexpr auto ACTION_MEGA_FLARE = 8564;
static constexpr auto ACTION_MEGA_FLARE_STRIKE = 8565;
static constexpr auto ACTION_TRANCE_BAHAMUT = 8566;
static constexpr auto BGM_BOSSBATTLE = 39;
static constexpr auto BNPC_BOSS_ADD_WYVERN_01 = 7585529;
static constexpr auto BNPC_BOSS_ADD_WYVERN_02 = 7585530;
static constexpr auto BNPC_BOSS_ADD_WYVERN_03 = 7585531;
static constexpr auto BNPCTYPE_ADD_WYVERN = 7319;
static constexpr auto BNPC_BOSS_GUARD_01 = 7585532;
static constexpr auto BNPC_BOSS_GUARD_02 = 7585533;
static constexpr auto ER_AROUND_SMN_B = 7585557;
public:
AnEgistentialCrisis() : Sapphire::ScriptAPI::QuestBattleScript( 170 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgvf_w_lvd_b0286", 2005325, 7585378, 4, { 187.869202f, 8.108603f, 250.084000f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "sgvf_w_lvd_b0286_1", 2005326, 7585380, 4, { 57.053249f, 17.165449f, -249.904694f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "sgvf_w_lvd_b0286_2", 2005327, 7585382, 4, { -314.464996f, 41.657890f, 126.635803f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "AllagantomelithA1", 2005338, 7585392, 4, { 18.148529f, 18.849100f, 267.572693f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1", 2005502, 7585393, 4, { 18.255230f, 16.804850f, 267.227814f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithA2", 2005339, 7585396, 4, { 8.120948f, 21.013821f, 167.772705f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_1", 2005503, 7585397, 4, { 8.225257f, 19.763350f, 167.312195f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithA3", 2005340, 7585400, 4, { 96.414833f, 34.135899f, 108.177002f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_2", 2005504, 7585401, 4, { 96.322990f, 33.288559f, 107.972397f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithA4", 2005341, 7585404, 4, { 200.335693f, 30.775141f, 68.234734f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_3", 2005505, 7585405, 4, { 200.310593f, 29.688540f, 68.217537f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithB1", 2005342, 7585408, 4, { 157.733093f, 4.437783f, -49.087921f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_4", 2005506, 7585409, 4, { 157.696793f, 2.356474f, -49.159088f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithB2", 2005343, 7585412, 4, { 51.290970f, 32.733749f, -82.673607f }, 0.991760f, 0.000000f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_5", 2005507, 7585413, 4, { 51.310070f, 31.154039f, -82.935127f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithB3", 2005344, 7585416, 4, { 74.829063f, 13.976150f, -16.412930f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_6", 2005508, 7585417, 4, { 74.846779f, 11.294810f, -16.719721f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithB4", 2005345, 7585420, 4, { -47.222630f, 31.708929f, -92.240723f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_7", 2005509, 7585421, 4, { -47.175869f, 29.272760f, -92.573776f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithC2", 2005346, 7585424, 4, { -163.868805f, 46.920021f, 1.751138f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_8", 2005510, 7585425, 4, { -164.055405f, 45.557041f, 1.093665f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithD2", 2005347, 7585428, 4, { -32.930420f, 18.645050f, 19.141041f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_9", 2005511, 7585429, 4, { -32.986580f, 17.328630f, 18.981670f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithD3", 2005348, 7585432, 4, { -62.119572f, 40.360111f, 48.813599f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_10", 2005512, 7585433, 4, { -62.187111f, 38.493420f, 48.440479f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithC4", 2005349, 7585436, 4, { -148.508499f, 43.280338f, 161.458603f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_11", 2005513, 7585437, 4, { -148.519196f, 41.333549f, 161.070908f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithC3", 2005350, 7585440, 4, { -167.072998f, 26.487570f, 71.059898f }, 0.991760f, 0.088708f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_12", 2005514, 7585441, 4, { -167.089294f, 24.449400f, 70.683212f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithC1", 2005351, 7585444, 4, { -120.087196f, 28.019110f, -46.859772f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_13", 2005515, 7585445, 4, { -120.122597f, 27.122120f, -47.061981f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
instance.registerEObj( "AllagantomelithD1", 2005352, 7585448, 4, { 15.841110f, 19.797770f, 101.591301f }, 0.991760f, 0.000048f );
// States -> ma_off (id: 4) ma_on (id: 5) ma_off2on (id: 8) ma_on2off (id: 9) ma_on_r (id: 10) ma_off2on_r (id: 11) ma_on_r2 (id: 12) ma_off2on_r2 (id: 13) ma_on2off_r (id: 24) ma_on2off_r2 (id: 30)
instance.registerEObj( "sgbg_s2p1_q1_ocup1_14", 2005516, 7585449, 4, { 15.812600f, 18.748220f, 101.435699f }, 1.000000f, 0.000000f );
// States -> cap_ser_off2on (id: 5) cap_ser_on (id: 6) cap_off (id: 7) cap_on2off (id: 8) cap_fla_on (id: 9) cap_fla_off2on (id: 10) cap_sto_on (id: 11) cap_sto_off2on (id: 12)
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AnEgistentialCrisis );

View file

@ -0,0 +1,103 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AnIlluminatiIncident : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_COMPANION_BRAYFLOX = 5886492;
static constexpr auto BNPC_COMPANION_ALPHINAUD = 5886496;
static constexpr auto BNPC_COMPANION_YSHTOLA = 5886497;
static constexpr auto BNPC_ENEMY_LEADER_GOBLIN_01 = 5886499;
static constexpr auto BNPC_ENEMY_FIGHTER_GOBLIN_02 = 5886500;
static constexpr auto BNPC_ENEMY_FIGHTER_GOBLIN_03 = 5886501;
static constexpr auto BNPC_ENEMY_SNIPER_GOBLIN_04 = 5886502;
static constexpr auto BNPC_SUMMON_CARBUNCLE = 5886508;
static constexpr auto BNPC_OBJ_SMALL_BOMB_01 = 5886511;
static constexpr auto BNPC_OBJ_SMALL_BOMB_02 = 5886512;
static constexpr auto BNPC_OBJ_SMALL_BOMB_03 = 5886513;
static constexpr auto BNPC_OBJ_SMALL_BOMB_04 = 5886514;
static constexpr auto BNPC_OBJ_SMALL_BOMB_05 = 5886515;
static constexpr auto BNPC_OBJ_SMALL_BOMB_06 = 5886516;
static constexpr auto BNPC_OBJ_SMALL_BOMB_07 = 5886517;
static constexpr auto BNPC_OBJ_SMALL_BOMB_08 = 5886518;
static constexpr auto BNPC_OBJ_SMALL_BOMB_09 = 5886519;
static constexpr auto BNPC_OBJ_SMALL_BOMB_10 = 5886520;
static constexpr auto BNPC_OBJ_SMALL_BOMB_11 = 5886521;
static constexpr auto BNPC_ENEMY_FIGHTER_GOBLIN_05 = 5886545;
static constexpr auto BNPC_ENEMY_FIGHTER_GOBLIN_06 = 5886547;
static constexpr auto BNPC_ENEMY_SNIPER_GOBLIN_07 = 5886548;
static constexpr auto BNPC_ENEMY_SNIPER_GOBLIN_08 = 5886549;
static constexpr auto BNPC_ENEMY_FIGHTER_GOBLIN_09 = 5886550;
static constexpr auto BNPC_ENEMY_GLIDER_GOBLIN_10 = 5886551;
static constexpr auto BNPC_ENEMY_GLIDER_GOBLIN_11 = 5886552;
static constexpr auto BNPC_ENEMY_FIGHTER_GOBLIN_12 = 5886563;
static constexpr auto BNPC_ENEMY_SNIPER_GOBLIN_13 = 5886564;
static constexpr auto BNPC_ENEMY_FIGHTER_GOBLIN_14 = 5886565;
static constexpr auto BNPC_ENEMY_SNIPER_GOBLIN_15 = 5886566;
static constexpr auto BNPC_ENEMY_FIGHTER_GOBLIN_16 = 5886568;
static constexpr auto BNPC_ENEMY_SNIPER_GOBLIN_17 = 5886569;
static constexpr auto BNPC_ENEMY_GLIDER_GOBLIN_18 = 5886570;
static constexpr auto BNPC_ENEMY_MACHINE_GOBLIN_19 = 5886571;
static constexpr auto BNPC_OBJ_BIG_BOMB_01 = 5886573;
static constexpr auto BNPC_OBJ_BIG_BOMB_02 = 5886578;
static constexpr auto BNPC_OBJ_BIG_BOMB_03 = 5886582;
static constexpr auto BNPC_OBJ_BIG_BOMB_04 = 5886583;
static constexpr auto BNPC_OBJ_BIG_BOMB_05 = 5886585;
static constexpr auto BNPC_OBJ_BIG_BOMB_06 = 5886587;
static constexpr auto NPC_YELL_YSHTOLA_01 = 2637;
static constexpr auto NPC_YELL_YSHTOLA_02 = 2638;
static constexpr auto NPC_YELL_YSHTOLA_03 = 2639;
static constexpr auto NPC_YELL_YSHTOLA_04 = 2781;
static constexpr auto NPC_YELL_YSHTOLA_05 = 2782;
static constexpr auto ACTION_BOMB_DISPERSAL = 1933;
static constexpr auto ACTION_YSHTOLA_SPIRITUAL_RAY = 4023;
static constexpr auto STATUS_PARAM_DEBUFF_YSHTOLA_SPIRITUAL_RAY = 1702;
static constexpr auto DEF_ACTION_SUMMON_PET_BNPC = 4785;
static constexpr auto LOC_POS_ACTOR0 = 5919735;
static constexpr auto LOC_POS_ACTOR1 = 5919743;
static constexpr auto LOC_POS_ACTOR2 = 5919747;
static constexpr auto LOC_POS_ACTOR100 = 5919760;
static constexpr auto LOC_ACTOR0 = 1011887;
static constexpr auto LOC_ACTOR1 = 1011889;
static constexpr auto LOC_ACTOR2 = 1012487;
static constexpr auto LOC_ACTOR3 = 1012488;
static constexpr auto LOC_ACTOR4 = 1012489;
static constexpr auto LOC_ACTOR5 = 1012490;
static constexpr auto LOC_ACTOR6 = 1012491;
static constexpr auto ACTION_TIMELINE_EVENT_TALK_DEMIHUMAN = 949;
static constexpr auto ACTION_TIMELINE_EVENT_SIGH = 4229;
static constexpr auto ACTION_TIMELINE_EMOTE_GROUND_LOOP = 654;
static constexpr auto LOC_BGM0 = 113;
static constexpr auto LOC_POS_CAM0 = 5922528;
static constexpr auto LINE_VOICE_YSHTOLA_002 = 8201093;
static constexpr auto LINE_VOICE_YSHTOLA_006 = 8201097;
static constexpr auto LINE_VOICE_YSHTOLA_005 = 8201096;
static constexpr auto NPC_YELL_YSHTOLA_VOICE_002 = 3485;
static constexpr auto NPC_YELL_YSHTOLA_VOICE_006 = 3489;
static constexpr auto NPC_YELL_YSHTOLA_VOICE_005 = 3488;
public:
AnIlluminatiIncident() : Sapphire::ScriptAPI::QuestBattleScript( 112 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AnIlluminatiIncident );

View file

@ -0,0 +1,91 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AndMyAxe : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_CURIOUSGORGE_01 = 5821944;
static constexpr auto BNPC_WHEISKAET_01 = 5821948;
static constexpr auto BNPC_BROKENMOUNTAIN_01 = 5821952;
static constexpr auto BNPC_EYNZAHR_01 = 5821946;
static constexpr auto BNPC_1T_SOL_01 = 5821959;
static constexpr auto BNPC_1T_SOL_02 = 5821960;
static constexpr auto BNPC_1T_LNC_01 = 5821966;
static constexpr auto BNPC_1T_LNC_02 = 5821967;
static constexpr auto BNPC_1T_LNC_03 = 5821973;
static constexpr auto BNPC_1T_LNC_04 = 5821976;
static constexpr auto BNPC_1T_FIG_01 = 5821963;
static constexpr auto BNPC_1T_FIG_02 = 5821964;
static constexpr auto BNPC_1T_MAG_01 = 5821968;
static constexpr auto BNPC_1T_MAG_02 = 5821971;
static constexpr auto BNPC_2T_SOL_01 = 5822009;
static constexpr auto BNPC_2T_FIG_01 = 5822010;
static constexpr auto BNPC_2T_LNC_01 = 5822012;
static constexpr auto BNPC_2T_LNC_02 = 5822013;
static constexpr auto BNPC_2T_MAG_01 = 5822014;
static constexpr auto BNPC_3T_KARLBOSS_01 = 5822020;
static constexpr auto BNPC_3T_INVI_01 = 5822027;
static constexpr auto BNPC_3T_SAHBOSS_01 = 5822030;
static constexpr auto BNPC_4T_SOUL_01 = 5822038;
static constexpr auto BNPC_4T_SOUL_02 = 5822039;
static constexpr auto BNPC_4T_SOUL_03 = 5822040;
static constexpr auto BNPC_4T_SOUL_04 = 5822041;
static constexpr auto BNPC_4T_SOUL_05 = 5822042;
static constexpr auto BNPC_4T_SOUL_06 = 5822043;
static constexpr auto BNPC_4T_SOUL_07 = 5822044;
static constexpr auto BNPC_4T_SOUL_08 = 5822045;
static constexpr auto WARP_01 = 5827124;
static constexpr auto BGM_BOSS_BATTLE = 91;
static constexpr auto LOGMESSAGE_01 = 3204;
static constexpr auto LOGMESSAGE_02 = 2099;
static constexpr auto BNPCBASE_GENSHO_SOUL = 4157;
static constexpr auto BNPCBASE_TOUMEI = 4146;
static constexpr auto DEF_ACTION_KARA_HASHA = 3058;
static constexpr auto DEF_ACTION_KARA_CHAKUDAN = 4749;
static constexpr auto STATUS_MARKING = 420;
static constexpr auto LOCKON_FOR_MARKING = 8;
static constexpr auto DEF_ACTION_MARKING = 4002;
static constexpr auto STATUS_PARAM_MARKING = 1283;
static constexpr auto STATUS_PARAM_ANTI_MARKING = 1284;
static constexpr auto BNPCNAME_KARLBOSS = 4154;
static constexpr auto NCUT_01 = 934;
static constexpr auto LOC_ACTOR1 = 1014475;
static constexpr auto LOC_ACTOR2 = 1014476;
static constexpr auto LOC_ACTOR3 = 1014477;
static constexpr auto LOC_ACTOR4 = 1014478;
static constexpr auto LOC_POS1 = 5911693;
static constexpr auto LOC_ACTION1 = 1071;
static constexpr auto LOC_BGM1 = 39;
static constexpr auto BNPC_CURIOUSGORGE_02 = 5957444;
static constexpr auto BNPC_WHEISKAET_02 = 5957445;
static constexpr auto BNPC_BROKENMOUNTAIN_02 = 5957447;
static constexpr auto BNPC_EYNZAHR_02 = 5957446;
public:
AndMyAxe() : Sapphire::ScriptAPI::QuestBattleScript( 103 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Entrance", 2000182, 6228959, 5, { 457.583801f, 5.680784f, 280.512787f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_0", 2000608, 2807920, 4, { -95.322441f, -25.054260f, 61.518002f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AndMyAxe );

View file

@ -0,0 +1,99 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AppetiteforDestruction : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_COMPANION_WIDARGELT_01 = 5908791;
static constexpr auto BNPC_COMPANION_OTCHAKHA_01 = 5908792;
static constexpr auto BNPC_ENEMY_HRAHATIA_01 = 5908804;
static constexpr auto BNPC_ENEMY_PACK_A_MNK_01 = 5908820;
static constexpr auto BNPC_ENEMY_PACK_A_MNK_02 = 5908821;
static constexpr auto BNPC_ENEMY_PACK_A_MNK_03 = 5908822;
static constexpr auto BNPC_ENEMY_PACK_A_MNK_04 = 5908823;
static constexpr auto BNPC_ENEMY_PACK_B_MNK_01 = 5908838;
static constexpr auto BNPC_ENEMY_PACK_B_MNK_02 = 5908840;
static constexpr auto BNPC_COMPANION_WIDARGELT_02 = 5908845;
static constexpr auto BNPC_COMPANION_OTCHAKHA_02 = 5908847;
static constexpr auto BNPC_COMPANION_DZENTSA_01 = 5908849;
static constexpr auto BNPC_ENEMY_HRAHATIA_02 = 5908852;
static constexpr auto BNPC_ENEMY_PACK_C_MNK_01 = 5908854;
static constexpr auto BNPC_ENEMY_PACK_C_MNK_02 = 5908856;
static constexpr auto BNPC_ENEMY_PACK_C_MNK_03 = 5908857;
static constexpr auto BNPC_ENEMY_PACK_C_MNK_04 = 5908858;
static constexpr auto BNPC_ENEMY_PACK_C_MNK_05 = 5908860;
static constexpr auto BNPC_ENEMY_PACK_C_MNK_06 = 5908861;
static constexpr auto BNPC_ENEMY_POP_MNK_01 = 5908862;
static constexpr auto BNPC_ENEMY_POP_MNK_02 = 5915942;
static constexpr auto BNPC_ENEMY_POP_MNK_03 = 5915943;
static constexpr auto BNPC_ENEMY_POP_MNK_04 = 5915944;
static constexpr auto ENPC_DZENTSA_01 = 5908803;
static constexpr auto WARP_PC_POINT_01 = 5908843;
static constexpr auto LOGMESSAGE_SHADOW_CHAKURA = 3270;
static constexpr auto LOGMESSAGE_KAIHUKU = 3213;
static constexpr auto LOGMESSAGE_POWER_UP = 3271;
static constexpr auto BNPC_TYPE_MNK = 4653;
static constexpr auto MNK_POP_INTERVAL_1 = 20;
static constexpr auto CUT_SCENE_01 = 960;
static constexpr auto BNPC_ENEMY_ENERGY_BALL_THUNDER_01 = 5912441;
static constexpr auto BNPC_ENEMY_ENERGY_BALL_BLACK_01 = 5912448;
static constexpr auto BNPC_ENEMY_ENERGY_BALL_BLACK_02 = 5912449;
static constexpr auto BNPC_ENEMY_ENERGY_BALL_BLACK_03 = 5912450;
static constexpr auto BNPC_ACTION_SUMMON_ENERGY_BALL_THUNDER = 1094;
static constexpr auto BNPC_ACTION_SUMMON_ENERGY_BALL_BLACK = 4760;
static constexpr auto BNPC_ACTION_THUNDER_BALL_BURST = 1093;
static constexpr auto EOBJ_THUNDER_GRAUND = 5912535;
static constexpr auto STATUS_INFINITY_STACK_REGEN = 1743;
static constexpr auto STATUS_INFINITY_ATTACK_DAMAGE_UP = 1744;
static constexpr auto STATUS_THUNDER_MAGIC_DOT = 1745;
static constexpr auto BNPC_BASE_ENERGY_BALL_THUNDER = 4651;
static constexpr auto BNPC_BASE_ENERGY_BALL_BLACK = 4652;
static constexpr auto LOCKON_BY_ENERGY_BALL_THUNDER = 1;
static constexpr auto POP_RANGE_ENERGY_BALL_BLACK_01 = 5912707;
static constexpr auto POP_RANGE_ENERGY_BALL_BLACK_02 = 5912710;
static constexpr auto POP_RANGE_ENERGY_BALL_BLACK_03 = 5912712;
static constexpr auto POP_RANGE_ENERGY_BALL_BLACK_04 = 5912713;
static constexpr auto POP_RANGE_ENERGY_BALL_THUNDER_01 = 5912727;
static constexpr auto POP_RANGE_ENERGY_BALL_THUNDER_02 = 5912728;
static constexpr auto POP_RANGE_ENERGY_BALL_THUNDER_03 = 5912729;
static constexpr auto POP_RANGE_ENERGY_BALL_THUNDER_04 = 5912730;
static constexpr auto POP_RANGE_ENERGY_BALL_THUNDER_05 = 5912731;
static constexpr auto POP_RANGE_ENERGY_BALL_THUNDER_06 = 5912732;
static constexpr auto LOC_POP_0 = 5919784;
static constexpr auto LOC_POP_1 = 5919785;
static constexpr auto LOC_ACTOR_0 = 1014543;
static constexpr auto LOC_ACTOR_1 = 1014541;
static constexpr auto LOC_ACTOR_2 = 1014542;
static constexpr auto LOC_ACTOR_3 = 1014013;
static constexpr auto LOC_ACTOR_4 = 1014014;
static constexpr auto POP_RANGE_RESQUE_01 = 5927592;
static constexpr auto POP_RANGE_RESQUE_02 = 5927593;
static constexpr auto LOC_BGM_1 = 91;
static constexpr auto POP_RANGE_ENERGY_BALL_BLACK_05 = 5959843;
static constexpr auto POP_RANGE_ENERGY_BALL_BLACK_06 = 5959844;
public:
AppetiteforDestruction() : Sapphire::ScriptAPI::QuestBattleScript( 132 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AppetiteforDestruction );

View file

@ -0,0 +1,177 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AsGoesLightSoGoesDarkness : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto LOC_MARKER_01 = 6137635;
static constexpr auto LOC_MARKER_02 = 6137636;
static constexpr auto LOC_MARKER_03 = 6137639;
static constexpr auto LOC_MARKER_04 = 6148118;
static constexpr auto LOC_ACTOR0 = 1009751;
static constexpr auto LOC_ACTOR1 = 1012497;
static constexpr auto LOC_ACTOR2 = 1015886;
static constexpr auto LOC_ACTOR10 = 1015853;
static constexpr auto LOC_ACTOR11 = 1015854;
static constexpr auto LOC_ACTOR12 = 1015855;
static constexpr auto LOC_ACTOR13 = 1015856;
static constexpr auto LOC_ACTOR14 = 1015887;
static constexpr auto LOC_ACTOR15 = 1015888;
static constexpr auto LOC_ACTOR_POP_100 = 6147799;
static constexpr auto LOC_ACTOR_POP_101 = 6147800;
static constexpr auto LOC_ACTOR_POP_102 = 6147801;
static constexpr auto LOC_ACTOR_POP_103 = 6147802;
static constexpr auto LOC_ACTOR_POP_104 = 6147803;
static constexpr auto LOC_ACTOR_POP_110 = 6147805;
static constexpr auto LOC_ACTOR_POP_111 = 6147806;
static constexpr auto LOC_SE0 = 46;
static constexpr auto LOC_BGM0 = 316;
static constexpr auto P_BNPC_AYMERIC = 6149367;
static constexpr auto P_BNPC_ARTOIREL = 6149368;
static constexpr auto P_BNPC_THANCRED_01 = 6149369;
static constexpr auto P_BNPC_ALPHINAUD = 6149370;
static constexpr auto P_BNPC_YASHTOLA = 6149371;
static constexpr auto P_BNPC_AYMERIC_AFTER_LCUT = 6154014;
static constexpr auto P_BNPC_ARTOIREL_AFTER_LCUT = 6154015;
static constexpr auto BNPC_SORD_ELE_FEM_P1_A01 = 6149344;
static constexpr auto BNPC_PUGILIST_ELE_MALE_A02 = 6153943;
static constexpr auto BNPC_ARCHER_ELE_FEM_A03 = 6153944;
static constexpr auto BNPC_PUGILIST_HUM_MALE_A04 = 6160873;
static constexpr auto BNPC_ARCHER_ELE_FEM_A05 = 6160890;
static constexpr auto BNPC_ARCHER_ELE_FEM_B01 = 6160891;
static constexpr auto BNPC_PUGILIST_ELE_MALE_B02 = 6160879;
static constexpr auto BNPC_PUGILIST_HUM_MALE_B03 = 6160880;
static constexpr auto BNPC_SORD_ELE_MALE_P2_C01 = 6149347;
static constexpr auto BNPC_PUGILIST_ELE_MALE_C02 = 6160888;
static constexpr auto BNPC_THAUMATURGE_ELE_FEM_C03 = 6160889;
static constexpr auto BNPC_ARCHER_ELE_FEM_C04 = 6153938;
static constexpr auto BNPC_PUGILIST_ELE_MALE_C05 = 6153939;
static constexpr auto BNPC_PUGILIST_ELE_MALE_ADD01 = 6160943;
static constexpr auto BNPC_ARCHER_ELE_FEM_ADD02 = 6160942;
static constexpr auto BNPC_PUGILIST_HUM_MALE_ADD03 = 6153934;
static constexpr auto BNPC_THAUMATURGE_ELE_FEM_ADD04 = 6153935;
static constexpr auto BNPC_THAUMATURGE_ELE_FEM_D01 = 6153951;
static constexpr auto BNPC_PUGILIST_HUM_MALE_D03 = 6160894;
static constexpr auto BNPC_SORD_ELE_FEM_P3_E01 = 6149349;
static constexpr auto BNPC_ARCHER_ELE_FEM_E02 = 6160908;
static constexpr auto BNPC_ARCHER_ELE_FEM_E03 = 6160909;
static constexpr auto BNPC_SORD_ELE_MALE_LEADER = 6149353;
static constexpr auto BNPC_PUGILIST_HUM_MALE_F01 = 6160944;
static constexpr auto BNPC_THAUMATURGE_ELE_MALE_F02 = 6160945;
static constexpr auto BNPC_THAUMATURGE_ELE_MALE_G01 = 6160949;
static constexpr auto BNPC_ARCHER_ELE_FEM_H01 = 6163963;
static constexpr auto BNPC_THAUMATURGE_ELE_MALE_H02 = 6163964;
static constexpr auto BNPC_PUGILIST_HUM_MALE_H03 = 6163965;
static constexpr auto BNPC_ARCHER_ELE_FEM_H04 = 6163967;
static constexpr auto BNPC_HORSE_DOLL_WHITE = 6153807;
static constexpr auto BNPC_HORSE_DOLL_BLACK = 6153826;
static constexpr auto P_BNPC_HOSTAGE_A = 6149336;
static constexpr auto P_BNPC_HOSTAGE_B = 6149348;
static constexpr auto P_BNPC_HOSTAGE_C = 6149355;
static constexpr auto P_BNPC_HOSTAGE_D = 6149358;
static constexpr auto P_BNPC_HOSTAGE_E = 6149362;
static constexpr auto P_BNPC_HOSTAGE_F = 6149364;
static constexpr auto EOBJ_DOOR_A = 6147777;
static constexpr auto EOBJ_DOOR_B = 6147778;
static constexpr auto EOBJ_DOOR_C = 6147780;
static constexpr auto EOBJ_DOOR_D = 6147783;
static constexpr auto EOBJ_DOOR_E = 6147784;
static constexpr auto EOBJ_DOOR_F = 6147779;
static constexpr auto EOBJ_SCREEN = 6147792;
static constexpr auto PRANGE_AYMERIC_MOVE_01 = 6153771;
static constexpr auto PRANGE_AYMERIC_MOVE_02 = 6153773;
static constexpr auto PRANGE_AYMERIC_MOVE_03 = 6153820;
static constexpr auto PRANGE_AYMERIC_MOVE_04 = 6153952;
static constexpr auto PRANGE_AYMERIC_MOVE_HOSTAGE_A = 6163030;
static constexpr auto PRANGE_AYMERIC_MOVE_HOSTAGE_B = 6163028;
static constexpr auto PRANGE_ARTOIREL_MOVE_01 = 6153836;
static constexpr auto PRANGE_ARTOIREL_MOVE_02 = 6153837;
static constexpr auto PRANGE_ARTOIREL_MOVE_03 = 6153838;
static constexpr auto PRANGE_ARTOIREL_MOVE_04 = 6163031;
static constexpr auto PRANGE_ARTOIREL_MOVE_HOSTAGE_A = 6163029;
static constexpr auto PRANGE_ARTOIREL_MOVE_HOSTAGE_B = 6163027;
static constexpr auto PRANGE_YASHTOLA_MOVE_01 = 6153834;
static constexpr auto PRANGE_YASHTOLA_MOVE_02 = 6153835;
static constexpr auto PRANGE_THANCRED_MOVE_01 = 6153953;
static constexpr auto PRANGE_PC_LCUT_WARP = 6153821;
static constexpr auto ERANGE_THANCRED_ACTION_01 = 6153766;
static constexpr auto ERANGE_SAVING_HOSTAGE_02 = 6153772;
static constexpr auto ERANGE_P3PACK_MOVE = 6153812;
static constexpr auto ERANGE_LCUT_START = 6153815;
static constexpr auto ERANGE_GOOL = 6153829;
static constexpr auto EOBJ_HOSTAGE_HANDCUFFS_01 = 6153827;
static constexpr auto EOBJ_HOSTAGE_HANDCUFFS_02 = 6153828;
static constexpr auto STATUS_BIND_INFINITY = 1975;
static constexpr auto BNPC_TOUMEI_ADD_HATE = 6161053;
static constexpr auto BNPC_TOUMEI_AYMERIC_FOLLOW = 6164149;
public:
AsGoesLightSoGoesDarkness() : Sapphire::ScriptAPI::QuestBattleScript( 150 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgvf_w_lvd_b0118", 2002872, 5588600, 4, { 0.359463f, 300.000000f, 26.171600f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_0", 2002735, 0, 4, { 0.428600f, 300.000000f, 24.562250f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgvf_w_lvd_b0118_1", 2005580, 5873754, 4, { 0.360928f, 300.000000f, -15.306860f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_1", 2006743, 5474300, 4, { 39.139400f, -300.007690f, 29.587160f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_2", 2006744, 5474303, 4, { 43.961182f, -299.855103f, -30.197689f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2006745, 6143050, 4, { -34.927921f, -300.007690f, -80.460876f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_4", 2006746, 6147782, 4, { -38.559631f, -300.007690f, -72.068359f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_5", 2006747, 6147781, 4, { -38.986820f, -300.007690f, -30.014530f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_6", 2006748, 6143048, 4, { 52.795311f, -299.984589f, -36.063671f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgvf_w_lvd_b0250", 2006749, 6147791, 4, { 0.604760f, -291.999908f, -117.413803f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "Bonds", 2006752, 0, 4, { -52.262211f, -300.000793f, -27.878300f }, 0.991760f, 0.000144f );
instance.registerEObj( "Bonds_1", 2006752, 0, 4, { 56.960300f, -299.984589f, -73.657806f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgvf_w_lvd_b0118_2", 2002872, 5581166, 4, { -18.416611f, -292.000000f, -99.614120f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_7", 2002735, 0, 4, { -20.099001f, -292.000000f, -98.859291f }, 0.700000f, -1.570796f );
instance.registerEObj( "sgvf_w_lvd_b0250_1", 2005106, 5581173, 4, { -0.494135f, -292.000000f, -117.713799f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_8", 2002735, 0, 4, { 18.757099f, 0.000000f, 72.079903f }, 1.000000f, -1.570451f );
instance.registerEObj( "sgvf_w_lvd_b0118_3", 2002872, 5583050, 4, { 17.161560f, 0.000000f, 73.880867f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_9", 2005087, 5474300, 4, { 37.735470f, -300.007690f, 30.228149f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_10", 2005088, 5499954, 4, { 51.884090f, -300.000000f, -35.577080f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_11", 2005089, 5474303, 4, { 44.255379f, -300.000000f, -31.015051f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_12", 2005090, 5474308, 4, { -36.242680f, -300.000000f, -29.871010f }, 1.000000f, -0.000345f );
instance.registerEObj( "unknown_13", 2005091, 5474306, 4, { -37.591751f, -300.000000f, -69.819733f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_14", 2005092, 5499959, 4, { -33.701191f, -300.000000f, -79.843872f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_15", 2005093, 5499966, 4, { 6.953651f, -281.975708f, -150.744995f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_16", 2005094, 5476161, 4, { 101.518402f, -263.140503f, -12.115350f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_17", 2005095, 5476162, 4, { 101.390800f, -263.204315f, 11.842000f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_18", 2005096, 5474532, 4, { 99.222763f, -264.000000f, -0.362554f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_19", 2005097, 5499987, 4, { 22.634041f, 0.000000f, 71.960167f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_20", 2005098, 5499980, 4, { -17.585621f, 0.000000f, 72.136276f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_21", 2005099, 5444302, 4, { -92.607063f, -0.015320f, 0.076233f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_22", 2005100, 5499663, 4, { -52.663239f, 291.000000f, 42.623951f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_23", 2005101, 5499660, 4, { -67.359016f, 291.000000f, 42.656231f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_24", 2005102, 5499645, 4, { -66.869476f, 291.000000f, 55.587841f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_25", 2005103, 5499653, 4, { -53.398609f, 291.000000f, 55.570320f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_26", 2005104, 5499600, 4, { -46.140011f, 291.000000f, 48.667049f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance", 2000182, 5578486, 5, { -5.010592f, -300.000000f, 86.198753f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "Shortcut", 2000700, 0, 4, { 11.135890f, -300.000000f, 78.862717f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { 0.136796f, 299.977112f, -9.654591f }, 0.991760f, 0.000048f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AsGoesLightSoGoesDarkness );

View file

@ -0,0 +1,84 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AttheEndofOurHope : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_ENEMY_GLADIATOR_HERETIC_01 = 5888456;
static constexpr auto BNPC_ENEMY_GLADIATOR_HERETIC_02 = 5888460;
static constexpr auto BNPC_ENEMY_CONJURER_HERETIC_03 = 5888461;
static constexpr auto BNPC_ENEMY_LANCER_HERETIC_04 = 5888462;
static constexpr auto BNPC_ENEMY_ARCANIST_HERETIC_05 = 5888463;
static constexpr auto BNPC_ENEMY_GLADIATOR_HERETIC_06 = 5888464;
static constexpr auto BNPC_ENEMY_GLADIATOR_HERETIC_07 = 5888465;
static constexpr auto BNPC_ENEMY_CONJURER_HERETIC_08 = 5888466;
static constexpr auto EOBJ_FOOTPRINT_01 = 5888470;
static constexpr auto EOBJ_FOOTPRINT_02 = 5888471;
static constexpr auto EOBJ_FOOTPRINT_03 = 5888472;
static constexpr auto EOBJ_HIDING_PLACE_01 = 5888473;
static constexpr auto ERANGE_HIDING_PLACE_01 = 5888476;
static constexpr auto LOG_MESSAGE_EOBJ_01 = 3252;
static constexpr auto LOG_MESSAGE_EOBJ_02 = 3253;
static constexpr auto NPC_YELL_GLADIATOR_HERETIC_A_01 = 2640;
static constexpr auto NPC_YELL_GLADIATOR_HERETIC_B_01 = 2641;
static constexpr auto NPC_YELL_CONJURER_HERETIC_01 = 2642;
static constexpr auto NPC_YELL_LANCER_HERETIC_01 = 2643;
static constexpr auto NPC_YELL_LANCER_HERETIC_02 = 2644;
static constexpr auto NPC_YELL_ARCANIST_HERETIC_01 = 2645;
static constexpr auto NPC_YELL_ARCANIST_HERETIC_02 = 2646;
static constexpr auto NPC_YELL_LANCER_HERETIC_DEAD = 2753;
static constexpr auto EVENT_ACTION_FOOTPRINT = 21;
static constexpr auto EVENT_ACTION_HIDING_PLACE = 50;
static constexpr auto CUT_SCENE_N_01 = 792;
static constexpr auto LOC_POS_ACTOR0 = 5908334;
static constexpr auto LOC_POS_ACTOR1 = 5908335;
static constexpr auto LOC_POS_ACTOR2 = 5908336;
static constexpr auto LOC_POS_ACTOR3 = 5908337;
static constexpr auto LOC_POS_ACTOR4 = 5908338;
static constexpr auto LOC_POS_ACTOR5 = 5908339;
static constexpr auto LOC_POS_ACTOR6 = 5908341;
static constexpr auto LOC_ACTOR0 = 1012497;
static constexpr auto LOC_ACTOR1 = 1012473;
static constexpr auto LOC_ACTOR2 = 1012474;
static constexpr auto LOC_ACTOR3 = 1012475;
static constexpr auto LOC_ACTOR4 = 1012476;
static constexpr auto ACTION_TIMELINE_EVENT_BASE_GUARD_STAND = 808;
static constexpr auto ACTION_TIMELINE_EVENT_BASE_GUARD_LOOK_AWAY = 845;
static constexpr auto ACTION_TIMELINE_BATTLE_CORPSE = 73;
static constexpr auto BNPC_SPRIT = 4311;
static constexpr auto BNPC_BOMB = 4312;
static constexpr auto BNPC_FLOWER = 4313;
static constexpr auto BNPC_COBLYN = 4314;
static constexpr auto BNPC_BARD = 4840;
static constexpr auto BNPC_GOLLILA_DORAGON = 4841;
static constexpr auto POP_RANGE_ENEMY_HIDE_OUT = 5908743;
static constexpr auto BGM_BOSS_BATTLE = 39;
static constexpr auto BNPC_TOUMEI_HIDE_OUT = 5909462;
static constexpr auto LOC_EOBJ0 = 2006171;
static constexpr auto LOC_POS_ACTOR7 = 5910314;
public:
AttheEndofOurHope() : Sapphire::ScriptAPI::QuestBattleScript( 111 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AttheEndofOurHope );

View file

@ -0,0 +1,65 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AusteritiesofEarth : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_1_BOSS_TITAN_EGI_01 = 4301700;
static constexpr auto INIT_POP_1_EARTH_ELE_POP_01 = 4301671;
static constexpr auto INIT_POP_1_EARTH_ELE_POP_02 = 4301672;
static constexpr auto INIT_POP_1_EARTH_ELE_POP_03 = 4301673;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_01 = 4301681;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_02 = 4301682;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_03 = 4301686;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_04 = 4321624;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_05 = 4321625;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_06 = 4321626;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_07 = 4321627;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_08 = 4321628;
static constexpr auto INIT_POP_2_EARTH_GOLEM_POP_09 = 4321629;
static constexpr auto INIT_POP_3_TRISTAN_01 = 4301698;
static constexpr auto INIT_POP_3_BOSS_IFRIT_EGI_01 = 4301699;
static constexpr auto INIT_P_POP_MITRA_01 = 4301637;
static constexpr auto CUT_START_NCUT = 351;
static constexpr auto CUT_INSART_NCUT = 352;
static constexpr auto CUT_END_NCUT = 353;
static constexpr auto BGM_TRISTAN_BATTLE = 37;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_01 = 4321459;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_02 = 4321585;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_03 = 4321586;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_04 = 4321587;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_05 = 4321588;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_06 = 4321589;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_07 = 4321590;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_08 = 4321591;
static constexpr auto EOBJ_DAMAGE_RANGE_EARTH_09 = 4321623;
static constexpr auto STATUS_CUSTOM_EARTH_DOT = 701;
static constexpr auto DEF_ACTION_EARTH_FURY = 1332;
static constexpr auto WARP_01 = 4329955;
static constexpr auto JOB_STORY_MES = 3673;
public:
AusteritiesofEarth() : Sapphire::ScriptAPI::QuestBattleScript( 80 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AusteritiesofEarth );

View file

@ -0,0 +1,45 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AusteritiesofFlame : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_MITRA_01 = 4300437;
static constexpr auto INIT_POP_1_BOSS_IFRIT_EGI_01 = 4300450;
static constexpr auto INIT_POP_2_FIRE_ELE_01 = 4300454;
static constexpr auto INIT_POP_2_FIRE_ELE_02 = 4300455;
static constexpr auto INIT_POP_2_FIRE_ELE_03 = 4300456;
static constexpr auto INIT_POP_3_ANCHOR_01 = 4300459;
static constexpr auto INIT_POP_3_ANCHOR_02 = 4300461;
static constexpr auto INIT_POP_3_ANCHOR_03 = 4300462;
static constexpr auto LOGMESSAGE_QIB_01 = 3222;
static constexpr auto BNPC_BASE_TYPE_SPRIT = 1515;
static constexpr auto BNPC_BASE_TYPE_BOSS = 1513;
static constexpr auto CUT_START_NCUT = 350;
static constexpr auto QIB_CHANNELING_FIRE = 5;
public:
AusteritiesofFlame() : Sapphire::ScriptAPI::QuestBattleScript( 79 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AusteritiesofFlame );

View file

@ -0,0 +1,47 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AusteritiesofWind : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_MITRA_01 = 4302425;
static constexpr auto INIT_POP_1_BOSS_GARUDA_EGI_01 = 4302448;
static constexpr auto INIT_POP_2_GARUDA_FZR_POP_02 = 4302452;
static constexpr auto INIT_POP_2_GARUDA_FZR_POP_03 = 4302454;
static constexpr auto INIT_POP_2_GARUDA_FZR_POP_04 = 4302455;
static constexpr auto INIT_POP_1_BOSS_GARUDA_EGI_CHILD_A = 4321859;
static constexpr auto INIT_POP_1_BOSS_GARUDA_EGI_CHILD_B = 4321860;
static constexpr auto CUT_START_NCUT = 354;
static constexpr auto DEF_ACTION_GARUDA_AIRIAL_SLASH = 794;
static constexpr auto JOB_STORY_MES = 3675;
public:
AusteritiesofWind() : Sapphire::ScriptAPI::QuestBattleScript( 81 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2000200, 2489513, 4, { 111.832100f, 24.171450f, -613.209473f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_1", 2000201, 2489537, 4, { 47.863529f, 24.380640f, -739.987976f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2000202, 2489511, 4, { 127.017097f, 24.144819f, -719.131226f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2000203, 2489539, 4, { 176.514206f, 24.118999f, -640.707825f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_4", 2000204, 0, 4, { 223.131302f, 22.248779f, -596.149780f }, 0.991760f, 0.000048f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AusteritiesofWind );

View file

@ -0,0 +1,61 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class AxeintheStone : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_1ST_01 = 4107368;
static constexpr auto INIT_P_POP_2ST_01 = 4107369;
static constexpr auto INIT_POP_1ST_01 = 4107370;
static constexpr auto INIT_POP_1ST_02 = 4107372;
static constexpr auto INIT_POP_1ST_03 = 4107432;
static constexpr auto INIT_POP_2ST_01 = 4107418;
static constexpr auto INIT_POP_2ST_02 = 4107419;
static constexpr auto INIT_POP_2ST_03 = 4107420;
static constexpr auto INIT_POP_2ST_04 = 4107433;
static constexpr auto INIT_POP_3ST_01 = 4107421;
static constexpr auto INIT_POP_3ST_02 = 4107422;
static constexpr auto INIT_POP_3ST_03 = 4107423;
static constexpr auto INIT_POP_3ST_04 = 4107434;
static constexpr auto INIT_POP_3ST_05 = 4107435;
static constexpr auto INIT_POP_4ST_01 = 4107424;
static constexpr auto INIT_POP_4ST_02 = 4107425;
static constexpr auto INIT_POP_4ST_03 = 4107426;
static constexpr auto INIT_POP_4ST_04 = 4107427;
static constexpr auto INIT_POP_4ST_05 = 4107428;
static constexpr auto INIT_POP_4ST_06 = 4107436;
static constexpr auto INIT_POP_4ST_07 = 4107437;
static constexpr auto CUT_SCENE_01 = 37;
static constexpr auto LOC_ACTOR0 = 1002674;
static constexpr auto LOC_ACTOR1 = 1002696;
static constexpr auto LOC_ACTOR2 = 1002112;
static constexpr auto LOC_ACTOR3 = 1002680;
static constexpr auto LOC_FACE0 = 604;
static constexpr auto LOC_FACE1 = 617;
static constexpr auto LOC_POS_ACTOR0 = 4244349;
public:
AxeintheStone() : Sapphire::ScriptAPI::QuestBattleScript( 25 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( AxeintheStone );

View file

@ -0,0 +1,117 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class BestServedwithColdSteel : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_RAUBAHN = 6793472;
static constexpr auto P_BNPC_ALISAIE = 6793473;
static constexpr auto P_BNPC_SOUJA_CNJ = 6793474;
static constexpr auto P_BNPC_FUMETSU_PGL = 6793475;
static constexpr auto P_BNPC_MNARGO = 6844587;
static constexpr auto P_BNPC_CONRAD = 6844589;
static constexpr auto P_BNPC_KAIHOUGUN_SWD = 6844591;
static constexpr auto P_BNPC_KAIHOUGUN_LNC = 6844592;
static constexpr auto P_BNPC_KAIHOUGUN_ARC = 6844593;
static constexpr auto BNPC_GREENWART = 6793476;
static constexpr auto BNPC_KMACHINE_IRONSPIKE_PTYPE = 6793480;
static constexpr auto BNPC_EMPIRE_A = 6793483;
static constexpr auto BNPC_EMPIRE_B = 6793484;
static constexpr auto BNPC_EMPIRE_C = 6793485;
static constexpr auto BNPC_EMPIRE_D = 6793486;
static constexpr auto BNPC_EMPIRE_E = 6843401;
static constexpr auto BNPC_EMPIRE_G = 6843400;
static constexpr auto BNPC_TOUMEI_GTAE1 = 6843181;
static constexpr auto BNPC_TOUMEI_GTAE2 = 6843182;
static constexpr auto BNPC_TOUMEI_GTAE3 = 6843587;
static constexpr auto BNPC_TOUMEI_GTAE4 = 6880898;
static constexpr auto BNPC_TOUMEI_GTAE5 = 6880899;
static constexpr auto BNPC_TOUMEI_GTAE_PLAYER = 6843630;
static constexpr auto BNPC_MOVINGBOM = 6844116;
static constexpr auto BNPC_MANTISMACHINE_01 = 6927847;
static constexpr auto BNPC_MANTISMACHINE_02 = 6927848;
static constexpr auto BNPC_MANTISMACHINE_03 = 6927864;
static constexpr auto BNPC_MANTISMACHINE_04 = 6927865;
static constexpr auto BNPC_MANTISMACHINE_05 = 6927866;
static constexpr auto BNPC_MANTISMACHINE_06 = 6927867;
static constexpr auto BNPC_MANTISMACHINE_07 = 6927871;
static constexpr auto BNPC_MANTISMACHINE_08 = 6927872;
static constexpr auto BNPC_MANTISMACHINE_09 = 6927873;
static constexpr auto BNPC_MANTISMACHINE_10 = 6928393;
static constexpr auto BNPC_MANTISMACHINE_11 = 6940085;
static constexpr auto BNPC_MANTISMACHINE_12 = 6940087;
static constexpr auto BNPC_MANTISMACHINE_13 = 6940089;
static constexpr auto BNPC_MANTISMACHINE_14 = 6940090;
static constexpr auto BNPC_MANTISMACHINE_15 = 6940091;
static constexpr auto BNPC_MANTISMACHINE_16 = 6940092;
static constexpr auto P_RANGE_MULTIPLE_GTAE1 = 6843358;
static constexpr auto P_RANGE_MULTIPLE_GTAE2 = 6843359;
static constexpr auto P_RANGE_MULTIPLE_GTAE3 = 6843581;
static constexpr auto P_RANGE_MULTIPLE_GTAE4 = 6843582;
static constexpr auto P_RANGE_MULTIPLE_GTAE5 = 6843583;
static constexpr auto P_RANGE_MULTIPLE_GTAE6 = 6843585;
static constexpr auto P_RANGE_MULTIPLE_GTAE7 = 6880872;
static constexpr auto P_RANGE_MULTIPLE_GTAE8 = 6880870;
static constexpr auto P_RANGE_MULTIPLE_GTAE9 = 6880887;
static constexpr auto P_RANGE_MULTIPLE_GTAE10 = 6880888;
static constexpr auto P_RANGE_MNARGO_MOVE = 6928434;
static constexpr auto P_RANGE_CONRAD_MOVE = 6928435;
static constexpr auto P_RANGE_kAIHOUGUN_MOVE_01 = 6928436;
static constexpr auto P_RANGE_kAIHOUGUN_MOVE_02 = 6928437;
static constexpr auto P_RANGE_kAIHOUGUN_MOVE_03 = 6928438;
static constexpr auto PRANGE_GREENWART_MOVE = 6928441;
static constexpr auto PRANGE_KMACHINE_MOVE = 6928439;
static constexpr auto PRANGE_EMPIRE_C_MOVE = 6928440;
static constexpr auto PRANGE_EMPIRE_A_MOVE = 6928443;
static constexpr auto ACTION_IDLESTATE_TRRIGER = 3269;
static constexpr auto ACTION_MOVINGBOM = 8119;
static constexpr auto ACTION_MULTIPLE_GTAE = 8120;
static constexpr auto ACTION_IMOTAL_FLAME = 8118;
static constexpr auto ACTION_SELF_DESTRUCT = 9169;
static constexpr auto BNPC_STATE_EXHAUSTED = 6;
static constexpr auto BNPC_STATE_NORMAL = 0;
static constexpr auto BNPC_STATE_SCARED = 123;
static constexpr auto YELL_RAUBAHN_06 = 4397;
static constexpr auto YELL_RAUBAHN_07 = 4398;
static constexpr auto YELL_GREENWART_REACTION = 4399;
static constexpr auto LINEVOICE_RAUBAHN_06 = 8201320;
static constexpr auto LINEVOICE_RAUBAHN_07 = 8201321;
static constexpr auto CHANNELING_MOVINGBOM = 54;
static constexpr auto BGM_BOSSBATTLE = 165;
static constexpr auto STATUS_STUN = 2991;
static constexpr auto LOC_ACTOR_01 = 1018376;
static constexpr auto LOC_ACTOR_03 = 1018318;
static constexpr auto LOC_ACTOR_04 = 1019082;
static constexpr auto LOC_ACTOR_05 = 1019702;
static constexpr auto LOC_ACTOR_06 = 1019703;
static constexpr auto LOC_MARKER_01 = 6972307;
static constexpr auto LOC_IDLE_01 = 34;
static constexpr auto LOC_ACTION_01 = 1;
static constexpr auto LOC_FACE_01 = 614;
static constexpr auto BNPC_TOUMEI_DAMMY_HATE = 7012786;
public:
BestServedwithColdSteel() : Sapphire::ScriptAPI::QuestBattleScript( 159 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BestServedwithColdSteel );

View file

@ -0,0 +1,55 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class BigSolleretstoFill : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_CONSTAINT = 5891815;
static constexpr auto BNPC_P1_ACN_01 = 5891816;
static constexpr auto BNPC_P1_GLA_01 = 5891818;
static constexpr auto BNPC_P1_PGL_01 = 5891819;
static constexpr auto BNPC_P1_PGL_02 = 5891820;
static constexpr auto BNPC_P2_SUMMON_01 = 5891821;
static constexpr auto BNPC_P3_SUMMON_01 = 5891822;
static constexpr auto BNPC_P3_SUMMON_02 = 5891823;
static constexpr auto BNPC_P2_DEATHGAZE_01 = 5891824;
static constexpr auto BNPC_P3_DEATHGAZE_01 = 5891825;
static constexpr auto BNPC_P3_DEATHGAZE_02 = 5891826;
static constexpr auto POPTIME_P2_DEATHGAZE = 30;
static constexpr auto POPTIME_P3_DEATHGAZE = 30;
static constexpr auto LCUT_ACTOR0 = 1014655;
static constexpr auto LCUT_ACTOR1 = 1014656;
static constexpr auto LCUT_ACTOR2 = 1014657;
static constexpr auto LCUT_ACTOR3 = 1014658;
static constexpr auto LCUT_ACTOR4 = 1014659;
static constexpr auto LCUT_POS_ACTOR0 = 5900235;
static constexpr auto LCUT_POS_ACTOR1 = 5900238;
static constexpr auto LCUT_POS_ACTOR2 = 5900239;
static constexpr auto LCUT_POS_ACTOR3 = 5900240;
static constexpr auto LCUT_POS_ACTOR4 = 5900241;
public:
BigSolleretstoFill() : Sapphire::ScriptAPI::QuestBattleScript( 140 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BigSolleretstoFill );

View file

@ -0,0 +1,71 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class BigTroubleinLittleAlaMhigo : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_01 = 4251863;
static constexpr auto INIT_P_POP_02 = 4251864;
static constexpr auto INIT_P_POP_03 = 4251867;
static constexpr auto INIT_P_POP_04 = 4251873;
static constexpr auto INIT_P_POP_05 = 4251874;
static constexpr auto INIT_POP_1ST_01 = 4252035;
static constexpr auto INIT_POP_1ST_02 = 4252772;
static constexpr auto INIT_POP_1ST_03 = 4252773;
static constexpr auto INIT_POP_1ST_04 = 4252774;
static constexpr auto INIT_POP_1ST_05 = 4252775;
static constexpr auto INIT_POP_1ST_06 = 4252776;
static constexpr auto INIT_POP_2ST_01 = 4252781;
static constexpr auto INIT_POP_2ST_02 = 4252782;
static constexpr auto INIT_POP_2ST_03 = 4252783;
static constexpr auto INIT_POP_2ST_04 = 4252784;
static constexpr auto INIT_POP_2ST_05 = 4252785;
static constexpr auto INIT_POP_3ST_01 = 4252786;
static constexpr auto INIT_POP_3ST_02 = 4252787;
static constexpr auto INIT_POP_3ST_03 = 4252788;
static constexpr auto INIT_POP_3ST_04 = 4252789;
static constexpr auto INIT_POP_3ST_05 = 4252790;
static constexpr auto YELL_QIB_01 = 1127;
static constexpr auto YELL_QIB_02 = 1128;
static constexpr auto LOC_ACTOR0 = 1006215;
static constexpr auto LOC_ACTOR1 = 1008116;
static constexpr auto LOC_ACTOR2 = 1007661;
static constexpr auto LOC_ACTOR3 = 1007662;
static constexpr auto LOC_ACTOR4 = 1007663;
static constexpr auto LOC_ACTOR5 = 1003230;
static constexpr auto LOC_ACTOR6 = 1003228;
static constexpr auto LOC_ACTOR7 = 1003228;
static constexpr auto LOC_POS_ACTOR0 = 4316733;
static constexpr auto LOC_POS_ACTOR1 = 4316734;
static constexpr auto LOC_POS_ACTOR2 = 4316737;
static constexpr auto LOC_POS_ACTOR3 = 4316740;
static constexpr auto LOC_POS_ACTOR4 = 4316745;
static constexpr auto LOC_ACTION1 = 936;
static constexpr auto LOC_ACTION2 = 985;
static constexpr auto LOC_BGM1 = 83;
public:
BigTroubleinLittleAlaMhigo() : Sapphire::ScriptAPI::QuestBattleScript( 58 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BigTroubleinLittleAlaMhigo );

View file

@ -0,0 +1,71 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class BleederofthePack : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_1ST_01 = 4126558;
static constexpr auto INIT_POP_1ST_01 = 4126546;
static constexpr auto INIT_POP_1ST_02 = 4126547;
static constexpr auto INIT_POP_1ST_03 = 4126548;
static constexpr auto INIT_POP_1ST_04 = 4126549;
static constexpr auto INIT_POP_1ST_05 = 4126550;
static constexpr auto INIT_POP_1ST_06 = 4126551;
static constexpr auto INIT_POP_2ST_01 = 4126569;
static constexpr auto INIT_POP_2ST_02 = 4126570;
static constexpr auto INIT_POP_2ST_03 = 4126571;
static constexpr auto INIT_POP_2ST_04 = 4126573;
static constexpr auto INIT_POP_2ST_05 = 4126574;
static constexpr auto INIT_POP_2ST_06 = 4126575;
static constexpr auto INIT_POP_3ST_01 = 4126627;
static constexpr auto INIT_POP_3ST_02 = 4126628;
static constexpr auto INIT_POP_3ST_03 = 4126629;
static constexpr auto INIT_POP_3ST_04 = 4126631;
static constexpr auto INIT_POP_3ST_05 = 4126632;
static constexpr auto INIT_POP_3ST_06 = 4126633;
static constexpr auto INIT_POP_4ST_01 = 4126649;
static constexpr auto INIT_POP_4ST_02 = 4126655;
static constexpr auto INIT_POP_4ST_03 = 4126656;
static constexpr auto INIT_POP_4ST_04 = 4126657;
static constexpr auto INIT_POP_4ST_05 = 4126658;
static constexpr auto INIT_POP_5ST_01 = 4126659;
static constexpr auto P_WARP_01 = 4127467;
static constexpr auto INIT_ENPC_POP_01 = 4097270;
static constexpr auto BGM_01 = 37;
static constexpr auto LOC_ACTOR0 = 1003497;
static constexpr auto LOC_ACTOR1 = 1002696;
static constexpr auto LOC_ACTOR2 = 1003498;
static constexpr auto LOC_ACTOR3 = 1003499;
static constexpr auto LOC_POS_ACTOR0 = 4097270;
static constexpr auto LOC_POS_ACTOR1 = 4164696;
static constexpr auto LOC_POS_ACTOR2 = 4164697;
static constexpr auto LOC_ACTION1 = 961;
static constexpr auto LOC_ACTION2 = 824;
static constexpr auto LOC_ACTION3 = 795;
static constexpr auto LOC_ACTION4 = 934;
public:
BleederofthePack() : Sapphire::ScriptAPI::QuestBattleScript( 27 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BleederofthePack );

View file

@ -1,62 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class BloodDragoon :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
BloodDragoon() :
Sapphire::ScriptAPI::InstanceContentScript( 5021 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "sgvf_w_lvd_b0118", 2007896, 6803926, 4, { 3.704567f, -0.506593f, 225.007507f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "sgvf_w_lvd_b0118_1", 2002872, 6805825, 4, { 4.867329f, -0.098875f, 275.309509f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_0", 2002735, 0, 4, { 4.932000f, -0.320500f, 274.559509f }, 1.000000f, -0.000000f );
instance.registerEObj( "sgpl_w_transparent04", 2007899, 6802026, 4, { -28.138130f, -45.000000f, -32.892731f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgvf_w_lvd_b0118_2", 2002872, 6806775, 4, { -28.390051f, -45.148991f, 8.165403f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_1", 2002735, 0, 4, { -28.551781f, -45.222500f, 5.617400f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2007903, 6773193, 4, { -18.557831f, -44.964081f, -0.932714f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_3", 2007904, 6773192, 4, { -30.723289f, -45.025860f, 1.953206f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2007905, 6773194, 4, { -42.383171f, -44.962471f, -5.125507f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_5", 2008196, 0, 4, { -37.125240f, -45.059940f, -9.414856f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_6", 2008310, 6879064, 4, { -23.194941f, -45.000000f, -3.016589f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgbg_e3d2_d2_mete1", 2007457, 7008362, 4, { -28.500000f, -45.000000f, -14.000000f }, 1.000000f, -0.000000f );
// States -> b4_mete_off_01 (id: 1) b4_mete_off_02 (id: 2) b4_mete_on_01 (id: 3) b4_mete_off_03 (id: 4) b4_mete_on_02 (id: 5) b4_mete_on_03 (id: 6) b4_mete_on_04 (id: 7) b4_mete_on_05 (id: 8) b4_mete_on_06 (id: 9) b4_mete_fdout (id: 18)
instance.registerEObj( "sgvf_w_lvd_b0118_3", 2002872, 6806776, 4, { 24.174879f, -167.392899f, -453.406586f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_7", 2002735, 0, 4, { 24.419100f, -167.350601f, -455.580109f }, 1.000000f, -0.000000f );
instance.registerEObj( "unknown_8", 2007894, 6525794, 4, { -36.023540f, 4.305134f, 406.807404f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_9", 2007895, 6525806, 4, { 4.331786f, 1.464790f, 289.456207f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_10", 2007897, 6540078, 4, { -49.525101f, -45.174839f, 117.206200f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_11", 2007898, 6540093, 4, { -14.321400f, -42.200001f, 42.272179f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_12", 2007900, 6525664, 4, { -19.668949f, -188.037003f, -235.950302f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_13", 2007901, 6525665, 4, { 25.192631f, -172.808502f, -362.417114f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_14", 2007902, 6525180, 4, { 23.936859f, -172.125198f, -405.882996f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance", 2000182, 6797774, 5, { -23.838560f, 8.289917f, 482.742615f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "Shortcut", 2000700, 0, 4, { -20.252930f, 8.134582f, 489.817200f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { 23.942671f, -167.617996f, -486.860809f }, 0.991760f, 0.000048f );
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BloodDragoon );

View file

@ -1,34 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class BloodontheDeck :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
BloodontheDeck() :
Sapphire::ScriptAPI::InstanceContentScript( 5009 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "sgbg_w_qic_004_01a", 2007457, 6904219, 4, { 5.684449f, 16.347240f, 3.782750f }, 1.000000f, 0.000000f );
// States -> cage01_close_01 (id: 8) cage01_open_01 (id: 10) cage01_open_02 (id: 11)
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BloodontheDeck );

View file

@ -0,0 +1,66 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class BloodontheSands : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_BOX_01 = 5867998;
static constexpr auto BNPC_JOYE = 5868001;
static constexpr auto BNPC_P1_CRAB_01 = 5868003;
static constexpr auto BNPC_P1_CRAB_02 = 5868005;
static constexpr auto BNPC_P1_CRAB_03 = 5868006;
static constexpr auto BNPC_P1_CRAB_04 = 5868007;
static constexpr auto BNPC_P1_CRAB_05 = 5868008;
static constexpr auto BNPC_P2_CRAB_01 = 5868009;
static constexpr auto BNPC_P2_CRAB_02 = 5868010;
static constexpr auto BNPC_P2_CRAB_03 = 5868011;
static constexpr auto BNPC_P2_KURAGE_01 = 5868012;
static constexpr auto BNPC_P2_KURAGE_02 = 5868013;
static constexpr auto BNPC_P2_KURAGE_03 = 5868014;
static constexpr auto BNPC_P3_CRAB_01 = 5868015;
static constexpr auto BNPC_P3_CRAB_02 = 5868018;
static constexpr auto BNPC_P3_CRAB_03 = 5868019;
static constexpr auto BNPC_P3_CRAB_04 = 5868020;
static constexpr auto BNPC_P3_CRAB_05 = 5868022;
static constexpr auto BNPC_P3_KURAGE_01 = 5868023;
static constexpr auto BNPC_P3_KURAGE_02 = 5868024;
static constexpr auto BNPC_P3_KURAGE_03 = 5868025;
static constexpr auto BNPC_P3_KURAGE_04 = 5868026;
static constexpr auto BNPC_P4_SUIRYU_01 = 5868028;
static constexpr auto ENPC_ROSTNSTHAL = 5868079;
static constexpr auto ENPC_STEPHANIVIEN = 5868080;
static constexpr auto YELL_JOY_TRANCE_01 = 2663;
static constexpr auto ACTION_JOY_TRANCE_01 = 4265;
static constexpr auto LOC_MARKER_01 = 5927544;
static constexpr auto LOC_ACTOR0 = 1014579;
static constexpr auto LOC_ACTOR1 = 1014580;
static constexpr auto LOC_ACTOR2 = 1015124;
static constexpr auto LOC_BGM0 = 96;
public:
BloodontheSands() : Sapphire::ScriptAPI::QuestBattleScript( 117 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2009569, 0, 4, { 763.213318f, 9.000000f, 358.016998f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2009570, 0, 4, { 748.506775f, 9.000000f, 520.002930f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BloodontheSands );

View file

@ -0,0 +1,56 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class BringingDowntheMountain : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_1ST_01 = 4127474;
static constexpr auto INIT_P_POP_1ST_02 = 4127475;
static constexpr auto INIT_POP_BOSS_01 = 4127476;
static constexpr auto INIT_POP_1ST_01 = 4127477;
static constexpr auto INIT_POP_1ST_02 = 4127478;
static constexpr auto INIT_POP_1ST_03 = 4127479;
static constexpr auto INIT_POP_1ST_04 = 4127480;
static constexpr auto INIT_POP_1ST_05 = 4127481;
static constexpr auto INIT_POP_1ST_06 = 4127482;
static constexpr auto INIT_POP_2ST_01 = 4127485;
static constexpr auto INIT_POP_2ST_02 = 4127486;
static constexpr auto INIT_POP_2ST_03 = 4127487;
static constexpr auto INIT_POP_2ST_04 = 4127488;
static constexpr auto INIT_POP_2ST_05 = 4127489;
static constexpr auto INIT_POP_2ST_06 = 4127490;
static constexpr auto INIT_POP_3ST_01 = 4127491;
static constexpr auto INIT_POP_3ST_02 = 4127492;
static constexpr auto INIT_POP_3ST_03 = 4127493;
static constexpr auto INIT_POP_3ST_04 = 4127494;
static constexpr auto INIT_POP_3ST_05 = 4127495;
static constexpr auto INIT_POP_3ST_06 = 4127496;
static constexpr auto STATUS_HAELED_DOWN = 172;
static constexpr auto CUT_SCENE_01 = 41;
static constexpr auto CUT_SCENE_02 = 42;
public:
BringingDowntheMountain() : Sapphire::ScriptAPI::QuestBattleScript( 28 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BringingDowntheMountain );

View file

@ -0,0 +1,52 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class BrotherfromAnotherMother : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_ENPC_POP_1_ERIC_01 = 4306244;
static constexpr auto INIT_EOBJ_POP_1_MACHIN_01 = 4306245;
static constexpr auto INIT_POP_1_IMP_01 = 4306246;
static constexpr auto INIT_POP_1_IMP_02 = 4306247;
static constexpr auto INIT_POP_1_IMP_03 = 4306248;
static constexpr auto INIT_POP_1_IMP_04 = 4306249;
static constexpr auto INIT_POP_1_IMP_05 = 4306250;
static constexpr auto INIT_POP_1_IMP_06 = 4306251;
static constexpr auto INIT_POP_2_IMP_BOSS_01 = 4306253;
static constexpr auto INIT_POP_3_MASEKIKUN_01 = 4306259;
static constexpr auto INIT_POP_3_MASEKIKUN_02 = 4306260;
static constexpr auto INIT_POP_3_MASEKIKUN_03 = 4306261;
static constexpr auto CUT_END_NCUT = 338;
static constexpr auto LOC_POS_ACTOR0 = 4324013;
static constexpr auto LOC_ACTOR0 = 1006749;
static constexpr auto LOC_ACTOR1 = 1007892;
static constexpr auto LOC_ACTOR2 = 1007893;
static constexpr auto LOC_ACTOR3 = 1007894;
static constexpr auto LOC_POS_ACTOR1 = 4325065;
static constexpr auto LOC_POS_ACTOR2 = 4325150;
public:
BrotherfromAnotherMother() : Sapphire::ScriptAPI::QuestBattleScript( 70 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BrotherfromAnotherMother );

View file

@ -0,0 +1,62 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class BrotherlyLove : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_IDA = 4255892;
static constexpr auto INIT_P_POP_PAPARIMO = 4255894;
static constexpr auto INIT_POP_BOSS = 4255868;
static constexpr auto INIT_POP_1_THM_01 = 4255869;
static constexpr auto INIT_POP_1_THM_02 = 4255870;
static constexpr auto INIT_POP_1_THM_03 = 4255871;
static constexpr auto INIT_POP_2_CNJ_01 = 4255896;
static constexpr auto INIT_POP_2_GLA_01 = 4255897;
static constexpr auto INIT_POP_2_GLA_02 = 4255898;
static constexpr auto INIT_POP_2_MOL_01 = 4255903;
static constexpr auto INIT_POP_2_MOL_02 = 4255904;
static constexpr auto INIT_POP_3_MOL_01 = 4261134;
static constexpr auto INIT_POP_3_THM_01 = 4261155;
static constexpr auto INIT_ENPC_01 = 4256371;
static constexpr auto LOC_ACTOR0 = 1003005;
static constexpr auto LOC_ACTOR1 = 1008117;
static constexpr auto LOC_ACTOR2 = 1002275;
static constexpr auto LOC_ACTOR3 = 1002276;
static constexpr auto LOC_ACTOR4 = 1007007;
static constexpr auto LOC_POS_ACTOR0 = 4307105;
static constexpr auto LOC_POS_ACTOR1 = 4307106;
static constexpr auto LOC_POS_ACTOR2 = 4307107;
static constexpr auto LOC_POS_ACTOR3 = 4307108;
static constexpr auto LOC_ACTION1 = 956;
static constexpr auto LOC_ACTION2 = 954;
static constexpr auto LOC_ACTION3 = 962;
static constexpr auto POP_RANGE_MONSTER_DEPOP = 4332127;
static constexpr auto LOC_ACTOR5 = 1008173;
static constexpr auto LOC_BGM1 = 39;
static constexpr auto LOC_BGM2 = 93;
public:
BrotherlyLove() : Sapphire::ScriptAPI::QuestBattleScript( 57 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( BrotherlyLove );

View file

@ -0,0 +1,50 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ChasingShadows : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_BOSS = 3802315;
static constexpr auto INIT_P_POP_IDA = 3802271;
static constexpr auto INIT_P_POP_PAPARIMO = 3802272;
static constexpr auto INIT_POP_ENEMY_B_01 = 4094218;
static constexpr auto INIT_POP_ENEMY_B_02 = 4094220;
static constexpr auto INIT_POP_ENEMY_B_03 = 4094232;
static constexpr auto INIT_POP_ENEMY_B_04 = 4094233;
static constexpr auto INIT_POP_ENEMY_B_05 = 4094474;
static constexpr auto INIT_POP_ENEMY_B_06 = 4094475;
static constexpr auto INIT_POP_ENEMY_A_01 = 4094238;
static constexpr auto INIT_POP_ENEMY_A_02 = 4094239;
static constexpr auto INIT_POP_ENEMY_A_03 = 4094240;
static constexpr auto INIT_POP_ENEMY_A_04 = 4094471;
static constexpr auto INIT_POP_ENEMY_A_05 = 4094472;
static constexpr auto INIT_POP_ENEMY_A_06 = 4094473;
static constexpr auto CUT_SCENE_01 = 54;
static constexpr auto HOW_TO_QIB = 79;
public:
ChasingShadows() : Sapphire::ScriptAPI::QuestBattleScript( 11 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2005192, 5760474, 4, { -51.493111f, 0.309087f, 71.436897f }, 1.000000f, -0.000006f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ChasingShadows );

View file

@ -0,0 +1,69 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ChoicesandPaths : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_BOSS_01 = 6852479;
static constexpr auto BNPC_ZAKO_PACK1_01 = 6852489;
static constexpr auto BNPC_ZAKO_PACK1_02 = 6852490;
static constexpr auto BNPC_ZAKO_PACK1_03 = 6852491;
static constexpr auto BNPC_ZAKO_PACK1_04 = 6852492;
static constexpr auto BNPC_ZAKO_PACK1_05 = 6865996;
static constexpr auto BNPC_ZAKO_PACK1_06 = 6865997;
static constexpr auto BNPC_ZAKO_PACK1_07 = 6865999;
static constexpr auto BNPC_ZAKO_PACK2_01 = 6866000;
static constexpr auto BNPC_ZAKO_PACK2_02 = 6866001;
static constexpr auto BNPC_ZAKO_PACK2_03 = 6866003;
static constexpr auto BNPC_ZAKO_PACK2_04 = 6866004;
static constexpr auto BNPC_ZAKO_PACK2_05 = 6866005;
static constexpr auto BNPC_ZAKO_PACK2_06 = 6866006;
static constexpr auto BNPC_ZAKO_PACK2_07 = 6866007;
static constexpr auto BNPC_ZAKO_PACK2_08 = 6866008;
static constexpr auto BNPC_ZAKO_PACK2_09 = 6866009;
static constexpr auto BNPC_ZAKO_PACK3_01 = 6866016;
static constexpr auto BNPC_ZAKO_PACK3_02 = 6866018;
static constexpr auto BNPC_ZAKO_PACK3_03 = 6866019;
static constexpr auto BNPC_ZAKO_PACK3_04 = 6866022;
static constexpr auto BNPC_ZAKO_PACK3_05 = 6866023;
static constexpr auto BNPC_ZAKO_PACK3_06 = 6866025;
static constexpr auto BNPC_ZAKO_PACK3_07 = 6866026;
static constexpr auto BNPC_ZAKO_PACK3_08 = 6866027;
static constexpr auto BNPC_ZAKO_PACK3_09 = 6866028;
static constexpr auto EOBJ_FIRE_DAMAGE_AREA = 6866276;
static constexpr auto STATUS_PARAM_FIRE_DAMAGE = 2917;
static constexpr auto ACTION_DARK_FIRE_II = 2175;
static constexpr auto LOCKON_BOSS_CHARGE = 30;
static constexpr auto QIB_YELL_01 = 4528;
static constexpr auto QIB_YELL_02 = 4529;
static constexpr auto QIB_YELL_03 = 4530;
static constexpr auto QIB_YELL_04 = 4531;
static constexpr auto QIB_YELL_05 = 4532;
static constexpr auto QIB_YELL_06 = 4533;
static constexpr auto ACTION_HEWERALD_CHARGE = 8305;
public:
ChoicesandPaths() : Sapphire::ScriptAPI::QuestBattleScript( 152 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ChoicesandPaths );

View file

@ -0,0 +1,73 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class CloseEncountersoftheVIthKind : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto CUT_SCENE_N_01 = 895;
static constexpr auto CUT_SCENE_N_02 = 896;
static constexpr auto BNPC_COMPANION_ALPHINAUD = 5872315;
static constexpr auto BNPC_COMPANION_ESTINIEN = 5872316;
static constexpr auto BNPC_COMPANION_Y_SHTOLA = 5873153;
static constexpr auto BNPC_ENEMY_BOSS = 5872306;
static constexpr auto BNPC_ENEMY_ZAKO_KEN = 5872308;
static constexpr auto BNPC_ENEMY_ZAKO_YARI = 5872309;
static constexpr auto BNPC_ENEMY_ZAKO_JU = 5872310;
static constexpr auto BNPC_ENEMY_ZAKO_YUMI = 5872311;
static constexpr auto BNPC_ENEMY_TRANS_BATTALION_NOLOG_NOHIT_00 = 5872328;
static constexpr auto BNPC_ENEMY_TRANS_BATTALION_NOLOG_NOHIT_01 = 5872329;
static constexpr auto BNPC_ENEMY_TRANS_BATTALION_NOLOG_NOHIT_02 = 5872332;
static constexpr auto BNPC_ENEMY_TRANS_BATTALION_NOLOG_NOHIT_03 = 5872333;
static constexpr auto BNPC_ENEMY_TRANS_BATTALION_NOLOG_NOHIT_04 = 5872334;
static constexpr auto BNPC_ENEMY_TRANS_BATTALION_NOLOG_NOHIT_05 = 5872337;
static constexpr auto BNPC_ENEMY_TRANS_BATTALION_NOLOG_NOHIT_06 = 5872338;
static constexpr auto BNPC_ENEMY_TRANS_BATTALION_NOLOG_NOHIT_07 = 5872339;
static constexpr auto BNPC_JUJIGIRI = 5891787;
static constexpr auto DEF_ACTION_JUJIGIRI = 3924;
static constexpr auto DEF_ACTION_MAGIC_FIELD = 4006;
static constexpr auto EOBJ_MAGIC_FIELD = 5891583;
static constexpr auto STATUSPARAM_MAGIC_DOT = 1698;
static constexpr auto BNPC_ENEMY_ADD_KEN = 5891587;
static constexpr auto BNPC_ENEMY_ADD_YARI = 5891588;
static constexpr auto BNPC_SEIRINSUI_01 = 5891755;
static constexpr auto BNPC_SEIRINSUI_02 = 5891756;
static constexpr auto BNPC_SEIRINSUI_03 = 5891757;
static constexpr auto BNPC_SEIRINSUI_04 = 5891758;
static constexpr auto BNPC_SEIRINSUI_05 = 5891759;
static constexpr auto BNPC_SEIRINSUI_06 = 5891760;
static constexpr auto BNPC_SEIRINSUI_07 = 5891761;
static constexpr auto BNPC_SEIRINSUI_08 = 5891765;
static constexpr auto DEF_ACTION_SEIRINSUI_BAKUHATSU = 3922;
static constexpr auto DEF_ACTION_JUJIGIRI_TOSHIN = 3825;
static constexpr auto BNPC_SUMMON_CARBUNCLE = 5911934;
static constexpr auto DEF_ACTION_SUMMON_PET_BNPC = 4786;
static constexpr auto BNPCBASE_SEIRINSUI = 3948;
static constexpr auto BNPCBASE_JUJIGIRI = 3933;
static constexpr auto POP_RANGE_Y_SHTOLA_MOVE_01 = 5936437;
static constexpr auto LINE_VOICE_ALPHINAUD_007 = 8201091;
public:
CloseEncountersoftheVIthKind() : Sapphire::ScriptAPI::QuestBattleScript( 110 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( CloseEncountersoftheVIthKind );

View file

@ -0,0 +1,88 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class CloyingVictory : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_1TEAM_EXC_01 = 5072084;
static constexpr auto INIT_POP_1TEAM_EXC_02 = 5072086;
static constexpr auto INIT_POP_1TEAM_EXC_03 = 5072087;
static constexpr auto INIT_POP_1TEAM_CNJ_01 = 5072088;
static constexpr auto INIT_POP_1TEAM_ARC_01 = 5072089;
static constexpr auto INIT_POP_1TEAM_ARC_02 = 5072090;
static constexpr auto INIT_POP_1TEAM_ARC_03 = 5072091;
static constexpr auto INIT_POP_2TEAM_EXC_01 = 5072110;
static constexpr auto INIT_POP_2TEAM_EXC_02 = 5072111;
static constexpr auto INIT_POP_2TEAM_EXC_03 = 5072112;
static constexpr auto INIT_POP_2TEAM_CNJ_01 = 5072114;
static constexpr auto INIT_POP_2TEAM_ARC_01 = 5072115;
static constexpr auto INIT_POP_2TEAM_ARC_02 = 5072117;
static constexpr auto INIT_POP_2TEAM_ARC_03 = 5072119;
static constexpr auto INIT_POP_3TEAM_BOS_01 = 5072145;
static constexpr auto INIT_POP_3TEAM_GLA_01 = 5072146;
static constexpr auto INIT_POP_3TEAM_GLA_02 = 5072147;
static constexpr auto INIT_POP_3TEAM_GLA_03 = 5072148;
static constexpr auto INIT_POP_EX_DEV_01 = 5072762;
static constexpr auto INIT_POP_EX_DEV_02 = 5072763;
static constexpr auto INIT_POP_EX_DEV_03 = 5072764;
static constexpr auto INIT_POP_EX_GAR_01 = 5072766;
static constexpr auto INIT_POP_EX_GAR_02 = 5072768;
static constexpr auto INIT_POP_EX_GAR_03 = 5072765;
static constexpr auto INIT_POP_NOTAR_01 = 5072780;
static constexpr auto INIT_P_POP_NOTAR_01 = 5072782;
static constexpr auto INIT_POP_NOTAR_02 = 5072784;
static constexpr auto INIT_P_POP_NOTAR_02 = 5072783;
static constexpr auto INIT_POP_NOTAR_03 = 5072785;
static constexpr auto INIT_P_POP_NOTAR_03 = 5072786;
static constexpr auto INIT_POP_ACTOR_EXPLOSION = 5110373;
static constexpr auto INIT_P_POP_1ST_JACKE_01 = 5073620;
static constexpr auto INIT_P_POP_1ST_PERIMU_01 = 5073621;
static constexpr auto INIT_P_POP_1ST_VKEBBE_01 = 5073622;
static constexpr auto INIT_NPC_MOVE_JACKE_01 = 5073744;
static constexpr auto INIT_NPC_MOVE_PERIMU_01 = 5073745;
static constexpr auto INIT_NPC_MOVE_VKEBBE_01 = 5073746;
static constexpr auto DEVICE_BNPC_BASE_TYPE = 3470;
static constexpr auto LOGMESSAGE_QIB_EXPLOSION_90 = 3246;
static constexpr auto LOGMESSAGE_QIB_EXPLOSION_60 = 3247;
static constexpr auto LOGMESSAGE_QIB_EXPLOSION_30 = 3248;
static constexpr auto LOGMESSAGE_QIB_EXPLOSION_20 = 3249;
static constexpr auto LOGMESSAGE_QIB_EXPLOSION_10 = 3250;
static constexpr auto LOGMESSAGE_QIB_EXPLOSION_5 = 3251;
static constexpr auto DEF_ACTION_EXPLOSION = 3201;
static constexpr auto EOBJ_QIB_1 = 5071851;
static constexpr auto EOBJ_QIB_2 = 5071920;
static constexpr auto ER_RECT_01 = 5110387;
static constexpr auto QIB_YELL_01 = 2343;
static constexpr auto QIB_YELL_02 = 2344;
static constexpr auto QIB_YELL_03 = 2345;
static constexpr auto CUT_SCENE_01 = 688;
static constexpr auto CUT_SCENE_02 = 689;
static constexpr auto DEF_ACTION_EXPLOSION_TRIGGER = 3269;
public:
CloyingVictory() : Sapphire::ScriptAPI::QuestBattleScript( 95 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Companychest", 2000470, 4255757, 4, { 90.371834f, 41.346722f, 60.735680f }, 1.000000f, 0.000000f );
instance.registerEObj( "Huntboard", 2004438, 4887771, 4, { 94.366341f, 40.247021f, 60.480110f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( CloyingVictory );

View file

@ -0,0 +1,95 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ComeRainorShrine : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto EOBJ_TEMPLE_W = 6784229;
static constexpr auto EOBJ_TEMPLE_S = 6784233;
static constexpr auto EOBJ_TEMPLE_E = 6784235;
static constexpr auto EOBJ_TEMPLE_N = 6784236;
static constexpr auto EOBJ_TEMPLE_W_AFTER = 6784694;
static constexpr auto EOBJ_TEMPLE_S_AFTER = 6784695;
static constexpr auto EOBJ_TEMPLE_E_AFTER = 6784696;
static constexpr auto EOBJ_TEMPLE_N_AFTER = 6784697;
static constexpr auto P_BNPC_KYOKUHOU_01 = 6783228;
static constexpr auto EVENT_ACTION_01 = 22;
static constexpr auto BNPC_HOKORA_TOUMEI_W = 6798139;
static constexpr auto BNPC_HOKORA_TOUMEI_S = 6798360;
static constexpr auto BNPC_HOKORA_TOUMEI_E = 6798361;
static constexpr auto BNPC_HOKORA_TOUMEI_N = 6798362;
static constexpr auto STATUS_ASTROLOGIAN_COMPOSE_STAR = 837;
static constexpr auto PR_KYOKUHOU_HOKORA_MOVE_W = 6798151;
static constexpr auto PR_KYOKUHOU_HOKORA_MOVE_S = 6798363;
static constexpr auto PR_KYOKUHOU_HOKORA_MOVE_E = 6798364;
static constexpr auto PR_KYOKUHOU_HOKORA_MOVE_N = 6798365;
static constexpr auto DEF_ACTION_TORRIGER = 3269;
static constexpr auto DEF_ACTION_TORRIGER_B = 4777;
static constexpr auto PR_KYOKUHOU_HOKORA_BATTLE_S_01 = 7002389;
static constexpr auto PR_KYOKUHOU_HOKORA_BATTLE_S_02 = 6798367;
static constexpr auto PR_KYOKUHOU_HOKORA_BATTLE_E = 6798372;
static constexpr auto BNPC_S_BHOOT_01 = 6798368;
static constexpr auto BNPC_S_BHOOT_02 = 6798369;
static constexpr auto BNPC_S_BHOOT_03 = 6798370;
static constexpr auto BNPC_E_KURAGE = 6798373;
static constexpr auto BNPC_E_BHOOT_01 = 6798374;
static constexpr auto BNPC_E_BHOOT_02 = 6798375;
static constexpr auto BNPC_E_STREET_GHOST_01 = 6798377;
static constexpr auto BNPC_E_STREET_GHOST_02 = 6798378;
static constexpr auto BNPC_E_STREET_GHOST_03 = 6798379;
static constexpr auto BNPC_E_STREET_GHOST_04 = 6798380;
static constexpr auto BNPC_E_STREET_GHOST_05 = 6798381;
static constexpr auto BNPC_E_STREET_GHOST_06 = 6798382;
static constexpr auto BNPC_E_STREET_GHOST_07 = 6798383;
static constexpr auto BNPC_E_STREET_GHOST_08 = 6798385;
static constexpr auto BNPC_E_STREET_GHOST_09 = 6798386;
static constexpr auto BNPC_E_STREET_GHOST_10 = 6798387;
static constexpr auto BNPC_E_STREET_GHOST_11 = 6798388;
static constexpr auto BNPC_E_STREET_GHOST_12 = 6798389;
static constexpr auto ER_E_HOKORA_AROUND = 6798390;
static constexpr auto BNPC_STREET_GHOST = 6878;
static constexpr auto BNPC_N_STREET_GHOST_01 = 6798394;
static constexpr auto BNPC_N_STREET_GHOST_02 = 6798395;
static constexpr auto BNPC_N_STREET_GHOST_03 = 6798396;
static constexpr auto BNPC_N_STREET_GHOST_04 = 6798397;
static constexpr auto BNPC_N_STREET_GHOST_05 = 6798398;
static constexpr auto BNPC_N_STREET_GHOST_06 = 6798399;
static constexpr auto BNPC_N_STREET_GHOST_07 = 6798400;
static constexpr auto BNPC_N_STREET_GHOST_08 = 6798401;
static constexpr auto BNPC_N_STREET_GHOST_09 = 6798402;
static constexpr auto ER_N_HOKORA_AROUND = 6798421;
static constexpr auto BNPC_N_BOSS = 6798428;
public:
ComeRainorShrine() : Sapphire::ScriptAPI::QuestBattleScript( 154 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2000608, 6538194, 4, { -27.571140f, -3.000000f, 46.619968f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2000608, 6538193, 4, { -28.307659f, 3.999977f, 61.762589f }, 1.000000f, 0.000000f );
instance.registerEObj( "ClanHuntboard", 2008655, 6422886, 4, { -31.520060f, 0.076252f, -43.853790f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_w_qic_004_03a", 2002872, 6799085, 4, { -79.087517f, -3.006042f, 41.336670f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_w_qic_004_03a_1", 2002872, 6799087, 4, { -61.668732f, -3.014119f, 84.855003f }, 0.991760f, -1.567030f );
instance.registerEObj( "unknown_2", 2007457, 6611234, 4, { 137.621094f, 14.816470f, 92.484863f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2007457, 6538193, 4, { -27.894131f, 3.999977f, 61.384491f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2007457, 6538194, 4, { -28.259020f, -3.000000f, 46.489510f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ComeRainorShrine );

View file

@ -1,35 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class CuriousGorgeMeetsHisMatch :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
CuriousGorgeMeetsHisMatch() :
Sapphire::ScriptAPI::InstanceContentScript( 5013 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "Summoningbell", 2000401, 4260827, 4, { 14.143430f, 5.238082f, 13.664930f }, 1.000000f, 0.000000f );
// States -> vf_rtbell_on (id: 10)
instance.registerEObj( "Teamboard", 2009097, 4302533, 4, { 15.508660f, 6.051773f, -14.767720f }, 1.000000f, 0.000000f );
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( CuriousGorgeMeetsHisMatch );

View file

@ -1,45 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class DarkwingDragon :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
DarkwingDragon() :
Sapphire::ScriptAPI::InstanceContentScript( 5016 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "unknown_0", 2008290, 6894789, 4, { 375.272888f, -4.893838f, 290.605011f }, 1.000000f, 0.000000f );
instance.registerEObj( "Yol", 2008330, 0, 4, { 466.995514f, 21.157949f, -328.188995f }, 1.000000f, 0.000000f );
instance.registerEObj( "Ovoo", 2008289, 6872570, 4, { 354.000000f, -0.790344f, 296.500000f }, 0.991760f, 0.000048f );
// States -> land_def (id: 3) land_def_anim (id: 4) land_on (id: 5) land_on_anim (id: 6) land_on_omen (id: 7) land_on_omen (id: 8) land_off (id: 19) land_off_anim (id: 20)
instance.registerEObj( "unknown_1", 2004967, 0, 4, { -187.899506f, 1.653982f, 760.298279f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgbg_e3f3_q1_gmc02", 2007457, 7653044, 4, { -223.010605f, 3.178310f, 519.218811f }, 0.991760f, 0.000048f );
// States -> smto_on (id: 19) smto_c_on (id: 3) smto_off (id: 1) smto_off_anim (id: 2) smto_c_off (id: 4) smto_fdout (id: 18)
instance.registerEObj( "sgvf_w_lvd_b1472", 2007457, 7653055, 4, { -186.572403f, 4.189117f, 532.602173f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgvf_w_lvd_b1472_1", 2007457, 7653056, 4, { -186.602600f, 6.933841f, 568.871582f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgvf_w_lvd_b1199", 2007457, 7669017, 4, { -186.572403f, 5.921182f, 550.737427f }, 1.000000f, 0.000000f );
// States -> circle_off (id: 3) circle_off (id: 4) circle_on (id: 5) circle_on (id: 6)
instance.registerEObj( "sgvf_w_lvd_b1199_1", 2007457, 7632420, 4, { -223.165497f, 2.660000f, 519.000000f }, 1.000000f, 0.000000f );
// States -> circle_off (id: 3) circle_off (id: 4) circle_on (id: 5) circle_on (id: 6)
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( DarkwingDragon );

View file

@ -0,0 +1,58 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class DeclarationofBlood : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_FRAY = 5892100;
static constexpr auto BNPC_P1_BOSS = 5892101;
static constexpr auto BNPC_P1_MOB_01 = 5892107;
static constexpr auto BNPC_P1_MOB_02 = 5892110;
static constexpr auto BNPC_P1_MOB_03 = 5892111;
static constexpr auto BNPC_P1_MOB_04 = 5892113;
static constexpr auto BNPC_P1_MOB_05 = 5892115;
static constexpr auto BNPC_P2_MOB_01 = 5892116;
static constexpr auto BNPC_P2_MOB_02 = 5892118;
static constexpr auto BNPC_P2_MOB_03 = 5892119;
static constexpr auto BNPC_P2_MOB_04 = 5892121;
static constexpr auto BNPC_P2_HEALER_01 = 5892108;
static constexpr auto BNPC_P2_HEALER_02 = 5892109;
static constexpr auto YELL_MOB_01 = 2674;
static constexpr auto YELL_MOB_02 = 2675;
static constexpr auto YELL_MOB_03 = 2676;
static constexpr auto YELL_MOB_04 = 2677;
static constexpr auto YELL_HEALER_01 = 2678;
static constexpr auto YELL_HEALER_02 = 2679;
static constexpr auto YELL_HEALER_03 = 2680;
static constexpr auto YELL_ADD_MOB_01 = 2681;
static constexpr auto YELL_BOSS_01 = 3149;
static constexpr auto EOBJ_BOX = 5928029;
static constexpr auto EOBJ_BOX_TARGET = 5928033;
static constexpr auto EVENTACTION_SEARCH = 7;
static constexpr auto BNPC_TOUMEI_IMAGAWA_HATE = 5961390;
public:
DeclarationofBlood() : Sapphire::ScriptAPI::QuestBattleScript( 137 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( DeclarationofBlood );

View file

@ -0,0 +1,63 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class DestructionintheNameofJustice : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_P1_BLM_A_01 = 5874136;
static constexpr auto BNPC_P1_BLM_A_02 = 5874137;
static constexpr auto BNPC_P1_BLM_B_01 = 5874139;
static constexpr auto BNPC_P2_BLM_B_01 = 5874143;
static constexpr auto BNPC_P2_BLM_B_02 = 5874290;
static constexpr auto BNPC_P2_GATE_01 = 5874291;
static constexpr auto BNPC_P2_GATE_02 = 5874292;
static constexpr auto BNPC_P2_PURIN_01 = 5887399;
static constexpr auto BNPC_P2_PURIN_02 = 5887400;
static constexpr auto BNPC_P3_BLM_A_01 = 5874293;
static constexpr auto BNPC_P3_BLM_B_01 = 5874296;
static constexpr auto BNPC_P3_GATE_01 = 5874590;
static constexpr auto BNPC_P3_GATE_02 = 5874591;
static constexpr auto BNPC_P3_GATE_03 = 5874592;
static constexpr auto BNPC_P3_GARGOYLE_01 = 5887401;
static constexpr auto BNPC_P3_GARGOYLE_02 = 5887402;
static constexpr auto BNPC_P3_GARGOYLE_03 = 5887403;
static constexpr auto ENPC_DOUSHI_01 = 5874135;
static constexpr auto POPTIME_PURIN = 30;
static constexpr auto POPTIME_GARGOYLE = 30;
static constexpr auto LOC_POS_ACTOR1 = 5911929;
static constexpr auto LOC_POS_ACTOR2 = 5911966;
static constexpr auto LOC_ACTOR1 = 1013068;
static constexpr auto LOC_POS_ACTOR3 = 5911967;
static constexpr auto LOC_POS_ACTOR4 = 5911968;
static constexpr auto LOC_ACTOR2 = 1013052;
static constexpr auto LOC_ACTOR3 = 1013053;
static constexpr auto LOC_ACTOR4 = 1013054;
static constexpr auto LOC_BGM_1 = 39;
static constexpr auto LOC_ACTION_1 = 1039;
static constexpr auto LOC_ACTION_2 = 1014;
public:
DestructionintheNameofJustice() : Sapphire::ScriptAPI::QuestBattleScript( 114 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( DestructionintheNameofJustice );

View file

@ -0,0 +1,74 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class DivineIntervention : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_COMPANION_ALPHINAUD = 5853419;
static constexpr auto BNPC_ENEMY_GRINNAUX = 5853420;
static constexpr auto BNPC_ENEMY_PAULECRAIN = 5853421;
static constexpr auto BNPC_VFX_CHAIN_01 = 5853427;
static constexpr auto BNPC_VFX_ELECTRON_01 = 5853422;
static constexpr auto BNPC_VFX_ELECTRON_02 = 5853423;
static constexpr auto BNPC_VFX_ELECTRON_03 = 5853424;
static constexpr auto BNPC_VFX_ELECTRON_04 = 5853425;
static constexpr auto BNPC_TOUMEI_PLAYER = 5853426;
static constexpr auto BNPC_VFX_ELECTRON_06 = 5927949;
static constexpr auto BNPC_VFX_ELECTRON_07 = 5927950;
static constexpr auto BNPC_VFX_ELECTRON_08 = 5927951;
static constexpr auto BNPC_VFX_ELECTRON_09 = 5927952;
static constexpr auto INIT_ENPC_TATARU = 5853510;
static constexpr auto QIB_YELL_01 = 2582;
static constexpr auto CUT_SCENE_N_01 = 796;
static constexpr auto STATUS_FETTERS = 667;
static constexpr auto STATUS_PARAM_FETTERS = 1433;
static constexpr auto CHANNELING_CHAIN = 10;
static constexpr auto DEF_ACTION_CHAIN_GANG = 3991;
static constexpr auto DEF_ACTION_LIGHTENING = 3992;
static constexpr auto LOC_POS_ACTOR0 = 5908213;
static constexpr auto LOC_POS_ACTOR1 = 5908214;
static constexpr auto LOC_POS_ACTOR2 = 5908215;
static constexpr auto LOC_POS_ACTOR3 = 5908216;
static constexpr auto LOC_POS_ACTOR4 = 5908217;
static constexpr auto LOC_POS_ACTOR5 = 5908218;
static constexpr auto LOC_POS_ACTOR6 = 5908219;
static constexpr auto LOC_ACTOR0 = 1008181;
static constexpr auto LOC_ACTOR1 = 1012189;
static constexpr auto LOC_ACTOR2 = 1012465;
static constexpr auto LOC_ACTOR3 = 1012466;
static constexpr auto LOC_ACTOR4 = 1012467;
static constexpr auto LOC_ACTOR5 = 1012468;
static constexpr auto LOC_ACTOR6 = 1012469;
static constexpr auto ACTION_TIMELIN_EVENT_BASE_KNEE_SUFFERING = 936;
static constexpr auto ACTION_TIMELIN_EVENT_BASE_FRIGHTENED3 = 4215;
static constexpr auto ACTION_TIMELIN_EVENT_BASE_CHAIR_SIT = 788;
static constexpr auto LOC_POS_CAM0 = 5908250;
static constexpr auto BNPCBASE_CHAIN = 4140;
static constexpr auto BNPCBASE_ELECTRON = 3780;
public:
DivineIntervention() : Sapphire::ScriptAPI::QuestBattleScript( 105 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2006981, 5656867, 4, { 0.000000f, 0.000000f, -15.851080f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( DivineIntervention );

View file

@ -0,0 +1,40 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class DoingIttheBardWay : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_1_BOSS_IKU_01 = 4298952;
static constexpr auto INIT_POP_1_WLF_01 = 4298953;
static constexpr auto INIT_POP_1_WLF_02 = 4298954;
static constexpr auto INIT_POP_2_IKE_LNC_001 = 4298957;
static constexpr auto INIT_POP_2_IKE_CNJ_001 = 4298958;
static constexpr auto CUT_START_NCUT = 325;
static constexpr auto CUT_END_NCUT = 326;
static constexpr auto JOB_STORY_MES = 3665;
public:
DoingIttheBardWay() : Sapphire::ScriptAPI::QuestBattleScript( 77 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( DoingIttheBardWay );

View file

@ -0,0 +1,73 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class DragoonsFate : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_BLDDRG_GROUND_01 = 5896375;
static constexpr auto P_BNPC_HEUSTIENNE_01 = 5896376;
static constexpr auto BNPC_BLDDRG_FLY_01 = 5896420;
static constexpr auto POP_FLY_FRONT_01 = 5896427;
static constexpr auto POP_FLY_FRONT_02 = 5896433;
static constexpr auto POP_FLY_FRONT_03 = 5896438;
static constexpr auto POP_FLY_LEFT_01 = 5896440;
static constexpr auto POP_FLY_LEFT_02 = 5896442;
static constexpr auto POP_FLY_LEFT_03 = 5896443;
static constexpr auto POP_FLY_BACK_01 = 5896447;
static constexpr auto POP_FLY_BACK_02 = 5896448;
static constexpr auto POP_FLY_BACK_03 = 5896468;
static constexpr auto POP_FLY_RIGHT_01 = 5896469;
static constexpr auto POP_FLY_RIGHT_02 = 5896473;
static constexpr auto POP_FLY_RIGHT_03 = 5896477;
static constexpr auto BNPC_ICE_PATTERN_A_RIGHT_UP = 5896559;
static constexpr auto BNPC_ICE_PATTERN_A_LEFT_UP = 5896825;
static constexpr auto BNPC_ICE_PATTERN_A_LEFT_DOWN = 5896826;
static constexpr auto BNPC_ICE_PATTERN_A_RIGHT_DOWN = 5896827;
static constexpr auto BNPC_ICE_PATTERN_B_UP = 5896828;
static constexpr auto BNPC_ICE_PATTERN_B_LEFT = 5896829;
static constexpr auto BNPC_ICE_PATTERN_B_DOWN = 5896830;
static constexpr auto BNPC_ICE_PATTERN_B_RIGHT = 5896831;
static constexpr auto STATUS_FREEZE = 1519;
static constexpr auto LOCK_ON_MARK = 22;
static constexpr auto ACTION_DRAGON_FLY = 4258;
static constexpr auto ACTION_CAUTERIZE = 4260;
static constexpr auto ACTION_TOUCH_DOWN = 4998;
static constexpr auto STATUS_PARAM_MARKING = 1726;
static constexpr auto STATUS_PARAM_ANTI_MARKING = 1729;
static constexpr auto STATUS_MARKING = 904;
static constexpr auto STATUS_ANTI_MARKING = 475;
static constexpr auto LOC_ACTOR_BLDDRG = 1014530;
static constexpr auto LOC_ACTOR_HEUS = 1014531;
static constexpr auto LEVEL_POINT_HEUS = 5883420;
static constexpr auto LEVEL_POINT_BLDDRG = 5883423;
static constexpr auto LOC_FACE1 = 616;
static constexpr auto ACTION_TIMELINE_EVENT_BASE_MUNE_OSAE = 4222;
static constexpr auto LOC_BGM1 = 91;
static constexpr auto BNPC_TOUMEI_PLAYER = 5936683;
static constexpr auto BNPC_TOUMEI_PLAYER_B = 5963092;
public:
DragoonsFate() : Sapphire::ScriptAPI::QuestBattleScript( 142 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( DragoonsFate );

View file

@ -0,0 +1,82 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class DutyHonorCountry : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_1ST_01 = 4087433;
static constexpr auto INIT_P_POP_1ST_02 = 4087434;
static constexpr auto INIT_POP_1ST_BOSS = 4087437;
static constexpr auto INIT_POP_1ST_ARC_01_01 = 4087440;
static constexpr auto INIT_POP_1ST_ARC_01_02 = 4087443;
static constexpr auto INIT_POP_1ST_ARC_01_03 = 4087445;
static constexpr auto INIT_POP_1ST_PGL_01_04 = 4087449;
static constexpr auto INIT_POP_1ST_PGL_01_05 = 4087451;
static constexpr auto INIT_POP_1ST_PGL_01_06 = 4087452;
static constexpr auto INIT_P_POP_1ST_03 = 4087459;
static constexpr auto INIT_P_POP_1ST_04 = 4087460;
static constexpr auto INIT_POP_1ST_CNJ_02_01 = 4087493;
static constexpr auto INIT_POP_1ST_THM_02_02 = 4087494;
static constexpr auto INIT_POP_1ST_ARC_02_03 = 4087498;
static constexpr auto INIT_POP_1ST_ARC_02_04 = 4087499;
static constexpr auto INIT_POP_1ST_PGL_02_05 = 4087502;
static constexpr auto INIT_POP_1ST_PGL_02_06 = 4087504;
static constexpr auto INIT_POP_1ST_MON_03_01 = 4087563;
static constexpr auto INIT_POP_2ND_01 = 4087572;
static constexpr auto INIT_POP_2ND_02 = 4087573;
static constexpr auto INIT_P_POP_2ND_01 = 4087577;
static constexpr auto WARP_01 = 4087657;
static constexpr auto ACTION_CURE = 120;
static constexpr auto ACTION_PRO = 123;
static constexpr auto INIT_NOTAR_P_POP_1ST_01 = 4089037;
static constexpr auto INIT_NOTAR_P_POP_1ST_02 = 4089038;
static constexpr auto INIT_NOTAR_P_POP_1ST_03 = 4089039;
static constexpr auto INIT_NOTAR_P_POP_1ST_04 = 4089040;
static constexpr auto INIT_NOTAR_P_POP_1ST_05 = 4089041;
static constexpr auto INIT_NOTAR_P_POP_1ST_06 = 4089043;
static constexpr auto INIT_NOTAR_P_POP_1ST_07 = 4089044;
static constexpr auto INIT_NOTAR_P_POP_1ST_08 = 4089045;
static constexpr auto INIT_NOTAR_P_POP_1ST_09 = 4089046;
static constexpr auto INIT_NOTAR_POP_1ST_01 = 4089052;
static constexpr auto INIT_NOTAR_POP_1ST_02 = 4089055;
static constexpr auto INIT_NOTAR_POP_1ST_03 = 4089053;
static constexpr auto INIT_NOTAR_POP_1ST_04 = 4089054;
static constexpr auto INIT_NOTAR_POP_1ST_05 = 4089050;
static constexpr auto INIT_NOTAR_POP_1ST_06 = 4089051;
static constexpr auto INIT_NOTAR_POP_1ST_07 = 4089048;
static constexpr auto INIT_NOTAR_POP_1ST_08 = 4089049;
static constexpr auto INIT_NOTAR_POP_1ST_09 = 4089047;
static constexpr auto DEF_ACTION_MONSTER_SUMMON = 867;
static constexpr auto DEF_WEATHER_RETURN = 2;
static constexpr auto DEF_POISON = 18;
static constexpr auto CUT_SCENE_01 = 194;
static constexpr auto CUT_SCENE_02 = 195;
static constexpr auto CUT_SCENE_03 = 196;
static constexpr auto BGM_MASKED_BATTLE = 94;
static constexpr auto DEF_WEATHER_BOSS = 19;
public:
DutyHonorCountry() : Sapphire::ScriptAPI::QuestBattleScript( 38 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( DutyHonorCountry );

View file

@ -0,0 +1,77 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class DutyandtheBeast : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_P1_CURIOUS_01 = 5867394;
static constexpr auto BNPC_P1_GENSYO_TAMASHII_01 = 5867395;
static constexpr auto BNPC_P1_GENSYO_TAMASHII_02 = 5867397;
static constexpr auto BNPC_P1_GENSYO_TAMASHII_03 = 5867398;
static constexpr auto BNPC_P1_GENSYO_TAMASHII_04 = 5867399;
static constexpr auto BNPC_P2_GENSYO_TAMASHII_01 = 5867425;
static constexpr auto BNPC_P2_GENSYO_TAMASHII_02 = 5867426;
static constexpr auto BNPC_P2_GENSYO_TAMASHII_03 = 5867427;
static constexpr auto BNPC_P3_GENSYO_TAMASHII_01 = 5867431;
static constexpr auto BNPC_P3_GENSYO_TAMASHII_02 = 5867432;
static constexpr auto BNPC_P3_GENSYO_TAMASHII_03 = 5867433;
static constexpr auto BNPC_P3_GENSYO_IKARI_CHASE_01 = 5867443;
static constexpr auto BNPC_P3_GENSYO_IKARI_CHASE_02 = 5867442;
static constexpr auto BNPC_P3_GENSYO_IKARI_CHASE_03 = 5867444;
static constexpr auto ENPC_P1_BROKEN_01 = 5867445;
static constexpr auto LOG_MESSAGE_01 = 3608;
static constexpr auto BGM_BATTLE = 39;
static constexpr auto LOC_ACTOR1 = 1014672;
static constexpr auto LOC_ACTOR2 = 1014476;
static constexpr auto LOC_ACTOR3 = 1014638;
static constexpr auto LOC_POS1 = 5871798;
static constexpr auto EVENT_BASE_KNEE_SUFFERING = 936;
static constexpr auto ACTION_DEPOP_TRIGER = 3269;
static constexpr auto LOC_ACTOR4 = 1014475;
static constexpr auto LOC_POS2 = 5911679;
static constexpr auto EVENT_BASE_GROUND_TIRED = 824;
static constexpr auto STATUS_PARAM_KNOCK_DOWN = 1414;
static constexpr auto LOGMESSAGE_RAGE_01 = 3297;
public:
DutyandtheBeast() : Sapphire::ScriptAPI::QuestBattleScript( 102 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgbg_w_qic_001_04a", 2006993, 6235274, 4, { -35.822102f, 298.899994f, -205.263199f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_0", 2006952, 0, 4, { -35.712589f, 298.899994f, -204.878006f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { 556.049377f, 348.102509f, -752.435730f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance", 2000182, 4600289, 5, { 523.532471f, 348.223389f, -736.685730f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_1", 2002332, 0, 4, { 533.090881f, 348.691895f, -742.750916f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2002333, 0, 4, { 539.940430f, 348.836395f, -734.401489f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2000608, 3967803, 4, { 202.369598f, 257.761108f, 80.435272f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2000608, 3976993, 4, { 273.634705f, 254.600204f, 106.048500f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_5", 2000608, 3986797, 4, { 205.504898f, 246.188995f, 194.875702f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_6", 2000608, 3986798, 4, { 326.313385f, 239.193497f, 221.138901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_7", 2000608, 2718481, 4, { 240.552307f, 302.769714f, -199.979996f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_8", 2000608, 4065433, 4, { 204.970001f, 302.119995f, -216.311600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_9", 2000608, 2814617, 4, { 205.869995f, 302.219086f, -276.681396f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_10", 2000608, 2763112, 4, { -433.000000f, 211.007706f, -216.148605f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_11", 2000608, 4187649, 4, { -453.000000f, 211.000000f, -281.046600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_12", 2000608, 4187961, 4, { -416.000000f, 210.788193f, -279.813812f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( DutyandtheBeast );

View file

@ -1,36 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class EmissaryoftheDawn :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
EmissaryoftheDawn() :
Sapphire::ScriptAPI::InstanceContentScript( 5025 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "sgbg_e3e9_a1_grk01", 2007457, 7463402, 4, { -7.066119f, -0.015320f, 4.851629f }, 0.991760f, 0.000048f );
instance.registerEObj( "WoundedPopularis", 2009561, 7508935, 4, { -6.516740f, -0.015320f, 6.499700f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgvf_w_lvd_b1199", 2007457, 7420739, 4, { -0.523771f, 0.000000f, 2.522100f }, 1.000000f, 0.000000f );
// States -> circle_off (id: 3) circle_off (id: 4) circle_on (id: 5) circle_on (id: 6)
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( EmissaryoftheDawn );

View file

@ -0,0 +1,85 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class EscapefromCastrumCentri : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_1_BIGGS = 4278226;
static constexpr auto INIT_P_POP_1_ARMOR_WEDGE = 4278227;
static constexpr auto INIT_POP_1_1_EXC_LEADER = 4278232;
static constexpr auto INIT_POP_1_1_LNC_01 = 4278234;
static constexpr auto INIT_POP_1_1_THM_01 = 4278235;
static constexpr auto INIT_P_POP_1_PAPALYMO = 4278239;
static constexpr auto INIT_P_POP_1_URIANGER = 4278243;
static constexpr auto INIT_ENPC_1_MINFILIA = 4278275;
static constexpr auto INIT_ENPC_1_TATARU = 4278277;
static constexpr auto INIT_POP_1_2_LNC_01 = 4278298;
static constexpr auto INIT_POP_1_2_CNJ_01 = 4278300;
static constexpr auto INIT_POP_1_2_GLA_01 = 4278305;
static constexpr auto INIT_ENPC_2_MINFILIA = 4288517;
static constexpr auto INIT_ENPC_2_TATARU = 4288518;
static constexpr auto INIT_ENPC_2_BIGGS = 4288515;
static constexpr auto INIT_P_POP_2_PAPALYMO = 4278513;
static constexpr auto INIT_P_POP_2_URIANGER = 4278521;
static constexpr auto INIT_POP_2_1_LNC_01 = 4278529;
static constexpr auto INIT_POP_2_1_GLA_01 = 4278538;
static constexpr auto INIT_POP_2_1_CNJ_01 = 4278558;
static constexpr auto INIT_POP_2_1_KIL_01 = 4278569;
static constexpr auto INIT_POP_2_1_THM_01 = 4278577;
static constexpr auto INIT_POP_2_2_KIL_01 = 4285260;
static constexpr auto INIT_POP_2_2_KIL_02 = 4285261;
static constexpr auto INIT_POP_2_2_LNC_01 = 4285274;
static constexpr auto INIT_POP_2_2_THM_01 = 4285278;
static constexpr auto INIT_POP_2_2_THM_02 = 4285317;
static constexpr auto INIT_POP_2_2_TOOL_01 = 4286888;
static constexpr auto INIT_POP_2_2_TOOL_02 = 4286889;
static constexpr auto INIT_POP_2_2_TOOL_03 = 4286891;
static constexpr auto INIT_POP_2_3_STL_03 = 4287242;
static constexpr auto INIT_POP_2_2_CNJ_03 = 4287243;
static constexpr auto INIT_P_POP_PET = 4308235;
static constexpr auto WARP_01 = 4278503;
static constexpr auto INIT_EO_POP_URIANGER_HANDS_ON = 4307830;
static constexpr auto INIT_EO_POP_PAPALYMO_HANDS_ON = 4307829;
static constexpr auto EVENT_ACTION_01 = 42;
static constexpr auto INIT_ENPC_POP_URIANGER = 4307929;
static constexpr auto INIT_ENPC_POP_PAPALYMO = 4307930;
static constexpr auto YELL_QIB_URIANGER_01 = 1192;
static constexpr auto YELL_QIB_PAPALYMO_01 = 1193;
static constexpr auto YELL_QIB_01 = 1693;
static constexpr auto YELL_QIB_02 = 1694;
static constexpr auto YELL_QIB_03 = 1695;
static constexpr auto LOGMESSAGE_QIB_01 = 3214;
static constexpr auto LOGMESSAGE_QIB_02 = 3215;
static constexpr auto LOGMESSAGE_QIB_03 = 3216;
static constexpr auto DEF_ACTION_SUMMON_PET_BNPC = 1307;
static constexpr auto STATUS_CUSTOM_REGEN = 691;
static constexpr auto CUT_SCENE_01 = 258;
static constexpr auto CUT_SCENE_02 = 259;
static constexpr auto BGM_BATTLE_2ND = 36;
static constexpr auto DEF_WEATHER_SUNY = 2;
public:
EscapefromCastrumCentri() : Sapphire::ScriptAPI::QuestBattleScript( 65 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( EscapefromCastrumCentri );

View file

@ -0,0 +1,42 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class EveryLittleThingSheDoesIsMagitek : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_01 = 4277157;
static constexpr auto INIT_P_POP_02 = 4277164;
static constexpr auto INIT_POP_1ST_01 = 4277127;
static constexpr auto INIT_POP_1ST_02 = 4277134;
static constexpr auto INIT_POP_1ST_03 = 4277135;
static constexpr auto INIT_POP_1ST_04 = 4277136;
static constexpr auto INIT_ENPC_01 = 4277249;
static constexpr auto INIT_ENPC_02 = 4277250;
static constexpr auto CUT_SCENE_01 = 256;
static constexpr auto CUT_SCENE_02 = 257;
public:
EveryLittleThingSheDoesIsMagitek() : Sapphire::ScriptAPI::QuestBattleScript( 64 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( EveryLittleThingSheDoesIsMagitek );

View file

@ -0,0 +1,50 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class EwerRight : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_FEMAIL_01 = 5885434;
static constexpr auto BNPC_LUNA_01 = 5885435;
static constexpr auto BNPC_SEBASTIAN_01 = 5885436;
static constexpr auto BNPC_DIR_DUMMY_01 = 5926960;
static constexpr auto BNPC_P1_GLD_01 = 5885437;
static constexpr auto BNPC_P1_LNC_01 = 5885438;
static constexpr auto BNPC_P1_LNC_02 = 5885439;
static constexpr auto BNPC_P2_ACN_01 = 5885456;
static constexpr auto BNPC_P2_LNC_01 = 5885457;
static constexpr auto BNPC_P2_GLD_01 = 5885458;
static constexpr auto BNPC_P2_GOLEM_01 = 5890367;
static constexpr auto ACTION_SUMMON = 4779;
static constexpr auto YELL_FEMAIL01_01 = 2649;
static constexpr auto LOC_MARK_01 = 5932734;
static constexpr auto LOC_ACTOR_LEVE = 1014684;
static constexpr auto LOC_ACTOR_QUIMP = 1014685;
static constexpr auto LOC_ACTOR_AST = 1014955;
static constexpr auto MOT_EVENT_LOOK_WEAPON = 1064;
public:
EwerRight() : Sapphire::ScriptAPI::QuestBattleScript( 120 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( EwerRight );

View file

@ -0,0 +1,53 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class FacingYourDemons : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_01 = 4031416;
static constexpr auto INIT_POP_02 = 4031423;
static constexpr auto INIT_POP_03 = 4031424;
static constexpr auto INIT_POP_04 = 4031425;
static constexpr auto INIT_P_POP_01 = 4031419;
static constexpr auto INIT_P_POP_02 = 4031420;
static constexpr auto INIT_P_POP_03 = 4031421;
static constexpr auto INIT_P_POP_04 = 4031422;
static constexpr auto INIT_P_POP_05 = 4143519;
static constexpr auto INIT_P_POP_06 = 4143524;
static constexpr auto CUT_CLSTHM30010 = 168;
static constexpr auto CUT_CLSTHM30020 = 169;
static constexpr auto DEF_ACTION_MONSTER_SUMMON = 867;
static constexpr auto DEF_ACTION_SUCCUBUS_SILENCE = 869;
static constexpr auto PR_FIXED_POS_01 = 4208386;
static constexpr auto PR_FIXED_POS_02 = 4208387;
static constexpr auto PR_FIXED_POS_03 = 4208388;
public:
FacingYourDemons() : Sapphire::ScriptAPI::QuestBattleScript( 43 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Exit", 2000605, 0, 4, { -715.942383f, 69.420113f, -830.370300f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_0", 2000606, 3861081, 4, { -670.462280f, 63.293751f, -801.510986f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance", 2000604, 4262798, 5, { -677.634888f, 64.116386f, -803.174927f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( FacingYourDemons );

View file

@ -0,0 +1,67 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class FamiliarFaces : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_COMPANION_ALPHINAUD = 5862338;
static constexpr auto BNPC_COMPANION_BANUBANU = 5862336;
static constexpr auto BNPC_CENTURIO_BOSS = 5862331;
static constexpr auto BNPC_EMPIRE_SWORD_01_02 = 5862332;
static constexpr auto BNPC_EMPIRE_SWORD_01_03 = 5862333;
static constexpr auto BNPC_EMPIRE_SWORD_01_04 = 5862334;
static constexpr auto BNPC_EMPIRE_MAGIC_01_05 = 5862335;
static constexpr auto BNPC_EMPIRE_AIRSHIP_02_01 = 5864438;
static constexpr auto BNPC_EMPIRE_SWORD_02_02 = 5864439;
static constexpr auto BNPC_EMPIRE_SWORD_02_03 = 5864440;
static constexpr auto BNPC_EMPIRE_SWORD_02_04 = 5864441;
static constexpr auto BNPC_EMPIRE_MAGIC_02_05 = 5864442;
static constexpr auto BNPC_EMPIRE_SWORD_03_01 = 5864443;
static constexpr auto BNPC_EMPIRE_SWORD_03_02 = 5864444;
static constexpr auto BNPC_COMPANION_PET_CARBUNCLE_RED = 5878644;
static constexpr auto DEF_ACTION_SUMMON_PET_BNPC = 4785;
static constexpr auto QIB_YELL_01 = 2650;
static constexpr auto QIB_YELL_02 = 2651;
static constexpr auto LOC_MAKER_BANUBANU = 5916636;
static constexpr auto LOC_MAKER_ZAKO01 = 5916640;
static constexpr auto LOC_MAKER_ZAKO02 = 5916644;
static constexpr auto LOC_MAKER_AL = 5916653;
static constexpr auto LOC_MAKER_PC = 5916656;
static constexpr auto LOC_MAKER_ZAKO03 = 5916663;
static constexpr auto LOC_MAKER_TAICHO = 5916664;
static constexpr auto LOC_ACTOR_AL = 1011887;
static constexpr auto LOC_ACTOR_RONUBANU = 1012482;
static constexpr auto LOC_ACTOR_TAICHO = 1012483;
static constexpr auto LOC_ACTOR_ZAKO01 = 1012484;
static constexpr auto LOC_ACTOR_ZAKO02 = 1012485;
static constexpr auto LOC_ACTOR_ZAKO03 = 1012486;
static constexpr auto LOC_MAKER_START = 5917403;
static constexpr auto LOC_ACTION0 = 985;
static constexpr auto LOC_ACTION1 = 4194;
static constexpr auto BNPCSTATE_SCARED = 123;
public:
FamiliarFaces() : Sapphire::ScriptAPI::QuestBattleScript( 107 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( FamiliarFaces );

View file

@ -0,0 +1,66 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class FeatherintheCap : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_LUNA_01 = 5886119;
static constexpr auto BNPC_SEBASTIAN_01 = 5886120;
static constexpr auto BNPC_HUNTER_01 = 5886154;
static constexpr auto BNPC_HUNTER_02 = 5886155;
static constexpr auto BNPC_HUNTER_03 = 5886156;
static constexpr auto BNPC_HUNTER_04 = 5886157;
static constexpr auto BNPC_P1_GLD_01 = 5886121;
static constexpr auto BNPC_P1_LNC_01 = 5886122;
static constexpr auto BNPC_P1_LNC_02 = 5886123;
static constexpr auto BNPC_P2_ACN_01 = 5886146;
static constexpr auto BNPC_P2_LNC_01 = 5886147;
static constexpr auto BNPC_P2_LNC_02 = 5886148;
static constexpr auto BNPC_P2_ARC_01 = 5886149;
static constexpr auto BNPC_P2_ARC_02 = 5886150;
static constexpr auto BNPC_P2_ARC_03 = 5886151;
static constexpr auto BNPC_P2_ARC_04 = 5886152;
static constexpr auto BNPC_P2_ARC_05 = 5886153;
static constexpr auto BNPC_P2_BANDERSNATCH_01 = 5890660;
static constexpr auto ACTION_SUMMON = 4779;
static constexpr auto LOC_ACTOR_HUNTER_01 = 1015097;
static constexpr auto LOC_ACTOR_HUNTER_02 = 1015098;
static constexpr auto LOC_ACTOR_HUNTER_03 = 1015099;
static constexpr auto LOC_ACTOR_HUNTER_04 = 1015100;
static constexpr auto LOC_ACTOR_JANE = 1014691;
static constexpr auto LOC_ACTOR_QUIMP = 1014685;
static constexpr auto LOC_ACTOR_LEVE = 1014684;
static constexpr auto LOC_ACTOR_CELIE = 1015074;
static constexpr auto LOC_ACTOR_ENEMY_01 = 1015101;
static constexpr auto LOC_ACTOR_ENEMY_02 = 1015102;
static constexpr auto LOC_ACTOR_ENEMY_03 = 1015103;
static constexpr auto LOC_LEVEL_ENEMY_01 = 5936432;
static constexpr auto LOC_LEVEL_LEVE_01 = 5935764;
static constexpr auto LOC_LEVEL_QUIMP_01 = 5935771;
static constexpr auto LOC_BGM0 = 39;
public:
FeatherintheCap() : Sapphire::ScriptAPI::QuestBattleScript( 121 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( FeatherintheCap );

View file

@ -0,0 +1,78 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class FeintandStrike : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_1ST_01 = 4102995;
static constexpr auto INIT_P_POP_1ST_02 = 4102998;
static constexpr auto INIT_P_POP_1ST_03 = 4103009;
static constexpr auto INIT_P_POP_1ST_04 = 4103010;
static constexpr auto INIT_POP_1ST_BOSS = 4102991;
static constexpr auto INIT_POP_1ST_ARC_01_01 = 4102992;
static constexpr auto INIT_POP_1ST_ARC_01_02 = 4102993;
static constexpr auto INIT_POP_1ST_ARC_01_03 = 4102994;
static constexpr auto INIT_POP_1ST_PGL_01_04 = 4102999;
static constexpr auto INIT_POP_1ST_PGL_01_05 = 4103000;
static constexpr auto INIT_POP_1ST_PGL_01_06 = 4103001;
static constexpr auto INIT_POP_1ST_CNJ_02_01 = 4103170;
static constexpr auto INIT_POP_1ST_THM_02_02 = 4103171;
static constexpr auto INIT_POP_1ST_ARC_02_03 = 4103160;
static constexpr auto INIT_POP_1ST_ARC_02_04 = 4103161;
static constexpr auto INIT_POP_1ST_PGL_02_05 = 4103168;
static constexpr auto INIT_POP_1ST_PGL_02_06 = 4103169;
static constexpr auto INIT_POP_1ST_MON_03_01 = 4103180;
static constexpr auto INIT_POP_2ND_01 = 4103186;
static constexpr auto INIT_POP_2ND_02 = 4103187;
static constexpr auto INIT_P_POP_2ND_01 = 4103188;
static constexpr auto WARP_01 = 4102986;
static constexpr auto ACTION_CURE = 120;
static constexpr auto ACTION_PRO = 123;
static constexpr auto DEF_ACTION_MONSTER_SUMMON = 867;
static constexpr auto DEF_ACTION_DOKUBARI = 619;
static constexpr auto CUT_SCENE_01 = 208;
static constexpr auto CUT_SCENE_02 = 209;
static constexpr auto INIT_NOTAR_P_POP_1ST_01 = 4103313;
static constexpr auto INIT_NOTAR_P_POP_1ST_02 = 4103316;
static constexpr auto INIT_NOTAR_P_POP_1ST_03 = 4103321;
static constexpr auto INIT_NOTAR_P_POP_1ST_04 = 4103323;
static constexpr auto INIT_NOTAR_P_POP_1ST_05 = 4103325;
static constexpr auto INIT_NOTAR_POP_1ST_01 = 4103314;
static constexpr auto INIT_NOTAR_POP_1ST_02 = 4103317;
static constexpr auto INIT_NOTAR_POP_1ST_03 = 4103322;
static constexpr auto INIT_NOTAR_POP_1ST_04 = 4103324;
static constexpr auto INIT_NOTAR_POP_1ST_05 = 4103327;
static constexpr auto DEF_POISON = 18;
static constexpr auto DEF_WEATHER_BOSS = 19;
static constexpr auto ACTION_CUREA = 135;
static constexpr auto DEF_WEATHER_RETURN = 2;
static constexpr auto BGM_MASKED_BATTLE = 94;
public:
FeintandStrike() : Sapphire::ScriptAPI::QuestBattleScript( 36 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Entrance", 2000182, 6228959, 5, { 457.583801f, 5.680784f, 280.512787f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_0", 2000608, 2807920, 4, { -95.322441f, -25.054260f, 61.518002f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( FeintandStrike );

View file

@ -0,0 +1,64 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class FireandBlood : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto CUT_SCENE_N_01 = 854;
static constexpr auto CUT_SCENE_N_02 = 855;
static constexpr auto INIT_POP_BNPC_COMPANION_ALPHINAUD = 5866564;
static constexpr auto INIT_POP_BNPC_COMPANION_HILDA = 5866565;
static constexpr auto INIT_POP_BNPC_ENEMY_P1_CHARIBERT = 5866560;
static constexpr auto INIT_POP_BNPC_ENEMY_P1_ZAKO_GEN = 5866561;
static constexpr auto INIT_POP_BNPC_ENEMY_P1_ZAKO_JU1 = 5866562;
static constexpr auto INIT_POP_BNPC_ENEMY_P1_ZAKO_JU2 = 5877278;
static constexpr auto INIT_POP_BNPC_ENEMY_GIMMIC_VFX_FIREBALL = 5866580;
static constexpr auto SECOND_POP_BNPC_ENEMY_P2_A_ZAKO_JU = 5875773;
static constexpr auto SECOND_POP_BNPC_ENEMY_P2_B_ZAKO_YARI = 5866571;
static constexpr auto SECOND_POP_BNPC_ENEMY_P2_B_ZAKO_KEN = 5866572;
static constexpr auto SECOND_POP_BNPC_ENEMY_P2_C_ZAKO_YARI = 5866568;
static constexpr auto SECOND_POP_BNPC_ENEMY_P2_C_ZAKO_KEN = 5866569;
static constexpr auto THIRD_POP_BNPC_COMPANION_HAURCHEFANT = 5866579;
static constexpr auto THIRD_POP_BNPC_ENEMY_P3_D_ZAKO_JU = 5866577;
static constexpr auto THIRD_POP_BNPC_ENEMY_P3_D_ZAKO_GEN = 5866578;
static constexpr auto EOBJ_DAMAGE_AREA = 5898500;
static constexpr auto STATUS_PARAM_FIRE_DAMAGE = 1700;
static constexpr auto ACTION_DARK_FIREGA = 3791;
static constexpr auto ACTION_FIRERA = 2175;
static constexpr auto STATUS_FIRE_DOT = 267;
static constexpr auto DEF_ACTION_SUMMON_PET_BNPC = 4785;
static constexpr auto BNPC_COMPANION_PET_CARBUNCLE_RED = 5898576;
static constexpr auto LOCKON_FIRE = 25;
static constexpr auto QIB_YELL_01 = 2659;
static constexpr auto QIB_YELL_02 = 2660;
static constexpr auto QIB_YELL_03 = 2661;
static constexpr auto QIB_YELL_04 = 2662;
public:
FireandBlood() : Sapphire::ScriptAPI::QuestBattleScript( 109 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "ClanHuntboard", 2005909, 5863338, 4, { 73.908386f, 24.322830f, 22.067520f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_0", 2000608, 5105673, 4, { 84.499992f, 24.124950f, 22.859011f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2000608, 5048108, 4, { 97.900009f, 24.465071f, -4.244444f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( FireandBlood );

View file

@ -0,0 +1,47 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class FiveEasyPieces : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_BOSS = 4268988;
static constexpr auto INIT_POP_1ST_A_01 = 4268991;
static constexpr auto INIT_POP_1ST_B_01 = 4268992;
static constexpr auto INIT_POP_1ST_C_01 = 4268993;
static constexpr auto INIT_POP_1ST_D_01 = 4268994;
static constexpr auto INIT_POP_2ND_ENERGIE_01 = 4269009;
static constexpr auto INIT_P_POP_FOR_BUFF_ACTION = 4307688;
static constexpr auto POP_RANGE_ENEMY_MOVE_01 = 4269001;
static constexpr auto LOGMESSAGE_QIB_01 = 3203;
static constexpr auto LOGMESSAGE_QIB_02 = 3213;
static constexpr auto DEF_ACTION_ENERGY_SUMMON = 1094;
static constexpr auto DEF_ACTION_CHACKRA = 1310;
static constexpr auto CUT_START_NCUT = 340;
static constexpr auto CUT_END_NCUT = 341;
static constexpr auto JOB_STORY_MES = 3626;
public:
FiveEasyPieces() : Sapphire::ScriptAPI::QuestBattleScript( 71 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( FiveEasyPieces );

View file

@ -0,0 +1,58 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class FoolMeTwice : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_CID = 4270049;
static constexpr auto INIT_POP_1_ARC_01 = 4270002;
static constexpr auto INIT_POP_1_ARC_02 = 4270003;
static constexpr auto INIT_POP_1_LNC_01 = 4270007;
static constexpr auto INIT_POP_1_LNC_02 = 4270008;
static constexpr auto INIT_POP_1_GLA_01 = 4270011;
static constexpr auto INIT_POP_1_ARMOR_01 = 4270036;
static constexpr auto INIT_POP_2_CNJ_01 = 4270059;
static constexpr auto INIT_POP_2_LNC_01 = 4270060;
static constexpr auto INIT_POP_2_ARC_01 = 4270061;
static constexpr auto LOC_ACTOR0 = 1003855;
static constexpr auto LOC_ACTOR1 = 1007668;
static constexpr auto LOC_ACTOR2 = 1007669;
static constexpr auto LOC_ACTOR3 = 1007669;
static constexpr auto LOC_ACTOR4 = 1002908;
static constexpr auto LOC_ACTOR5 = 1007667;
static constexpr auto LOC_POS_ACTOR0 = 4323824;
static constexpr auto LOC_POS_ACTOR1 = 4323827;
static constexpr auto LOC_POS_ACTOR2 = 4323828;
static constexpr auto LOC_POS_ACTOR3 = 4323829;
static constexpr auto LOC_POS_ACTOR4 = 4323830;
static constexpr auto LOC_ACTION1 = 587;
static constexpr auto QIB_LOG_MESSAGE_01 = 3226;
static constexpr auto DEF_ACTION_OVER_BOOST = 1286;
static constexpr auto CUT_SCENE_01 = 255;
static constexpr auto BGM_BATTLE = 76;
public:
FoolMeTwice() : Sapphire::ScriptAPI::QuestBattleScript( 63 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( FoolMeTwice );

View file

@ -0,0 +1,55 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ForgottenbutNotGone : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_ARUKA_01 = 4304120;
static constexpr auto INIT_POP_1_THM_ZOKU_01 = 4304111;
static constexpr auto INIT_POP_1_LNC_ZOKU_01 = 4304112;
static constexpr auto INIT_POP_1_LNC_ZOKU_02 = 4304113;
static constexpr auto INIT_POP_2_EXC_ZOKU_01 = 4304114;
static constexpr auto INIT_POP_2_LNC_ZOKU_01 = 4304115;
static constexpr auto INIT_POP_2_THM_ZOKU_01 = 4304116;
static constexpr auto INIT_POP_3_LNC_ZOKU_01 = 4304117;
static constexpr auto INIT_POP_3_EXC_ZOKU_01 = 4304118;
static constexpr auto INIT_POP_3_GLA_ZOKU_01 = 4304119;
static constexpr auto POP_EVENT_RANGE_01 = 4304405;
static constexpr auto POP_EVENT_RANGE_02 = 4304406;
static constexpr auto POP_EVENT_RANGE_03 = 4304410;
static constexpr auto EOBJ_BOX = 4305018;
static constexpr auto EVENT_ACTION_01 = 2;
static constexpr auto YELL_QIB_01 = 1246;
static constexpr auto YELL_QIB_02 = 1247;
static constexpr auto YELL_QIB_03 = 1248;
static constexpr auto POP_RANGE_ALKAZOLKA_MOVE = 4308993;
static constexpr auto CUT_END_NCUT = 357;
static constexpr auto EOBJ_BOX_TARGET = 4322850;
public:
ForgottenbutNotGone() : Sapphire::ScriptAPI::QuestBattleScript( 83 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2009569, 0, 4, { 763.213318f, 9.000000f, 358.016998f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2009570, 0, 4, { 748.506775f, 9.000000f, 520.002930f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ForgottenbutNotGone );

View file

@ -0,0 +1,115 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class FortuneFavorstheBole : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_PACK_A_LNC_01 = 5898639;
static constexpr auto BNPC_PACK_A_ARC_01 = 5898640;
static constexpr auto BNPC_PACK_A_ARC_02 = 5898644;
static constexpr auto BNPC_PACK_B_LNC_01 = 5898690;
static constexpr auto BNPC_PACK_B_ARC_01 = 5898691;
static constexpr auto BNPC_PACK_B_ARC_02 = 5898692;
static constexpr auto BNPC_PACK_B_CNJ_01 = 5898693;
static constexpr auto BNPC_STAR_A_BAT_01 = 5898699;
static constexpr auto BNPC_STAR_A_BAT_02 = 5898704;
static constexpr auto BNPC_STAR_A_BAT_03 = 5898705;
static constexpr auto BNPC_STAR_B_WISP_01 = 5898706;
static constexpr auto BNPC_STAR_B_WISP_02 = 5898707;
static constexpr auto BNPC_STAR_B_YAMANE_01 = 5898708;
static constexpr auto BNPC_PACK_C_LNC_01 = 5898710;
static constexpr auto BNPC_PACK_C_ARC_01 = 5898711;
static constexpr auto BNPC_PACK_C_THM_01 = 5898712;
static constexpr auto BNPC_PACK_C_CNJ_01 = 5898713;
static constexpr auto BNPC_STAR_C_TREANT_01 = 5898717;
static constexpr auto BNPC_STAR_C_BAT_01 = 5898718;
static constexpr auto BNPC_STAR_C_BAT_02 = 5898719;
static constexpr auto BNPC_PACK_D_ACN_BOSS_01 = 5898722;
static constexpr auto BNPC_PACK_D_ARC_01 = 5898724;
static constexpr auto BNPC_PACK_D_ARC_02 = 5898725;
static constexpr auto BNPC_ADD_DEEP_EYE_01 = 5898739;
static constexpr auto BNPC_ADD_GOLEM_01 = 5898740;
static constexpr auto P_BNPC_SEBAS_01 = 5898750;
static constexpr auto P_BNPC_LNC_01 = 5898751;
static constexpr auto P_BNPC_LUNA_01 = 5898752;
static constexpr auto EOBJ_TAROT_FIRE_01 = 5898834;
static constexpr auto EOBJ_TAROT_WATER_01 = 5898836;
static constexpr auto EOBJ_TAROT_WIND_01 = 5898837;
static constexpr auto EOBJ_TAROT_EARTH_01 = 5898840;
static constexpr auto EOBJ_TAROT_LIGHTNING_01 = 5898841;
static constexpr auto EOBJ_TAROT_ICE_01 = 5898842;
static constexpr auto EVENT_ACTION_01 = 22;
static constexpr auto LOG_MESSAGE_ACCESE_FIRE_01 = 3256;
static constexpr auto LOG_MESSAGE_ACCESE_WATER_01 = 3257;
static constexpr auto LOG_MESSAGE_ACCESE_WIND_01 = 3258;
static constexpr auto LOG_MESSAGE_ACCESE_EARTH_01 = 3259;
static constexpr auto LOG_MESSAGE_ACCESE_LIGHTNING_01 = 3260;
static constexpr auto LOG_MESSAGE_ACCESE_ICE_01 = 3261;
static constexpr auto STATUS_PARAM_STAR_POWER = 1747;
static constexpr auto NCUT_01 = 980;
static constexpr auto STATUS_PLAY_TAROT_FIRE_01 = 829;
static constexpr auto STATUS_PLAY_TAROT_WATER_01 = 833;
static constexpr auto STATUS_PLAY_TAROT_WIND_01 = 831;
static constexpr auto STATUS_PLAY_TAROT_EARTH_01 = 830;
static constexpr auto STATUS_PLAY_TAROT_LIGHTNING_01 = 834;
static constexpr auto STATUS_PLAY_TAROT_ICE_01 = 832;
static constexpr auto YELL_QIB_FIRE_LNC_01 = 2664;
static constexpr auto YELL_QIB_EARTH_SEBAS_01 = 2665;
static constexpr auto YELL_QIB_WIND_LNC_01 = 2666;
static constexpr auto YELL_QIB_ICE_SEBAS_01 = 2667;
static constexpr auto YELL_QIB_LIGHTNING_LNC_01 = 2668;
static constexpr auto YELL_QIB_LEVEVA_01 = 2783;
static constexpr auto YELL_QIB_YATO_01 = 2784;
static constexpr auto ENPC_OLD_AST_01 = 5900085;
static constexpr auto PR_LEVEVA_MOVE_01 = 5913204;
static constexpr auto BEHAVIOR_LEVEVA_01 = 30617;
static constexpr auto BGM_START = 113;
static constexpr auto P_BNPC_TOUMEI_FOLLOW_PLAYER = 5914841;
static constexpr auto EVENT_RANGE_PACK_B_SENSE = 5915107;
static constexpr auto EVENT_RANGE_PACK_C_SENSE = 5915618;
static constexpr auto EVENT_RANGE_PACK_D_SENSE = 5915672;
static constexpr auto BNPCBASE_BAT = 4297;
static constexpr auto BNPCBASE_WISP = 4298;
static constexpr auto BNPCBASE_YAMANE = 4299;
static constexpr auto BNPCBASE_TRENT = 4300;
static constexpr auto BNPCBASE_DEEP_EYES = 4309;
static constexpr auto BNPCBASE_GOLEM = 4310;
static constexpr auto ACTION_SUMMON_MONSTER = 4779;
static constexpr auto LOC_ACTOR_MACE = 1014686;
static constexpr auto LOC_ACTOR_LEVE = 1015607;
static constexpr auto LOC_ACTOR_QUIMP = 1014685;
static constexpr auto LOC_ACTOR_GUARD = 1014688;
static constexpr auto LOC_ACTOR_CELIE = 1014687;
static constexpr auto LOC_ACTION_BASE_01 = 936;
static constexpr auto LOC_LOG_MES_EARTH = 5340;
static constexpr auto LOC_ACTION0 = 979;
static constexpr auto LOC_BGM0 = 211;
public:
FortuneFavorstheBole() : Sapphire::ScriptAPI::QuestBattleScript( 143 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Entrance", 2000182, 5021407, 5, { 623.000000f, 23.872311f, 94.505638f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "Exit", 2000139, 0, 4, { 623.000000f, 23.656260f, 61.956181f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( FortuneFavorstheBole );

View file

@ -0,0 +1,95 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class ForwardtheRoyalMarines : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto EOBJ_A_COLOR_A_GARUKI = 5887310;
static constexpr auto EOBJ_B_COLOR_B_HECTO = 5887311;
static constexpr auto EOBJ_C_COLOR_C_ATARI = 5887312;
static constexpr auto EOBJ_D_COLOR_A_GARUKI = 5887313;
static constexpr auto EOBJ_E_COLOR_B_HECTO = 5887314;
static constexpr auto EOBJ_F_COLOR_C_ATARI = 5887315;
static constexpr auto EOBJ_G_COLOR_A_GARUKI = 5887316;
static constexpr auto EOBJ_H_COLOR_B_HECTO = 5887317;
static constexpr auto EOBJ_I_COLOR_C_ATARI = 5887318;
static constexpr auto EOBJ_J_COLOR_A_GARUKI = 5887319;
static constexpr auto EOBJ_K_COLOR_B_HECTO = 5887320;
static constexpr auto EOBJ_L_COLOR_C_ATARI = 5887321;
static constexpr auto BNPC_MEFUSAGI_01 = 5887404;
static constexpr auto BNPC_ALKA_SEARCH_01 = 5889537;
static constexpr auto BNPC_ALKA_FIGHT_01 = 5887405;
static constexpr auto BNPC_JUKREN_SEARCH_01 = 5889756;
static constexpr auto BNPC_JUKREN_FIGHT_01 = 5887406;
static constexpr auto BNPC_KIEI_SEARCH_01 = 5889757;
static constexpr auto BNPC_KIEI_FIGHT_01 = 5887407;
static constexpr auto P_BNPC_SURITO_01 = 5887408;
static constexpr auto P_BNPC_KAIHEI_01 = 5887409;
static constexpr auto P_BNPC_KAIHEI_02 = 5889672;
static constexpr auto P_BNPC_GUNSOU_01 = 5887410;
static constexpr auto WARP_PC_POINT = 5887211;
static constexpr auto BNPC_A_COLOR_A_GARUKI = 5888477;
static constexpr auto BNPC_B_COLOR_B_HECTO = 5888488;
static constexpr auto BNPC_D_COLOR_A_GARUKI = 5888478;
static constexpr auto BNPC_E_COLOR_B_HECTO = 5888489;
static constexpr auto BNPC_G_COLOR_A_GARUKI = 5888482;
static constexpr auto BNPC_H_COLOR_B_HECTO = 5888490;
static constexpr auto BNPC_J_COLOR_A_GARUKI = 5888486;
static constexpr auto BNPC_K_COLOR_B_HECTO = 5888498;
static constexpr auto BNPC_PARASITE_01 = 5888500;
static constexpr auto BNPC_PARASITE_02 = 5888501;
static constexpr auto BNPC_PARASITE_03 = 5888502;
static constexpr auto BNPC_MEFUSAGI_EFFECT_01 = 5888510;
static constexpr auto BNPC_MEFUSAGI_EFFECT_02 = 5931936;
static constexpr auto BNPC_MEFUSAGI_EFFECT_03 = 5931939;
static constexpr auto BNPC_MEFUSAGI_EFFECT_04 = 5931942;
static constexpr auto ER_RECT_01 = 5888754;
static constexpr auto NCUT_01 = 940;
static constexpr auto NCUT_02 = 941;
static constexpr auto EVENT_ACTION_01 = 21;
static constexpr auto POP_RANGE_MOVE_MEFUSAGI_EFFECT_01 = 5888551;
static constexpr auto LOC_POS1 = 5917738;
static constexpr auto LOC_ACTOR1 = 1007111;
static constexpr auto LOC_ACTOR2 = 1014649;
static constexpr auto LOC_ACTOR3 = 1014650;
static constexpr auto LOC_ACTOR4 = 1014661;
static constexpr auto BEHAVIOR_TALK = 30073;
static constexpr auto LOG_MESSAGE_OK_01 = 3293;
static constexpr auto LOG_MESSAGE_OK_02 = 3294;
static constexpr auto LOG_MESSAGE_OK_03 = 3295;
static constexpr auto LOG_MESSAGE_NG_01 = 3296;
static constexpr auto BGM_LAST_BATTLE = 91;
static constexpr auto POP_RANGE_MOVE_FOLLOW_EFFECT_01 = 5931951;
static constexpr auto ACTION_SUMMON_PARASITE = 4984;
static constexpr auto STATUS_TRANSFORMATION = 565;
static constexpr auto STATUS_TONBERRY_DISEASE = 785;
static constexpr auto POP_RANGE_MOVE_JUKUREN_BATTLE_01 = 5932642;
static constexpr auto POP_RANGE_MOVE_KIEI_BATTLE_01 = 5932643;
static constexpr auto LOC_BGM0 = 117;
static constexpr auto STATUS_PARAM_TONBERRY_DISEASE = 1501;
public:
ForwardtheRoyalMarines() : Sapphire::ScriptAPI::QuestBattleScript( 135 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ForwardtheRoyalMarines );

View file

@ -0,0 +1,102 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class Foxfire : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_KYOKUHOU_01 = 6796961;
static constexpr auto P_BNPC_LEVELVA_01 = 6796959;
static constexpr auto P_BNPC_UDOKU_01 = 6796953;
static constexpr auto P_BNPC_UDOKU_MINI_01 = 6796952;
static constexpr auto P_BNPC_UDOKU_MINI_02 = 6796954;
static constexpr auto BNPC_YOUKO_01 = 6796950;
static constexpr auto BNPC_ZAKO_WAVE01_01 = 6797047;
static constexpr auto BNPC_ZAKO_WAVE01_02 = 6797048;
static constexpr auto BNPC_ZAKO_WAVE01_03 = 6797049;
static constexpr auto BNPC_ZAKO_WAVE01_04 = 6797053;
static constexpr auto BNPC_ZAKO_WAVE02_01 = 6938916;
static constexpr auto BNPC_ZAKO_WAVE02_02 = 6938917;
static constexpr auto BNPC_ZAKO_WAVE02_03 = 6938918;
static constexpr auto BNPC_ZAKO_WAVE03_01 = 6938922;
static constexpr auto BNPC_YOUKO_FUNDO_01 = 6939038;
static constexpr auto BNPC_YOUKO_FUNDO_02 = 6939039;
static constexpr auto BNPC_YOUKO_FUNDO_03 = 6949956;
static constexpr auto BNPC_YOUKO_FUNDO_04 = 6949957;
static constexpr auto BNPC_BOSSADD1_01 = 6949958;
static constexpr auto BNPC_BOSSADD1_02 = 6949959;
static constexpr auto BNPC_BOSSADD1_03 = 6949962;
static constexpr auto ERANGE_01 = 6797270;
static constexpr auto ERANGE_02 = 6938832;
static constexpr auto P_BNPC_CITIZEN_P1_01 = 6938731;
static constexpr auto P_BNPC_CITIZEN_P1_02 = 6938732;
static constexpr auto SE_WOMAN_SHOUT = 116;
static constexpr auto QIB_YELL_01 = 5145;
static constexpr auto QIB_YELL_02 = 5146;
static constexpr auto QIB_YELL_03 = 5147;
static constexpr auto QIB_YELL_04 = 5148;
static constexpr auto QIB_YELL_05 = 5149;
static constexpr auto QIB_YELL_06 = 5150;
static constexpr auto QIB_YELL_07 = 5151;
static constexpr auto QIB_YELL_08 = 5152;
static constexpr auto PR_PHASE2_YOUKO_WARP = 6938833;
static constexpr auto PR_PHASE3_YOUKO_WARP = 6938893;
static constexpr auto PR_PHASE2_5_KYOKUHOU_MOVE01 = 6938962;
static constexpr auto PR_DEBUG_BOSSBATTLE = 6950271;
static constexpr auto PR_PHASE2_5_LEVELVA_MOVE01 = 6938963;
static constexpr auto PR_LEVELVA_MOVE02 = 6950272;
static constexpr auto ACTION_SCRIPT_TRIGGER = 3269;
static constexpr auto ACTION_YOUKO_WARP_START = 9267;
static constexpr auto ACTION_YOUKO_WARP_END = 9268;
static constexpr auto ACTION_URAMI_LAZER = 9311;
static constexpr auto ACTION_JOUKA = 9336;
static constexpr auto ACTION_FINAL_HEAL = 3595;
static constexpr auto CHANNELING_FUNDO = 1;
static constexpr auto CHANNELING_URAMI = 5;
static constexpr auto STATUS_INVINCIBLE = 325;
static constexpr auto LOG_MSG_01 = 5382;
static constexpr auto LOG_MSG_02 = 5383;
static constexpr auto LOG_MSG_03 = 5384;
static constexpr auto LOG_MSG_04 = 5385;
static constexpr auto BNPC_YOUKO_URAMI_01 = 6950669;
static constexpr auto BNPC_YOUKO_URAMI_02 = 6950670;
static constexpr auto BNPC_BOSSADD2_01 = 6950759;
static constexpr auto BNPC_BOSSADD2_02 = 6950762;
static constexpr auto BNPC_BOSSADD2_03 = 6950763;
static constexpr auto BNPC_YOUKO_KOKORO = 6951562;
static constexpr auto STATUS_ASTROLOGIAN_COMPOSE_STAR = 837;
static constexpr auto P_BNPC_YOUKO = 6951650;
static constexpr auto BNPCSTATE_SPECIAL_IDLE_1 = 68;
public:
Foxfire() : Sapphire::ScriptAPI::QuestBattleScript( 156 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2000608, 6538194, 4, { -27.571140f, -3.000000f, 46.619968f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2000608, 6538193, 4, { -28.307659f, 3.999977f, 61.762589f }, 1.000000f, 0.000000f );
instance.registerEObj( "ClanHuntboard", 2008655, 6422886, 4, { -31.520060f, 0.076252f, -43.853790f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_w_qic_004_03a", 2002872, 6799085, 4, { -79.087517f, -3.006042f, 41.336670f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_w_qic_004_03a_1", 2002872, 6799087, 4, { -61.668732f, -3.014119f, 84.855003f }, 0.991760f, -1.567030f );
instance.registerEObj( "unknown_2", 2007457, 6611234, 4, { 137.621094f, 14.816470f, 92.484863f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2007457, 6538193, 4, { -27.894131f, 3.999977f, 61.384491f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2007457, 6538194, 4, { -28.259020f, -3.000000f, 46.489510f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( Foxfire );

View file

@ -0,0 +1,64 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class GrinnersintheMist : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_1ST_01 = 5042744;
static constexpr auto INIT_POP_1ST_02 = 5045543;
static constexpr auto INIT_POP_1ST_03 = 5045551;
static constexpr auto INIT_POP_1ST_04 = 5045556;
static constexpr auto INIT_POP_1ST_05 = 5045558;
static constexpr auto INIT_POP_1ST_06 = 5045559;
static constexpr auto INIT_POP_1ST_07 = 5045561;
static constexpr auto INIT_POP_1ST_08 = 5045562;
static constexpr auto INIT_POP_2ST_01 = 5045696;
static constexpr auto INIT_POP_3ST_01 = 5045697;
static constexpr auto INIT_POP_3ST_02 = 5045705;
static constexpr auto INIT_P_POP_1ST_01 = 5042741;
static constexpr auto INIT_P_POP_1ST_02 = 5042742;
static constexpr auto INIT_NPC_MOVE_POINT_01 = 5046389;
static constexpr auto INIT_NPC_MOVE_POINT_02 = 5046388;
static constexpr auto STATUS_PARM_HIDDEN_FOR_BNPC = 1197;
static constexpr auto STATUS_PARM_HIDDEN_FOR_PLAYER = 1240;
static constexpr auto DEF_ACTION_TP_DAMAGE = 3114;
static constexpr auto LCUT_ACTOR0 = 1010200;
static constexpr auto LCUT_ACTOR1 = 1010202;
static constexpr auto LCUT_ACTOR2 = 1010246;
static constexpr auto LCUT_ACTOR3 = 1010247;
static constexpr auto LCUT_ACTOR4 = 1010248;
static constexpr auto LCUT_POS0 = 5110379;
static constexpr auto LCUT_POS1 = 5110381;
static constexpr auto LCUT_POS2 = 5110382;
static constexpr auto LCUT_ACTION0 = 979;
static constexpr auto LCUT_FACE0 = 617;
static constexpr auto LCUT_FACE1 = 608;
static constexpr auto LCUT_BGM1 = 130;
public:
GrinnersintheMist() : Sapphire::ScriptAPI::QuestBattleScript( 93 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgbg_w_qic_004_01a", 2007457, 6904219, 4, { 5.684449f, 16.347240f, 3.782750f }, 1.000000f, 0.000000f );
// States -> cage01_close_01 (id: 8) cage01_open_01 (id: 10) cage01_open_02 (id: 11)
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( GrinnersintheMist );

View file

@ -0,0 +1,57 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class GuardianofEorzea : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_1ST_01 = 4755440;
static constexpr auto INIT_POP_2ST_01 = 4755441;
static constexpr auto INIT_ENPC_01 = 4759673;
static constexpr auto INIT_ENPC_02 = 4759674;
static constexpr auto INIT_ENPC_03 = 4759676;
static constexpr auto INIT_ENPC_04 = 4759677;
static constexpr auto QIB_YELL_01 = 2240;
static constexpr auto QIB_YELL_02 = 2241;
static constexpr auto QIB_YELL_03 = 2242;
static constexpr auto INIT_ENPC_05 = 4759678;
static constexpr auto INIT_ENPC_06 = 4759679;
static constexpr auto INIT_ENPC_07 = 4868546;
static constexpr auto CUT_SCENE_01 = 580;
static constexpr auto LOC_ACTOR0 = 1009412;
static constexpr auto LOC_ACTOR1 = 1009413;
static constexpr auto LOC_ACTOR2 = 1009688;
static constexpr auto LOC_ACTOR3 = 1009689;
static constexpr auto LOC_ACTOR4 = 1008176;
static constexpr auto LOC_ACTOR5 = 1008178;
static constexpr auto LOC_ACTOR6 = 1009690;
static constexpr auto LOC_ACTOR7 = 1009691;
static constexpr auto LOC_POS_ACTOR0 = 4887579;
static constexpr auto LOC_POS_ACTOR1 = 4887580;
static constexpr auto ACTION_TIMELINE_FACIAL_COMEON = 608;
static constexpr auto ACTION_TIMELINE_EVENT_BASE_IDLE4 = 787;
public:
GuardianofEorzea() : Sapphire::ScriptAPI::QuestBattleScript( 89 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( GuardianofEorzea );

View file

@ -0,0 +1,71 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class HandsofHealing : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_DRGZMB_01 = 5886546;
static constexpr auto P_BNPC_RAYAO_01 = 5886556;
static constexpr auto P_BNPC_ARUHN_01 = 5886558;
static constexpr auto P_BNPC_SERVANT_01 = 5886561;
static constexpr auto BNPC_SKL_WAVE02_01 = 5887859;
static constexpr auto BNPC_SKL_WAVE02_02 = 5887860;
static constexpr auto BNPC_SKL_WAVE02_03 = 5887861;
static constexpr auto BNPC_SKL_WAVE02_04 = 5911561;
static constexpr auto BNPC_SKL_WAVE02_05 = 5911562;
static constexpr auto BNPC_SKL_WAVE01_01 = 5922857;
static constexpr auto BNPC_SKL_WAVE01_02 = 5922858;
static constexpr auto BNPC_SKL_WAVE01_03 = 5922859;
static constexpr auto BNPC_ETHER_01 = 5887863;
static constexpr auto BNPC_ETHER_02 = 5888386;
static constexpr auto BNPC_WAVE02_ZMB_01 = 5887930;
static constexpr auto BNPC_WAVE02_ZMB_02 = 5887931;
static constexpr auto BNPC_WAVE02_ZMB_03 = 5888028;
static constexpr auto ENPC_NECROMANCER_01 = 5888162;
static constexpr auto STATUS_PARAM_DOT_MAGIC = 1740;
static constexpr auto BNPC_TOUMEI_FOR_ETHER_MAINTAIN_BATTLE_MODE = 5910322;
static constexpr auto TORIGGER_ACTION_ETHER_HP_CONDITION = 3269;
static constexpr auto TORIGGER_ACTION_ETHER_HP_CONDITION_B = 4777;
static constexpr auto LOC_ACTOR_ESCHIVA = 1014683;
static constexpr auto LOC_ACTOR_RAYAO = 1007130;
static constexpr auto LOC_ACTOR_ARUN = 1007131;
static constexpr auto LOC_ACTOR_ARAKA = 1014682;
static constexpr auto LOC_LEVEL_ARAKA = 5890302;
static constexpr auto LOC_ACTOR_DRGZMB = 1014702;
static constexpr auto LOC_FACE1 = 611;
static constexpr auto LOC_FACE2 = 620;
static constexpr auto LOC_FACE3 = 617;
static constexpr auto LOC_FACE4 = 604;
static constexpr auto BNPC_SKL_WAVE01_04 = 5958827;
static constexpr auto BNPC_SKL_WAVE01_05 = 5958826;
static constexpr auto BNPC_SKL_WAVE02_06 = 5958840;
static constexpr auto BNPC_SKL_WAVE02_07 = 5958841;
static constexpr auto BNPC_ACTION_SOUL_DOUSE = 4182;
static constexpr auto STATUS_MALADY = 1867;
static constexpr auto LOC_BATTLE_BGM_01 = 91;
public:
HandsofHealing() : Sapphire::ScriptAPI::QuestBattleScript( 134 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( HandsofHealing );

View file

@ -0,0 +1,82 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class HeartoftheForest : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_ATOWA_01 = 4290072;
static constexpr auto INIT_P_POP_RAYAO_01 = 4290082;
static constexpr auto INIT_P_POP_ARUN_01 = 4290083;
static constexpr auto INIT_P_POP_MOTHER_TREE_01 = 4290091;
static constexpr auto INIT_POP_1_TRENT_01 = 4290093;
static constexpr auto INIT_POP_1_TRENT_02 = 4290094;
static constexpr auto INIT_POP_1_TRENT_03 = 4290095;
static constexpr auto INIT_POP_1_CRAB_02 = 4290106;
static constexpr auto INIT_POP_1_CRAB_01 = 4290109;
static constexpr auto INIT_POP_1_CRAB_03 = 4290111;
static constexpr auto INIT_POP_2_TRENT_01 = 4292762;
static constexpr auto INIT_POP_2_TRENT_02 = 4292763;
static constexpr auto INIT_POP_2_TRENT_03 = 4292764;
static constexpr auto INIT_POP_2_OTYU_02 = 4292765;
static constexpr auto INIT_POP_2_OTYU_01 = 4292766;
static constexpr auto INIT_POP_2_OTYU_03 = 4292767;
static constexpr auto INIT_POP_3_TREE_ANGER_01 = 4290117;
static constexpr auto INIT_POP_3_TREE_ANGER_02 = 4290118;
static constexpr auto INIT_POP_3_TREE_ANGER_03 = 4290120;
static constexpr auto INIT_POP_3_TREE_ANGER_04 = 4290121;
static constexpr auto INIT_POP_3_TREE_ANGER_05 = 4290122;
static constexpr auto INIT_POP_3_TREE_ANGER_06 = 4290123;
static constexpr auto INIT_POP_3_TREE_ANGER_07 = 4290124;
static constexpr auto INIT_POP_3_TREE_ANGER_08 = 4290126;
static constexpr auto INIT_POP_3_TREE_ANGER_09 = 4290127;
static constexpr auto INIT_POP_3_TREE_ANGER_10 = 4290128;
static constexpr auto INIT_POP_3_TREE_ANGER_11 = 4290129;
static constexpr auto INIT_POP_3_TREE_ANGER_12 = 4290130;
static constexpr auto INIT_POP_3_TREE_ANGER_13 = 4290132;
static constexpr auto INIT_POP_3_TREE_ANGER_14 = 4290133;
static constexpr auto INIT_POP_3_TREE_ANGER_15 = 4290134;
static constexpr auto INIT_POP_3_TREE_ANGER_16 = 4290136;
static constexpr auto INIT_POP_3_TREE_ANGER_17 = 4290137;
static constexpr auto INIT_POP_3_TRENT_01 = 4292906;
static constexpr auto INIT_POP_3_TRENT_02 = 4292907;
static constexpr auto INIT_POP_3_TRENT_03 = 4292908;
static constexpr auto BNPC_BASE_TYPE_TRENT = 1701;
static constexpr auto BNPC_BASE_TYPE_OTYU = 1703;
static constexpr auto BNPC_BASE_TYPE_CRAB = 1705;
static constexpr auto BNPC_BASE_TYPE_ANGER = 1704;
static constexpr auto STATUS_CUSTOM_TREE_DOT1 = 689;
static constexpr auto STATUS_CUSTOM_TREE_DOT2 = 690;
static constexpr auto QIB_YELL_01 = 1173;
static constexpr auto INIT_POP_KEEP_TARGETING = 4306921;
static constexpr auto QIB_LOGMESSAGE_01 = 3210;
static constexpr auto QIB_LOGMESSAGE_02 = 3211;
static constexpr auto CUT_START_NCUT = 348;
static constexpr auto CUT_END_NCUT = 349;
static constexpr auto JOB_STORY_MES = 3656;
public:
HeartoftheForest() : Sapphire::ScriptAPI::QuestBattleScript( 76 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2005192, 5760474, 4, { -51.493111f, 0.309087f, 71.436897f }, 1.000000f, -0.000006f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( HeartoftheForest );

View file

@ -0,0 +1,73 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class HeroicReprise : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_FRAY = 5891995;
static constexpr auto BNPC_RESCUE_01 = 5891996;
static constexpr auto BNPC_RESCUE_02 = 5891997;
static constexpr auto BNPC_RESCUE_03 = 5891999;
static constexpr auto BNPC_DIR_DUMMY_01 = 5927524;
static constexpr auto BNPC_DIR_DUMMY_02 = 5927525;
static constexpr auto BNPC_DIR_DUMMY_03 = 5927526;
static constexpr auto BNPC_P1_LNC_01 = 5892007;
static constexpr auto BNPC_P1_LNC_02 = 5892008;
static constexpr auto BNPC_P1_LNC_03 = 5892011;
static constexpr auto BNPC_P1_LNC_04 = 5892012;
static constexpr auto BNPC_P1_LNC_05 = 5892013;
static constexpr auto BNPC_P1_LNC_06 = 5892014;
static constexpr auto BNPC_P1_THM_01 = 5892010;
static constexpr auto BNPC_P1_THM_02 = 5892015;
static constexpr auto BNPC_P2_LNC_01 = 5892058;
static constexpr auto BNPC_P2_LNC_02 = 5892059;
static constexpr auto BNPC_P2_LNC_03 = 5892062;
static constexpr auto BNPC_P2_LNC_04 = 5892065;
static constexpr auto BNPC_P2_THM_01 = 5892063;
static constexpr auto BNPC_P2_THM_02 = 5892066;
static constexpr auto BNPC_P2_DRAKE_01 = 5892060;
static constexpr auto BNPC_P2_DRAKE_02 = 5892064;
static constexpr auto BNPC_P2_DRAKE_03 = 5892067;
static constexpr auto BNPC_P3_DRAKE_01 = 5892079;
static constexpr auto BNPC_P3_DRAKE_02 = 5892080;
static constexpr auto BNPC_P3_PGL_01 = 5892085;
static constexpr auto BNPC_P2_GOAL_01 = 5892087;
static constexpr auto BNPC_P2_GOAL_01_02 = 5927597;
static constexpr auto BNPC_P2_GOAL_01_03 = 5927598;
static constexpr auto BNPC_P3_GOAL = 5892088;
static constexpr auto EOBJ_RESCUE = 5892004;
static constexpr auto ACTION_GOAL_TRIGER = 3269;
static constexpr auto ACTION_YELL_TRIGER = 4777;
static constexpr auto EVENTACTION_RESCUE = 39;
static constexpr auto YELL_RESCUE_01 = 2669;
static constexpr auto YELL_RESCUE_02 = 2670;
static constexpr auto YELL_RESCUE_03 = 2673;
static constexpr auto YELL_RESCUE_04 = 3065;
static constexpr auto YELL_AMALJA_01 = 2671;
static constexpr auto YELL_AMALJA_02 = 2672;
public:
HeroicReprise() : Sapphire::ScriptAPI::QuestBattleScript( 136 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( HeroicReprise );

View file

@ -0,0 +1,70 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class HisForgottenHome : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_ASAHI = 7189295;
static constexpr auto P_BNPC_YUGIRI = 7189303;
static constexpr auto P_BNPC_YUGIRI_AVATAR = 7253964;
static constexpr auto P_BNPC_YUGIRI_AVATAR_2 = 7283041;
static constexpr auto P_BNPC_ALISAIE = 7189304;
static constexpr auto P_BNPC_ISSE = 7189305;
static constexpr auto P_BNPC_AZAMI = 7189306;
static constexpr auto BNPC_KOJIN_BOSS = 7189311;
static constexpr auto BNPC_KOJIN_SAMURAI_01 = 7189312;
static constexpr auto BNPC_KOJIN_SAMURAI_02 = 7189313;
static constexpr auto BNPC_KOJIN_SAMURAI_03 = 7189314;
static constexpr auto BNPC_KOJIN_SAMURAI_04 = 7189315;
static constexpr auto BNPC_KOJIN_SAMURAI_05 = 7293406;
static constexpr auto BNPC_KOJIN_SAMURAI_06 = 7293407;
static constexpr auto BNPC_KOJIN_SAMURAI_07 = 7293408;
static constexpr auto BNPC_KOJIN_NINJA_01 = 7226515;
static constexpr auto BNPC_KOJIN_NINJA_02 = 7226527;
static constexpr auto BNPC_KOJIN_NINJA_03 = 7226528;
static constexpr auto BNPC_KOJIN_NINJA_04 = 7226534;
static constexpr auto BNPC_KOJIN_NINJA_05 = 7226538;
static constexpr auto BNPC_KOJIN_NINJA_06 = 7226539;
static constexpr auto BNPC_KOJIN_NINJA_07 = 7226540;
static constexpr auto BNPC_KOJIN_NINJA_08 = 7226541;
static constexpr auto BNPC_KOJIN_MAGIC_01 = 7226535;
static constexpr auto BNPC_KOJIN_MAGIC_02 = 7226537;
static constexpr auto EOBJ_DAMAGE_AREA = 7253968;
static constexpr auto QIB_YELL_StmBdc106_01 = 6631;
static constexpr auto QIB_YELL_StmBdc106_02 = 6632;
static constexpr auto ACTION_WATER_SHARE = 10573;
static constexpr auto ACTION_BLIND = 3206;
static constexpr auto ACTION_ICE_FLOOR = 10874;
static constexpr auto ACTION_TRIGGER = 3269;
static constexpr auto LOCKON_WATER_SHARE = 62;
static constexpr auto LOCKON_ICE_FLOOR = 26;
static constexpr auto STATUS_DOT_DMAGE = 3590;
static constexpr auto ACTION_JUBAKU = 3207;
static constexpr auto EOBJ_JUBAKU_AREA = 7335014;
static constexpr auto STATUS_JUBAKU = 1039;
public:
HisForgottenHome() : Sapphire::ScriptAPI::QuestBattleScript( 178 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( HisForgottenHome );

View file

@ -0,0 +1,74 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class HistoryRepeating : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_1_LNC_01 = 4294343;
static constexpr auto INIT_POP_1_LNC_02 = 4294344;
static constexpr auto INIT_POP_1_THM_01 = 4294345;
static constexpr auto INIT_POP_1_EXC_01 = 4294347;
static constexpr auto INIT_POP_1_EXC_02 = 4294348;
static constexpr auto INIT_POP_1_SEI_01 = 4294351;
static constexpr auto INIT_POP_2_LNC_01 = 4294439;
static constexpr auto INIT_POP_2_THM_01 = 4294440;
static constexpr auto INIT_POP_2_EXC_01 = 4294441;
static constexpr auto INIT_POP_3_SKE_01 = 4294750;
static constexpr auto INIT_POP_3_SKE_02 = 4294751;
static constexpr auto INIT_POP_3_LNC_01 = 4294752;
static constexpr auto INIT_POP_3_EXC_01 = 4294754;
static constexpr auto INIT_POP_4_LNC_01 = 4294755;
static constexpr auto INIT_POP_4_THM_01 = 4294756;
static constexpr auto INIT_POP_4_EXC_01 = 4294758;
static constexpr auto INIT_POP_5_THM_01 = 4294763;
static constexpr auto INIT_POP_5_LNC_02 = 4294764;
static constexpr auto INIT_POP_5_SKE_01 = 4294766;
static constexpr auto DEF_ACTION_CHARM_SONG = 1329;
static constexpr auto QIB_YELL_01 = 1321;
static constexpr auto QIB_YELL_02 = 1342;
static constexpr auto QIB_YELL_03 = 1343;
static constexpr auto QIB_YELL_04 = 1344;
static constexpr auto INIT_POP_SONG_BALL_A = 4317589;
static constexpr auto INIT_POP_SONG_BALL_A_2 = 4317648;
static constexpr auto INIT_POP_SONG_BALL_B = 4317650;
static constexpr auto BNPC_TYPE_SONG_BALL_A = 1633;
static constexpr auto BNPC_TYPE_SONG_BALL_B = 1634;
static constexpr auto INIT_P_POP_KEEP_TARGETING = 4317701;
static constexpr auto LOC_ACTOR0 = 1007700;
static constexpr auto LOC_ACTOR1 = 1002236;
static constexpr auto LOC_POS_ACTOR0 = 4334457;
static constexpr auto LOC_POS_ACTOR1 = 4334458;
static constexpr auto LOC_POS_ACTOR2 = 4334459;
static constexpr auto LOC_POS_CAM1 = 4334460;
static constexpr auto LOC_FACE0 = 604;
static constexpr auto LOC_FACE1 = 619;
static constexpr auto LOC_BGM1 = 112;
public:
HistoryRepeating() : Sapphire::ScriptAPI::QuestBattleScript( 86 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Entrance", 2000182, 6228959, 5, { 457.583801f, 5.680784f, 280.512787f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_0", 2000608, 2807920, 4, { -95.322441f, -25.054260f, 61.518002f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( HistoryRepeating );

View file

@ -0,0 +1,39 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class Homecoming : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_01 = 3777844;
static constexpr auto LOC_POS_FIRST = 3867063;
static constexpr auto INIT_POP_02 = 3906824;
static constexpr auto INIT_POP_03 = 3906825;
static constexpr auto BNPC_001 = 539;
static constexpr auto LOC_ACTOR0 = 1000199;
public:
Homecoming() : Sapphire::ScriptAPI::QuestBattleScript( 4 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2005192, 5760474, 4, { -51.493111f, 0.309087f, 71.436897f }, 1.000000f, -0.000006f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( Homecoming );

View file

@ -0,0 +1,126 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class HopeontheWaves : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto WARP_01 = 7186209;
static constexpr auto NCUT_01 = 1676;
static constexpr auto NCUT_02 = 1677;
static constexpr auto P_BNPC_PIRATE_01 = 7288485;
static constexpr auto P_BNPC_PIRATE_02 = 7288494;
static constexpr auto P_BNPC_PIRATE_03 = 7288495;
static constexpr auto P_BNPC_PIRATE_04 = 7288497;
static constexpr auto P_BNPC_PIRATE_05 = 7288498;
static constexpr auto P_BNPC_ALPHINAUD = 7288500;
static constexpr auto P_BNPC_CARBUNCLE_WHITE = 7288502;
static constexpr auto P_BNPC_YUGIRI = 7288507;
static constexpr auto P_BNPC_TANSUI = 7288519;
static constexpr auto BNPC_ENEMY_EMPIRE_SPEAR_01 = 7288522;
static constexpr auto BNPC_ENEMY_EMPIRE_SPEAR_02 = 7288525;
static constexpr auto BNPC_ENEMY_EMPIRE_SPEAR_03 = 7288526;
static constexpr auto BNPC_ENEMY_EMPIRE_SPEAR_04 = 7288527;
static constexpr auto BNPC_ENEMY_EMPIRE_SPEAR_05 = 7288528;
static constexpr auto BNPC_ENEMY_EMPIRE_CONJ_01 = 7288529;
static constexpr auto BNPC_ENEMY_EMPIRE_CONJ_02 = 7288530;
static constexpr auto BNPC_ENEMY_EMPIRE_CONJ_03 = 7288531;
static constexpr auto BNPC_ENEMY_EMPIRE_CONJ_04 = 7288532;
static constexpr auto BNPC_ENEMY_EMPIRE_SWORD_01 = 7288533;
static constexpr auto BNPC_ENEMY_EMPIRE_SWORD_02 = 7288534;
static constexpr auto BNPC_KMACHINE_IRONSPIKE = 7288535;
static constexpr auto PR_TANSUI_MOVE_POS = 7288548;
static constexpr auto PR_PIRATE_MOVE_POS = 7292066;
static constexpr auto PR_PIRATE_MOVE_POS2 = 7315871;
static constexpr auto EOBJ_SHARED_CONTROL = 7295786;
static constexpr auto EVENT_RANGE_NEXT_CUT = 7291574;
static constexpr auto P_BNPC_ALPHINAUD_2 = 7292138;
static constexpr auto P_BNPC_CARBUNCLE_WHITE_2 = 7292140;
static constexpr auto P_BNPC_YUGIRI_2 = 7292141;
static constexpr auto P_BNPC_TANSUI_2 = 7292143;
static constexpr auto P_BNPC_YUGIRI_AVATAR01 = 7307562;
static constexpr auto P_BNPC_YUGIRI_AVATAR02 = 7307565;
static constexpr auto BNPC_ENEMY_EMPIRE_LEADER = 7292111;
static constexpr auto BNPC_ENEMY_EMPIRE_SPEAR_06 = 7292072;
static constexpr auto BNPC_ENEMY_EMPIRE_SPEAR_07 = 7292100;
static constexpr auto BNPC_ENEMY_EMPIRE_CONJ_05 = 7292073;
static constexpr auto BNPC_ENEMY_EMPIRE_CONJ_06 = 7292101;
static constexpr auto BNPC_ENEMY_EMPIRE_SWORD_03 = 7292079;
static constexpr auto BNPC_ENEMY_EMPIRE_SWORD_04 = 7292102;
static constexpr auto BNPC_KMACHINE_IRONSPIKE_01 = 7292118;
static constexpr auto BNPC_KMACHINE_IRONSPIKE_02 = 7292121;
static constexpr auto BNPC_KMACHINE_IRONSPIKE_03 = 7292124;
static constexpr auto BNPC_KMACHINE_IRONSPIKE_04 = 7292125;
static constexpr auto BNPC_MACHINE_WHEELED = 7292132;
static constexpr auto BNPC_TOUMEI_ACTION_LB = 7292152;
static constexpr auto BNPC_TOUMEI_ACTION_DIST = 7292160;
static constexpr auto BNPC_MACHINE_BIT_01 = 7292516;
static constexpr auto BNPC_MACHINE_BIT_02 = 7292517;
static constexpr auto BNPC_MACHINE_BIT_03 = 7292518;
static constexpr auto BNPC_MACHINE_BIT_04 = 7292519;
static constexpr auto BNPC_MACHINE_BIT_BOM_01 = 7292524;
static constexpr auto BNPC_MACHINE_BIT_BOM_02 = 7292524;
static constexpr auto BNPC_MACHINE_BIT_BOM_03 = 7292524;
static constexpr auto BNPC_MACHINE_BIT_BOM_04 = 7292524;
static constexpr auto BNPC_MACHINE_BIT_BOM_05 = 7292524;
static constexpr auto BNPC_MACHINE_BIT_BOM_06 = 7292524;
static constexpr auto BNPC_TOUMEI_POS01 = 7292520;
static constexpr auto BNPC_TOUMEI_POS02 = 7292521;
static constexpr auto BNPC_TOUMEI_POS03 = 7292136;
static constexpr auto P_BNPC_GOSETSU = 7309542;
static constexpr auto P_BNPC_YOTSUYU = 7309544;
static constexpr auto PR_MACHINE_BIT_BOM_POS01 = 7292522;
static constexpr auto ACTION_DIST_MISSILE = 10816;
static constexpr auto ACTION_TOUMEI_DIST_MISSILE = 10893;
static constexpr auto ACTION_KMACHINE_SUICIDE = 10928;
static constexpr auto ACTION_SLOW_AREA = 10892;
static constexpr auto ACTION_BLIND = 3206;
static constexpr auto ACTION_LB = 10894;
static constexpr auto ACTION_SUMMON = 9158;
static constexpr auto LOCKON_DIST = 17;
static constexpr auto BNPCBASE_KMACHINE_IRONSPIKE_01 = 8468;
static constexpr auto BNPCBASE_KMACHINE_IRONSPIKE_02 = 8468;
static constexpr auto BNPCBASE_KMACHINE_IRONSPIKE_03 = 8468;
static constexpr auto BNPCBASE_KMACHINE_IRONSPIKE_04 = 8468;
static constexpr auto BNPCBASE_MACHINE_WHEELED = 8469;
static constexpr auto EOBJ_SLOW_AREA = 7292514;
static constexpr auto EOBJ_WALL_CONTROL = 7307561;
static constexpr auto EOBJ_GOSETSU_KATANA = 7315865;
static constexpr auto STATUS_SLOW_TIME = 3620;
static constexpr auto QIB_YELL_StmBdc103_01 = 6733;
static constexpr auto QIB_YELL_StmBdc103_02 = 3089;
static constexpr auto QIB_YELL_StmBdc103_03 = 6736;
static constexpr auto LOC_BGM1 = 107;
static constexpr auto LOGMESSAGE_LB_COUNT_01 = 9201;
static constexpr auto LOGMESSAGE_LB_COUNT_02 = 9202;
static constexpr auto LOGMESSAGE_LB_COUNT_03 = 9203;
static constexpr auto LOGMESSAGE_LB_COUNT_04 = 9204;
static constexpr auto LOGMESSAGE_LB_COUNT_05 = 9205;
static constexpr auto LINEVOICE_ALPHINAUD_01 = 8201086;
public:
HopeontheWaves() : Sapphire::ScriptAPI::QuestBattleScript( 181 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2008480, 6894787, 4, { 564.783630f, -60.304729f, -136.444901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2004541, 0, 4, { 800.087585f, 0.000000f, 44.317749f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( HopeontheWaves );

View file

@ -0,0 +1,105 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class HowtoQuitYou : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_1ST_A_01 = 4272556;
static constexpr auto INIT_POP_1ST_A_02 = 4272557;
static constexpr auto INIT_POP_1ST_A_03 = 4272558;
static constexpr auto INIT_POP_1ST_A_04 = 4272559;
static constexpr auto INIT_POP_1ST_A_05 = 4272560;
static constexpr auto INIT_P_POP_01 = 4329195;
static constexpr auto INIT_P_POP_02 = 4272571;
static constexpr auto INIT_P_POP_03 = 4272573;
static constexpr auto INIT_POP_2ND_B_01 = 4272579;
static constexpr auto INIT_POP_2ND_B_02 = 4272580;
static constexpr auto INIT_POP_2ND_B_03 = 4272581;
static constexpr auto INIT_POP_2ND_B_04 = 4272582;
static constexpr auto INIT_POP_2ND_B_05 = 4272583;
static constexpr auto INIT_POP_BOSS = 4273307;
static constexpr auto WARP_01 = 4273310;
static constexpr auto INIT_POP_3RD_C_01 = 4273323;
static constexpr auto INIT_POP_3RD_C_02 = 4273324;
static constexpr auto INIT_POP_3RD_C_03 = 4273327;
static constexpr auto INIT_POP_3RD_C_04 = 4273328;
static constexpr auto INIT_POP_3RD_C_05 = 4273331;
static constexpr auto INIT_POP_3RD_C_06 = 4273332;
static constexpr auto INIT_POP_3RD_C_07 = 4273334;
static constexpr auto INIT_POP_3RD_C_08 = 4273335;
static constexpr auto INIT_POP_3RD_C_09 = 4273336;
static constexpr auto INIT_POP_3RD_C_10 = 4273338;
static constexpr auto INIT_POP_3RD_C_11 = 4273341;
static constexpr auto INIT_POP_3RD_C_12 = 4273343;
static constexpr auto INIT_POP_3RD_C_13 = 4273344;
static constexpr auto INIT_POP_4TH_D_01 = 4273694;
static constexpr auto INIT_POP_4TH_D_02 = 4273695;
static constexpr auto INIT_POP_4TH_D_03 = 4273696;
static constexpr auto INIT_POP_4TH_D_04 = 4273697;
static constexpr auto INIT_POP_4TH_D_05 = 4273700;
static constexpr auto INIT_POP_4TH_D_06 = 4273701;
static constexpr auto INIT_POP_4TH_D_07 = 4273702;
static constexpr auto INIT_POP_4TH_D_08 = 4273704;
static constexpr auto INIT_POP_4TH_D_09 = 4273705;
static constexpr auto INIT_POP_4TH_D_10 = 4273706;
static constexpr auto INIT_POP_4TH_D_11 = 4273708;
static constexpr auto INIT_POP_4TH_C_01 = 4273709;
static constexpr auto INIT_POP_4TH_C_02 = 4273710;
static constexpr auto INIT_POP_4TH_C_03 = 4273713;
static constexpr auto INIT_POP_4TH_C_04 = 4273714;
static constexpr auto INIT_POP_4TH_C_05 = 4273715;
static constexpr auto INIT_POP_4TH_C_06 = 4273716;
static constexpr auto INIT_POP_4TH_C_07 = 4273727;
static constexpr auto INIT_POP_4TH_C_08 = 4273729;
static constexpr auto INIT_POP_4TH_C_09 = 4273732;
static constexpr auto INIT_POP_4TH_C_10 = 4273733;
static constexpr auto INIT_POP_4TH_C_11 = 4273735;
static constexpr auto INIT_POP_4TH_C_12 = 4273738;
static constexpr auto INIT_POP_4TH_C_13 = 4273740;
static constexpr auto INIT_POP_4TH_C_14 = 4302586;
static constexpr auto INIT_POP_4TH_C_15 = 4302587;
static constexpr auto INIT_POP_4TH_C_16 = 4302589;
static constexpr auto INIT_POP_4TH_C_17 = 4302590;
static constexpr auto INIT_ENPC_POP_01 = 4274643;
static constexpr auto INIT_ENPC_POP_02 = 4274644;
static constexpr auto LOG_EVENT_QIB_WAR500_BTL_01 = 3204;
static constexpr auto LOG_EVENT_QIB_WAR500_BTL_02 = 3205;
static constexpr auto BGM_JOB_SHIREN = 91;
static constexpr auto LOC_ACTOR0 = 1007128;
static constexpr auto LOC_ACTOR1 = 1007141;
static constexpr auto LOC_ACTOR2 = 1007142;
static constexpr auto LOC_ACTOR3 = 1007143;
static constexpr auto LOC_POS_ACTOR0 = 4312944;
static constexpr auto CUT_INSART_NCUT = 323;
static constexpr auto CUT_END_NCUT = 324;
static constexpr auto INIT_ENPC_POP_03 = 4322368;
static constexpr auto INIT_ENPC_POP_04 = 4322688;
static constexpr auto JOB_STORY_MES = 3606;
public:
HowtoQuitYou() : Sapphire::ScriptAPI::QuestBattleScript( 67 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2009569, 0, 4, { 763.213318f, 9.000000f, 358.016998f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2009570, 0, 4, { 748.506775f, 9.000000f, 520.002930f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( HowtoQuitYou );

View file

@ -1,17 +1,67 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class TheCarteneauFlatsHeliodrome :
public Sapphire::ScriptAPI::InstanceContentScript
class ICouldHaveTrancedAllNight : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_ROEGA_01 = 5919002;
static constexpr auto P_BNPC_YAMITRA_01 = 5919004;
static constexpr auto BNPC_CUP_01 = 5919028;
static constexpr auto BNPC_IF_EGI_A = 5919032;
static constexpr auto BNPC_TAI_EGI_A = 5919041;
static constexpr auto BNPC_GAL_EGI_A = 5919042;
static constexpr auto BNPC_IF_EGI_B = 5919046;
static constexpr auto BNPC_TAI_EGI_B = 5919047;
static constexpr auto BNPC_GAL_EGI_B = 5919048;
static constexpr auto EOBJ_BAHA_AETHER_AREA_01 = 5919142;
static constexpr auto EOBJ_BAHA_AETHER_AREA_02 = 5919143;
static constexpr auto EOBJ_BAHA_AETHER_AREA_03 = 5919144;
static constexpr auto EOBJ_BAHA_AETHER_AREA_04 = 5919145;
static constexpr auto EOBJ_BAHA_AETHER_AREA_05 = 5919146;
static constexpr auto EOBJ_BAHA_AETHER_AREA_06 = 5919147;
static constexpr auto STATUS_PARAM_BAHA_AETHER = 1754;
static constexpr auto STATUS_BAHA_TRANS = 1750;
static constexpr auto EVENT_ACTION_01 = 19;
static constexpr auto LOG_MESSAGE_BAHA_FIRE_SENSE_01 = 3280;
static constexpr auto LOG_MESSAGE_BAHA_WING_SENSE_01 = 3282;
static constexpr auto LOG_MESSAGE_BAHA_CLAW_SENSE_01 = 3284;
static constexpr auto LOG_MESSAGE_BAHA_IMAGE_01 = 3281;
static constexpr auto LOG_MESSAGE_BAHA_IMAGE_02 = 3283;
static constexpr auto LOG_MESSAGE_BAHA_IMAGE_03 = 3285;
static constexpr auto LOG_MESSAGE_BAHA_IMAGE_04 = 3286;
static constexpr auto LOG_MESSAGE_BAHA_IMAGE_05 = 3287;
static constexpr auto LOG_MESSAGE_BAHA_IMAGE_06 = 3288;
static constexpr auto LOG_MESSAGE_TRANS_SUCCESS = 3289;
static constexpr auto NCUT_01 = 967;
static constexpr auto POPRANGE_EGI_01 = 5923525;
static constexpr auto POPRANGE_EGI_02 = 5923528;
static constexpr auto POPRANGE_EGI_03 = 5923529;
static constexpr auto POPRANGE_EGI_04 = 5923531;
static constexpr auto POPRANGE_EGI_05 = 5923532;
static constexpr auto POPRANGE_EGI_06 = 5923533;
static constexpr auto LCUT_ACTOR0 = 1014921;
static constexpr auto LCUT_ACTOR1 = 1013845;
static constexpr auto LCUT_ACTOR2 = 1014636;
static constexpr auto LCUT_POS_ACTOR0 = 5923743;
static constexpr auto LCUT_POS_ACTOR1 = 5918992;
static constexpr auto LCUT_POS_ACTOR2 = 5919028;
static constexpr auto BNPC_BASE_ID_CUP_01 = 4897;
static constexpr auto LCUT_ACTION0 = 983;
static constexpr auto BNPC_TOUMEI_TRANCE_EFFECT = 5959636;
static constexpr auto BNPC_ACTION_TRANCE_EFFECT = 5074;
static constexpr auto LCUT_BGM0 = 114;
static constexpr auto LCUT_POS_CAM0 = 5963631;
static constexpr auto LOC_VFX0 = 251;
static constexpr auto LOC_SE0 = 52;
static constexpr auto BNPC_HATE_SCAPEGOAT = 7022197;
public:
TheCarteneauFlatsHeliodrome() :
Sapphire::ScriptAPI::InstanceContentScript( 5004 )
ICouldHaveTrancedAllNight() : Sapphire::ScriptAPI::QuestBattleScript( 149 )
{ }
void onInit( InstanceContent& instance ) override
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgbg_l1p1_q3_swhu1", 2005078, 5573675, 4, { -150.601807f, -15.195440f, 86.396042f }, 0.991760f, 0.000048f );
// States -> magic_go (id: 33) magic_down (id: 56) magic_2down (id: 57) magic_on (id: 58) magic_2on (id: 59)
@ -41,12 +91,12 @@ public:
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
@ -54,4 +104,4 @@ public:
};
EXPOSE_SCRIPT( TheCarteneauFlatsHeliodrome );
EXPOSE_SCRIPT( ICouldHaveTrancedAllNight );

View file

@ -0,0 +1,133 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class InCrimsonItBegan : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_WARP_POINT_001 = 6842088;
static constexpr auto CUT_SCENE_01 = 1394;
static constexpr auto P_BNPC_ALPHINAUD = 6828499;
static constexpr auto P_BNPC_CARBUNCLE = 6828504;
static constexpr auto P_BNPC_PIPIN = 6828509;
static constexpr auto P_BNPC_ALISAIE = 6828511;
static constexpr auto P_BNPC_KRILE = 6828515;
static constexpr auto BNPC_EMPIER_PHASE1_THM1 = 6889827;
static constexpr auto BNPC_EMPIER_PHASE1_THM2 = 6889828;
static constexpr auto BNPC_EMPIER_PHASE1_EXC1 = 6889829;
static constexpr auto BNPC_EMPIER_PHASE1_EXC2 = 6889831;
static constexpr auto BNPC_EMPIER_PHASE1_PGL1 = 6889830;
static constexpr auto P_BNPC_PHASE1_HOSTAGE1 = 6889837;
static constexpr auto P_BNPC_PHASE1_HOSTAGE2 = 6889836;
static constexpr auto P_BNPC_PHASE1_HOSTAGE3 = 6889838;
static constexpr auto PRANGE_PHASE1_HOSTAGE1 = 6889840;
static constexpr auto PRANGE_PHASE1_HOSTAGE2 = 6889841;
static constexpr auto PRANGE_PHASE1_HOSTAGE3 = 6889842;
static constexpr auto ERANGE_PHASE1 = 6889834;
static constexpr auto ERANGE_PHASE2 = 6890073;
static constexpr auto ERANGE_PHASE3 = 6890276;
static constexpr auto P_BNPC_PHASE2_HOSTAGE1 = 6890159;
static constexpr auto P_BNPC_PHASE2_HOSTAGE2 = 6890160;
static constexpr auto P_BNPC_KAIHOUGUN_PHASE2_SWD1 = 6890173;
static constexpr auto P_BNPC_KAIHOUGUN_PHASE2_EXC1 = 6890181;
static constexpr auto BNPC_EMPIER_PHASE2_EXC1 = 6890206;
static constexpr auto BNPC_EMPIER_PHASE2_PGL1 = 6890188;
static constexpr auto BNPC_EMPIER_PHASE2_THM1 = 6890189;
static constexpr auto BNPC_EMPIER_PHASE2_THM2 = 6890191;
static constexpr auto BNPC_EMPIER_PHASE2_MACHINE1 = 6890192;
static constexpr auto BNPC_EMPIER_PHASE2_MACHINE2 = 6890201;
static constexpr auto P_BNPC_PHASE3_HOSTAGE1 = 6890300;
static constexpr auto P_BNPC_PHASE3_HOSTAGE2 = 6890305;
static constexpr auto P_BNPC_KAIHOUGUN_PHASE3_SWD1 = 6890306;
static constexpr auto P_BNPC_KAIHOUGUN_PHASE3_EXC1 = 6890307;
static constexpr auto BNPC_EMPIER_PHASE3_EXC1 = 6890318;
static constexpr auto BNPC_EMPIER_PHASE3_PGL1 = 6890309;
static constexpr auto BNPC_WOLFMAN_PHASE3_SAM1 = 6890320;
static constexpr auto BNPC_WOLFMAN_PHASE3_LNC1 = 6890321;
static constexpr auto BNPC_WOLFMAN_PHASE3_ARC1 = 6890322;
static constexpr auto BNPC_WOLFMAN_PHASE3_ARC2 = 6890327;
static constexpr auto EOBJ_BOSS_ROOM_CONTROL = 6890473;
static constexpr auto ERANGE_PHASE4 = 6890642;
static constexpr auto BNPC_SKULL_FORCE_PHASE4_FORDLA = 6828565;
static constexpr auto BNPC_SKULL_FORCE_PHASE4_THM1 = 6890671;
static constexpr auto BNPC_SKULL_FORCE_PHASE4_THM2 = 6890672;
static constexpr auto BNPC_SKULL_FORCE_PHASE4_SWD1 = 6890673;
static constexpr auto BNPC_SKULL_FORCE_PHASE4_LNC1 = 6890674;
static constexpr auto BNPC_ZENOS = 6828566;
static constexpr auto BNPC_STATE_EXHAUSTED = 6;
static constexpr auto BNPC_STATE_SCARE = 7;
static constexpr auto BNPC_STATE_ACTIVE = 1;
static constexpr auto BNPC_STATE_ATTRIBUTE_CHANGE_A1_B1_C0_KEEP = 139;
static constexpr auto BEHAVIOR_HOSTAGE_PHASE1 = 30936;
static constexpr auto BEHAVIOR_ALPHINAUD_PHASE1 = 30937;
static constexpr auto PRANGE_PHASE1_ALPHINAUD1 = 6891799;
static constexpr auto PRANGE_PHASE2_KAIHOUGUN_EXC = 6892443;
static constexpr auto PRANGE_PHASE2_KAIHOUGUN_SWD = 6892444;
static constexpr auto PRANGE_PHASE1_ALISAIE1 = 6892447;
static constexpr auto BEHAVIOR_PIPIN_PHASE1 = 30938;
static constexpr auto BEHAVIOR_KRILE_PHASE1 = 30939;
static constexpr auto YELL_KRILE_01 = 4789;
static constexpr auto YELL_PIPIN_01 = 4790;
static constexpr auto YELL_HOSTAGE_04 = 4792;
static constexpr auto YELL_HOSTAGE_05 = 4793;
static constexpr auto YELL_HOSTAGE_06 = 4794;
static constexpr auto YELL_KAIHOUGUN_01 = 4799;
static constexpr auto YELL_KAIHOUGUN_02 = 4800;
static constexpr auto YELL_ALPHINAUD_02 = 4801;
static constexpr auto YELL_WOLFMAN_01 = 4802;
static constexpr auto YELL_WOLFMAN_02 = 4803;
static constexpr auto YELL_FORDOLA_03 = 4791;
static constexpr auto STATUS_KNOCKDOWN_ETERNAL = 3000;
static constexpr auto STATUS_KNOCKDOWN = 3001;
static constexpr auto STATUS_STUN = 2991;
static constexpr auto STATUS_TERROR = 3331;
static constexpr auto PRANGE_HOSTAGE_DEPOP = 6828473;
static constexpr auto BNPC_TOUMEI_HOCK_NPCDEAD = 6894431;
static constexpr auto P_BNPC_PIPIN_SECOND = 6842091;
static constexpr auto P_BNPC_ALISAIE_SECOND = 6842089;
static constexpr auto BNPC_FUJINKEN = 6895494;
static constexpr auto BNPC_RAIJINKEN_01 = 6895495;
static constexpr auto BNPC_RAIJINKEN_02 = 6940216;
static constexpr auto BNPC_RAIJINKEN_03 = 6940214;
static constexpr auto BNPC_RAIJINKEN_04 = 6940227;
static constexpr auto BNPC_RAIJINKEN_05 = 6940210;
static constexpr auto BNPC_RAIJINKEN_06 = 6940230;
static constexpr auto BNPC_RAIJINKEN_07 = 6940212;
static constexpr auto BNPC_RAIJINKEN_08 = 6940226;
static constexpr auto BNPC_RAIJINKEN_09 = 6940235;
static constexpr auto BNPC_RAIJINKEN_10 = 6940237;
static constexpr auto BNPC_RAIJINKEN_11 = 6940236;
static constexpr auto BNPC_RAIJINKEN_12 = 6940238;
static constexpr auto ENPC_ALPINAUD = 6971433;
static constexpr auto ENPC_KRILE = 6971434;
static constexpr auto ACTION_RAIDDAMAGE_PHASE1 = 8693;
static constexpr auto ACTION_HATE_RESETED = 3269;
static constexpr auto LINEVOICE_FORDOLA_03 = 8201359;
static constexpr auto LINEVOICE_PIPIN_03 = 8201328;
static constexpr auto BGM_ZENOS_BATTLE = 207;
public:
InCrimsonItBegan() : Sapphire::ScriptAPI::QuestBattleScript( 155 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "ClanHuntboard", 2008654, 0, 4, { 95.105537f, 0.652042f, 22.605730f }, 1.000000f, -1.231116f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( InCrimsonItBegan );

View file

@ -0,0 +1,164 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class InHerDefense : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_COMPANION_OBORO_01 = 5907854;
static constexpr auto BNPC_COMPANION_AKAGI_01 = 5907861;
static constexpr auto BNPC_ENEMY_ROSALINDE_01 = 5907866;
static constexpr auto BNPC_ENEMY_REDWAY_01 = 5907870;
static constexpr auto BNPC_ENEMY_PACK_A_EXC_01 = 5907872;
static constexpr auto BNPC_ENEMY_PACK_A_ARC_01 = 5907873;
static constexpr auto BNPC_ENEMY_PACK_A_ARC_02 = 5907874;
static constexpr auto BNPC_ENEMY_PACK_B_EXC_01 = 5907875;
static constexpr auto BNPC_ENEMY_PACK_B_EXC_02 = 5907876;
static constexpr auto BNPC_ENEMY_PACK_B_ARC_01 = 5907877;
static constexpr auto BNPC_ENEMY_PACK_C_EXC_01 = 5907878;
static constexpr auto BNPC_ENEMY_PACK_C_EXC_02 = 5907879;
static constexpr auto BNPC_ENEMY_PACK_C_ARC_01 = 5907880;
static constexpr auto BNPC_ENEMY_RANDOM_POP_01 = 5907881;
static constexpr auto BNPC_ENEMY_RANDOM_BAT_01 = 5907882;
static constexpr auto BNPC_ENEMY_PACK_D_EXC_01 = 5907883;
static constexpr auto BNPC_ENEMY_PACK_D_EXC_02 = 5907884;
static constexpr auto BNPC_ENEMY_PACK_D_EXC_03 = 5907885;
static constexpr auto BNPC_ENEMY_PACK_E_EXC_01 = 5907887;
static constexpr auto BNPC_ENEMY_PACK_E_EXC_02 = 5907888;
static constexpr auto BNPC_ENEMY_PACK_E_CNJ_01 = 5907889;
static constexpr auto ENPC_ROSALINDE_01 = 5907902;
static constexpr auto ENPC_YUKI_01 = 5907903;
static constexpr auto ENPC_SERVANT_01 = 5907904;
static constexpr auto ENPC_SERVANT_02 = 5907905;
static constexpr auto CUT_SCENE_01 = 962;
static constexpr auto EOBJ_OBORO_HANDS_ON = 5908237;
static constexpr auto EVENT_ACTION_01 = 42;
static constexpr auto BAT_POP_INTERVAL_1 = 12;
static constexpr auto MOVING_POINT_01 = 5908273;
static constexpr auto LCUT_ACTOR0 = 1013846;
static constexpr auto LCUT_ACTOR1 = 1013847;
static constexpr auto LCUT_ACTOR2 = 1013850;
static constexpr auto LCUT_ACTOR3 = 1013851;
static constexpr auto LCUT_ACTOR4 = 1010597;
static constexpr auto LCUT_POS_ACTOR0 = 5907903;
static constexpr auto LCUT_POS_ACTOR1 = 5907904;
static constexpr auto LCUT_POS_ACTOR2 = 5907905;
static constexpr auto LCUT_BASE_ACTION0 = 1056;
static constexpr auto LCUT_ACTION0 = 1062;
static constexpr auto YELL_QIB_01 = 3157;
static constexpr auto YELL_QIB_02 = 3158;
static constexpr auto BNPC_TOUMEI_RAITON_FOR_PLAYER_01 = 5931210;
static constexpr auto BNPC_TOUMEI_RAITON_FOR_PLAYER_02 = 5931211;
static constexpr auto BNPC_TOUMEI_RAITON_FOR_PLAYER_03 = 5931212;
static constexpr auto BNPC_TOUMEI_RAITON_FOR_FIXED_POINT = 5931680;
static constexpr auto BNPC_RAITON_TARGET_01 = 5931380;
static constexpr auto BNPC_RAITON_TARGET_02 = 5931383;
static constexpr auto BNPC_RAITON_TARGET_03 = 5931384;
static constexpr auto BNPC_RAITON_TARGET_04 = 5931386;
static constexpr auto BNPC_RAITON_TARGET_05 = 5931387;
static constexpr auto BNPC_RAITON_TARGET_06 = 5931388;
static constexpr auto BNPC_RAITON_TARGET_07 = 5931390;
static constexpr auto BNPC_RAITON_TARGET_08 = 5931391;
static constexpr auto BNPC_RAITON_TARGET_09 = 5931392;
static constexpr auto DEF_ACTION_RAITON_GT = 4977;
static constexpr auto STATUS_HOLMGANG = 88;
static constexpr auto BNPC_ACTION_EXECUTION = 1003;
static constexpr auto EOBJ_MAKIBISHI = 5933081;
static constexpr auto STATUS_MAKIBISHI_DAMAGE = 1221;
static constexpr auto DEF_ACTION_MAKIBISHI = 4987;
static constexpr auto BNPC_ESCAPE = 5935138;
static constexpr auto BNPC_ACTION_OBORO_ESCAPE_TORIGGER = 3269;
static constexpr auto STATUS_HYOUTON_BIND = 612;
public:
InHerDefense() : Sapphire::ScriptAPI::QuestBattleScript( 131 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgvf_w_btl_b0485", 2004341, 4797423, 4, { -368.761902f, 1.900000f, 20.220869f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_1", 2004342, 4797424, 4, { -367.525085f, 1.900000f, 26.995680f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_2", 2004343, 4797425, 4, { -371.746185f, 1.900000f, 32.584270f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_3", 2004338, 4797426, 4, { -362.507385f, 1.900000f, 48.482269f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_4", 2004339, 4797427, 4, { -355.184601f, 1.899924f, 47.853260f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_5", 2004340, 4797428, 4, { -349.628601f, 1.899914f, 52.138340f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_6", 2004335, 4797429, 4, { -334.406708f, 1.899990f, 43.799950f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_7", 2004336, 4797430, 4, { -336.870087f, 1.900000f, 37.104382f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_8", 2004337, 4797431, 4, { -332.837006f, 1.900000f, 30.666309f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_9", 2004344, 4797421, 4, { -341.024414f, 1.880961f, 15.649740f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_10", 2004345, 4797419, 4, { -348.232788f, 1.900000f, 15.852800f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "sgvf_w_btl_b0485_11", 2004346, 4797422, 4, { -353.540588f, 1.899946f, 11.553900f }, 1.000000f, -0.000000f );
// States -> omen (id: 3) fukidasi (id: 4) end_0f (id: 5) end_anm (id: 6) omen1 (id: 8)
instance.registerEObj( "Entrance", 2000182, 4685106, 5, { 320.642792f, 3.735552f, 302.314301f }, 0.991760f, 0.000048f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_0", 2002735, 0, 4, { 220.874298f, 64.988159f, 13.046390f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgvf_w_lvd_b0118", 2002872, 4685143, 4, { 220.800797f, 64.801514f, 13.539410f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "sgvf_w_lvd_b0250", 2004050, 4685147, 4, { 219.745102f, 64.682983f, -33.707211f }, 0.991760f, 0.000048f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "sgpl_w_transparent05", 2004049, 4685157, 4, { 219.958694f, 65.018677f, 47.991199f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_1", 2002735, 0, 4, { -60.079769f, 44.339741f, -124.669800f }, 1.000000f, -1.570451f );
instance.registerEObj( "sgvf_w_lvd_b0118_1", 2002872, 4685162, 4, { -61.990799f, 44.123230f, -125.263000f }, 1.000000f, -1.570451f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "sgvf_w_lvd_b0118_2", 2004051, 4685163, 4, { -98.791832f, 44.299992f, -124.783699f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_2", 2002735, 0, 4, { -315.480286f, 1.957748f, 33.432499f }, 0.991760f, -1.184874f );
instance.registerEObj( "sgvf_w_lvd_b0118_3", 2002872, 4685167, 4, { -314.885803f, 1.999334f, 32.833080f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "Shortcut", 2000700, 0, 4, { 325.360901f, 6.499028f, 292.726807f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2004052, 4584550, 4, { 165.269104f, 52.440060f, -190.280197f }, 1.000000f, 0.000000f );
instance.registerEObj( "Stonepedestal", 2004057, 4588393, 4, { 163.784195f, 52.706680f, -185.027100f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2004053, 4584553, 4, { -35.849411f, 44.986191f, -124.177696f }, 1.000000f, 0.000000f );
instance.registerEObj( "Stonepedestal_1", 2004058, 4588617, 4, { -32.145729f, 44.996059f, -118.336502f }, 1.000000f, 0.000000f );
instance.registerEObj( "Stonepedestal_2", 2004059, 4588610, 4, { -32.404221f, 44.937031f, -128.964096f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { -326.989685f, 2.000000f, 43.114891f }, 1.000000f, 0.000000f );
instance.registerEObj( "Treasurecoffer", 2004074, 0, 4, { 191.947693f, 59.006939f, -163.899307f }, 1.000000f, 0.000000f );
instance.registerEObj( "Treasurecoffer_1", 2004075, 0, 4, { 194.472900f, 59.156731f, -165.022003f }, 1.000000f, 0.000000f );
instance.registerEObj( "Treasurecoffer_2", 2004076, 0, 4, { 196.017197f, 59.853050f, -161.548294f }, 1.000000f, 0.000000f );
instance.registerEObj( "Treasurecoffer_3", 2004077, 0, 4, { 198.798004f, 60.096630f, -162.115204f }, 1.000000f, 0.000000f );
instance.registerEObj( "Treasurecoffer_4", 2004078, 0, 4, { 199.929993f, 60.852970f, -158.189896f }, 1.000000f, 0.000000f );
instance.registerEObj( "Treasurecoffer_5", 2004079, 0, 4, { 203.014206f, 61.084290f, -158.453995f }, 1.000000f, 0.000000f );
instance.registerEObj( "Wildbananatree", 2004062, 4706914, 4, { 206.036896f, 65.302567f, -27.040119f }, 0.991760f, 0.000048f );
instance.registerEObj( "Wildbananatree_1", 2004063, 4722842, 4, { 199.376907f, 64.682983f, -11.735090f }, 0.991760f, 0.000048f );
instance.registerEObj( "Wildbananatree_2", 2004064, 4706915, 4, { 205.968002f, 64.690811f, 3.866779f }, 0.991760f, 0.000048f );
instance.registerEObj( "Wildbananatree_3", 2004065, 4706916, 4, { 236.652100f, 64.927116f, -28.061340f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_5", 2004066, 0, 4, { 206.655502f, 65.036621f, -25.903111f }, 0.991760f, -1.260904f );
instance.registerEObj( "unknown_6", 2004067, 0, 4, { 200.604294f, 64.690804f, -10.987260f }, 0.991760f, -0.736456f );
instance.registerEObj( "unknown_7", 2004068, 0, 4, { 206.716095f, 64.690811f, 3.346290f }, 0.991760f, -0.921409f );
instance.registerEObj( "unknown_8", 2004069, 0, 4, { 235.736603f, 64.682983f, -27.115360f }, 0.991760f, 0.613842f );
instance.registerEObj( "unknown_9", 2004060, 4585424, 4, { -218.153107f, -0.000002f, -6.398464f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_10", 2004061, 4585624, 4, { -307.270905f, 4.409851f, 14.023010f }, 0.991760f, 0.000048f );
instance.registerEObj( "Wildbananatree_4", 2004070, 4722840, 4, { 241.380005f, 64.956383f, -12.841170f }, 1.000000f, 0.000000f );
instance.registerEObj( "Wildbananatree_5", 2004071, 4706917, 4, { 234.644501f, 64.824364f, 2.652663f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_11", 2004072, 0, 4, { 239.884903f, 64.690811f, -12.610960f }, 1.000000f, 0.600320f );
instance.registerEObj( "unknown_12", 2004073, 0, 4, { 233.623596f, 64.760551f, 2.089992f }, 1.000000f, 0.684586f );
instance.registerEObj( "unknown_13", 2004129, 0, 4, { -80.000000f, 44.200001f, -124.500000f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( InHerDefense );

View file

@ -0,0 +1,116 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class InLovingMemory : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto P_BNPC_ARUKA = 6901737;
static constexpr auto P_BNPC_SETOTO = 6901735;
static constexpr auto BNPC_DOLL_01 = 6901738;
static constexpr auto BNPC_DOLL_02 = 6901739;
static constexpr auto BNPC_DOLL_03 = 6901741;
static constexpr auto BNPC_DOLL_04 = 6901742;
static constexpr auto BNPC_HUMBABA = 6901917;
static constexpr auto BNPC_SEARCH_TRASH_01 = 6958147;
static constexpr auto BNPC_SEARCH_TRASH_02 = 6958148;
static constexpr auto BNPC_SEARCH_TRASH_03 = 6958149;
static constexpr auto BNPC_SEARCH_TRASH_04 = 6958150;
static constexpr auto BNPC_SEARCH_TRASH_05 = 6958151;
static constexpr auto BNPC_SEARCH_TRASH_06 = 6958152;
static constexpr auto BNPC_SEARCH_TRASH_07 = 6958153;
static constexpr auto BNPC_SEARCH_TRASH_08 = 6958154;
static constexpr auto BNPC_SEARCH_TRASH_09 = 6958155;
static constexpr auto EOBJ_CLOSE_BOOK01 = 6901867;
static constexpr auto EOBJ_CLOSE_BOOK02 = 6901868;
static constexpr auto EOBJ_BAG01 = 6901869;
static constexpr auto EOBJ_BAG02 = 6901870;
static constexpr auto EOBJ_OPEN_BOOK01 = 6901875;
static constexpr auto EOBJ_CHEST01 = 6901877;
static constexpr auto EVENT_ACTION_01 = 24;
static constexpr auto EOBJ_WALL = 6958171;
static constexpr auto EOBJ_WALL_BOSS = 6970234;
static constexpr auto EOBJ_TREASURE_CHEST_B = 6958451;
static constexpr auto EOBJ_TREASURE_CHEST_S = 6958680;
static constexpr auto LOG_MSG_DROP_BOX_B = 5386;
static constexpr auto LOG_MSG_DROP_BOX_S = 5387;
static constexpr auto BNPC_DEAD_DOLL_01 = 6958508;
static constexpr auto BNPC_DEAD_DOLL_02 = 6958509;
static constexpr auto BNPC_DEAD_DOLL_03 = 6958510;
static constexpr auto BNPC_DEAD_DOLL_04 = 6958511;
static constexpr auto BNPC_DEAD_DOLL_05 = 6958512;
static constexpr auto ER_BOSS_PHASE = 6958532;
static constexpr auto BGM_BOSS_BATTLE = 206;
static constexpr auto BNPC_THUNDER_BALL = 6958665;
static constexpr auto ACTION_THUNDER_II = 8990;
static constexpr auto PR_SETOTO_MOVE_01 = 6958668;
static constexpr auto ACTION_THUNDER_SPARK = 8991;
static constexpr auto ACTION_HUMBABA_BREATH = 8989;
static constexpr auto BNPC_TOUMEI = 6958726;
static constexpr auto BNPC_TOUMEI_ACTION = 6958747;
static constexpr auto STATUS_HASTE = 8;
public:
InLovingMemory() : Sapphire::ScriptAPI::QuestBattleScript( 176 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgvf_w_lvd_b0118", 2002872, 5040923, 4, { 203.452301f, 0.116688f, 208.657593f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_0", 2002735, 0, 4, { 199.471802f, 0.116693f, 210.128204f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgbg_f1d7_a4_scy01", 2005153, 5619221, 4, { 198.706802f, -20.000010f, 229.113907f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2004696, 5009720, 4, { -200.316895f, -4.301562f, -43.621670f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2004697, 5009721, 4, { -47.771290f, -0.000000f, -71.658272f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgbg_f1d7_a1_evl01", 2004698, 5031991, 4, { -125.087196f, -2.000000f, 28.417601f }, 1.000000f, -0.000000f );
// States -> evils_def (id: 17) evils_off_anim (id: 22) evils_on (id: 23) evils_on_anim (id: 24)
instance.registerEObj( "sgvf_f1d7_b0574", 2004699, 5031992, 4, { -104.790604f, -2.000000f, 47.174728f }, 1.000000f, 0.000000f );
// States -> vf_baria1_off (id: 3) vf_baria_on (id: 6)
instance.registerEObj( "unknown_3", 2004700, 0, 4, { 2.343430f, 48.179089f, -2.083742f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2004702, 5009732, 4, { 125.604897f, 43.999989f, 3.999085f }, 1.000000f, 0.005971f );
instance.registerEObj( "unknown_5", 2004701, 0, 4, { 149.666000f, 44.200001f, -0.006115f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_6", 2004703, 5010816, 4, { 196.927399f, 44.000019f, -101.381798f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgbg_f1d7_a1_evl01_1", 2004704, 5032163, 4, { 199.696106f, 44.000000f, -181.197006f }, 1.000000f, 0.000000f );
// States -> evils_def (id: 17) evils_off_anim (id: 22) evils_on (id: 23) evils_on_anim (id: 24)
instance.registerEObj( "Aetherialflow", 2004705, 5032164, 4, { 199.682800f, 44.163898f, -180.392395f }, 1.000000f, -0.000000f );
instance.registerEObj( "Fellorb", 2004706, 5009746, 4, { 200.094101f, -0.000008f, 0.050249f }, 1.000000f, 0.000000f );
instance.registerEObj( "Aetherialflow_1", 2004707, 5033533, 4, { 199.899506f, 0.000000f, -3.297300f }, 1.000000f, -0.000000f );
instance.registerEObj( "unknown_7", 2004768, 5033548, 4, { 210.649307f, 0.116687f, -6.120441f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_8", 2004769, 5033549, 4, { 189.489807f, 0.116688f, -6.804901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_9", 2004770, 5033551, 4, { 204.506500f, 0.116687f, 9.902725f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgvf_w_lvd_b0118_1", 2004708, 5034801, 4, { -119.510101f, -2.400002f, 18.885540f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "sgvf_w_lvd_b0118_2", 2002872, 5034800, 4, { -130.314606f, -2.400000f, -18.221069f }, 1.000000f, 0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_10", 2002735, 0, 4, { -125.041801f, -1.964380f, -20.543480f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgpl_f1d7_a1_gar0", 2004996, 5390927, 4, { -112.845497f, -2.400000f, 12.122500f }, 1.000000f, 0.785314f );
instance.registerEObj( "sgpl_f1d7_a1_gar0_1", 2004997, 5390928, 4, { -112.845497f, -2.400000f, -12.378100f }, 1.000000f, 0.785457f );
instance.registerEObj( "sgpl_f1d7_a1_gar0_2", 2004998, 5390929, 4, { -137.250000f, -2.400000f, 12.122500f }, 1.000000f, -0.785410f );
instance.registerEObj( "sgpl_f1d7_a1_gar0_3", 2004999, 5390930, 4, { -137.396194f, -2.400000f, -12.366500f }, 1.000000f, -0.785398f );
instance.registerEObj( "sgvf_w_lvd_b0118_3", 2004782, 5038257, 4, { 198.459198f, 43.991699f, -172.369705f }, 1.000000f, 0.000048f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "sgvf_w_lvd_b0118_4", 2002872, 5038255, 4, { 197.802597f, 43.991699f, -125.932701f }, 1.000000f, -0.000000f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_11", 2002735, 0, 4, { 199.511703f, 44.022221f, -130.601303f }, 1.000000f, -0.000000f );
instance.registerEObj( "Entrance", 2000182, 5018466, 5, { -255.724792f, -9.199999f, -5.249732f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "Shortcut", 2000700, 0, 4, { -252.173401f, -9.199999f, 5.737248f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { 200.798599f, -0.000008f, 240.880905f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( InLovingMemory );

View file

@ -0,0 +1,46 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class InNaturesEmbrace : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_BOSS = 3796294;
static constexpr auto INIT_POP_YODOMI_01 = 4273807;
static constexpr auto INIT_POP_YODOMI_02 = 4273810;
static constexpr auto INIT_POP_IMP_01 = 4273820;
static constexpr auto INIT_POP_IMP_02 = 4273821;
static constexpr auto INIT_P_POP_SYLPHIE = 3873175;
static constexpr auto CUT_SCENE_01 = 19;
static constexpr auto CUT_SCENE_02 = 20;
static constexpr auto DEF_YODOMI_DORAIN = 1127;
static constexpr auto QIB_YELL_01 = 1003;
static constexpr auto QIB_YELL_02 = 1004;
public:
InNaturesEmbrace() : Sapphire::ScriptAPI::QuestBattleScript( 17 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Entrance", 2000182, 5021407, 5, { 623.000000f, 23.872311f, 94.505638f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "Exit", 2000139, 0, 4, { 623.000000f, 23.656260f, 61.956181f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( InNaturesEmbrace );

View file

@ -1,34 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class InThalsName :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
InThalsName() :
Sapphire::ScriptAPI::InstanceContentScript( 5006 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "unknown_0", 2004364, 0, 4, { -93.101089f, -13.129550f, 6.845694f }, 1.000000f, 0.000000f );
instance.registerEObj( "Companychest", 2000470, 4255822, 4, { 128.974701f, 5.067919f, -40.913502f }, 1.000000f, -0.343160f );
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( InThalsName );

View file

@ -1,42 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class InterdimensionalRift :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
InterdimensionalRift() :
Sapphire::ScriptAPI::InstanceContentScript( 5023 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "sgvf_z3o1_b1212", 2007457, 6944598, 4, { -14.915330f, -256.500000f, 385.545197f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgvf_z3o1_b1212_1", 2007457, 6944604, 4, { -280.000000f, -239.750000f, 196.500000f }, 1.000000f, -0.000000f );
instance.registerEObj( "sgvf_z3o1_b1212_2", 2007457, 6944605, 4, { -255.313797f, -226.000000f, -187.394394f }, 1.000000f, 0.000000f );
instance.registerEObj( "sgvf_z3o1_b1212_3", 2007457, 6944606, 4, { -246.604706f, -226.000000f, -192.211807f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000046, 0, 4, { 843.573914f, 427.000000f, 948.472290f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit_1", 2000046, 0, 4, { -207.965302f, -224.000000f, -147.401306f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_0", 2007457, 6889957, 4, { 1.846330f, -271.700012f, 428.457886f }, 0.991760f, 0.000049f );
instance.registerEObj( "Matterrelocationdevice", 2008501, 6938814, 4, { -16.956310f, -256.250000f, 382.407898f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_z3o1_a1_cub01", 2007457, 6954336, 4, { -7.878613f, -256.250000f, 385.557495f }, 1.000000f, 0.000000f );
instance.registerEObj( "Matterrelocationdevice_1", 2000048, 6938826, 4, { -286.946014f, -239.764999f, 192.797699f }, 0.991760f, 0.000048f );
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( InterdimensionalRift );

View file

@ -0,0 +1,69 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class IntheDarkofNight : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_IZORUDE_BOSS = 7808975;
static constexpr auto BNPC_TOUMEI_ACTION_A01 = 7810191;
static constexpr auto BNPC_TOUMEI_ACTION_A02 = 7810209;
static constexpr auto BNPC_TOUMEI_ACTION_B01 = 7810198;
static constexpr auto BNPC_TOUMEI_ACTION_B02 = 7810200;
static constexpr auto BNPC_TOUMEI_ACTION_B03 = 7810202;
static constexpr auto BNPC_TOUMEI_ACTION_B04 = 7810207;
static constexpr auto P_BNPC_NOCTIS = 7808974;
static constexpr auto BNPC_TOUMEI_ACTION_C01 = 7821422;
static constexpr auto BNPC_TOUMEI_ACTION_C02 = 7821430;
static constexpr auto BNPC_TOUMEI_ACTION_C03 = 7821431;
static constexpr auto BNPC_TOUMEI_ACTION_C04 = 7821432;
static constexpr auto BNPC_TOUMEI_ACTION_C05 = 7821433;
static constexpr auto BNPC_TOUMEI_ACTION_C06 = 7821434;
static constexpr auto BNPC_TOUMEI_ACTION_D01 = 7821435;
static constexpr auto BNPC_TOUMEI_ACTION_D02 = 7821436;
static constexpr auto BNPC_TOUMEI_ACTION_D03 = 7821437;
static constexpr auto BNPC_TOUMEI_ACTION_D04 = 7821438;
static constexpr auto BNPC_TOUMEI_ACTION_D05 = 7821439;
static constexpr auto BNPC_TOUMEI_ACTION_D06 = 7821440;
static constexpr auto BNPC_TOUMEI_ACTION_E01 = 7840020;
static constexpr auto BNPC_TOUMEI_ACTION_E02 = 7840030;
static constexpr auto BNPC_TOUMEI_TARGET = 7840047;
static constexpr auto BNPC_TOUMEI_TARGETAE_01 = 7846607;
static constexpr auto BNPC_TOUMEI_TARGETAE_02 = 7846618;
static constexpr auto ACTION_CLAW_SHARE = 14606;
static constexpr auto ACTION_SIX_LASER = 14602;
static constexpr auto ACTION_SIX_LASER_TOUMEI = 14603;
static constexpr auto ACTION_TOWER_ATTACK = 14608;
static constexpr auto ACTION_TOWER_ATTACK_TOUMEI_SMALL = 14609;
static constexpr auto ACTION_TOWER_ATTACK_TOUMEI_WIDE = 14610;
static constexpr auto ACTION_TOWER_ATTACK_TOUMEI_SMALL_2 = 14981;
static constexpr auto ACTION_STOMP = 14605;
static constexpr auto ACTION_TARGETAE_ATTACK = 15082;
static constexpr auto ACTION_TARGETAE_ATTACK_TOUMEI = 15083;
static constexpr auto LOCKON_CLAW_SHARE = 93;
static constexpr auto LOCKON_TARGETAE = 129;
public:
IntheDarkofNight() : Sapphire::ScriptAPI::QuestBattleScript( 184 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( IntheDarkofNight );

View file

@ -0,0 +1,93 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class IntheEyesofGodsandMen : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_ENPC_01 = 4261248;
static constexpr auto INIT_P_POP_PASCALERET = 4261257;
static constexpr auto INIT_POP_1_EXC_01 = 4261259;
static constexpr auto INIT_POP_ALDLEC = 4261262;
static constexpr auto INIT_POP_1_CNJ_01 = 4261275;
static constexpr auto INIT_POP_1_ARC_01 = 4261276;
static constexpr auto INIT_POP_1_PGL_01 = 4261278;
static constexpr auto INIT_P_POP_OLSHIFAN = 4261300;
static constexpr auto INIT_POP_2_PGL_01 = 4261302;
static constexpr auto INIT_POP_2_LNC_01 = 4261303;
static constexpr auto INIT_POP_3_DRAGON_01 = 4261305;
static constexpr auto EVENT_ACTION_01 = 22;
static constexpr auto INIT_EO_POP_01 = 4285063;
static constexpr auto LOG_EVENT_QIB_GAIUSB803_01 = 3206;
static constexpr auto LOG_EVENT_QIB_GAIUSB803_02 = 3208;
static constexpr auto LOG_EVENT_QIB_GAIUSB803_03 = 3209;
static constexpr auto YELL_QIB_GIEIM_01 = 1030;
static constexpr auto YELL_QIB_PASCALERET_02 = 1031;
static constexpr auto YELL_QIB_GIEIM_03 = 1032;
static constexpr auto YELL_QIB_ALDLEC_04 = 1033;
static constexpr auto YELL_QIB_OLSHIFAN_05 = 1034;
static constexpr auto YELL_QIB_OLSHIFAN_06 = 1371;
static constexpr auto INIT_POP_3_EXC_01 = 4287236;
static constexpr auto INIT_POP_3_CNJ_01 = 4287237;
static constexpr auto POP_RANGE_ALDLEC_01 = 4321748;
static constexpr auto POP_RANGE_PASCALERET_01 = 4321746;
static constexpr auto POP_RANGE_OLSHIFAN_01 = 4287139;
static constexpr auto POP_RANGE_OLSHIFAN_02 = 4321747;
static constexpr auto POP_RANGE_DRAGON_02 = 4287173;
static constexpr auto BGM_OLSHIFAN_AFTER_POP = 36;
static constexpr auto LOC_ACTOR0 = 1007675;
static constexpr auto LOC_ACTOR1 = 1006902;
static constexpr auto LOC_ACTOR2 = 1007681;
static constexpr auto LOC_ACTOR3 = 1007665;
static constexpr auto LOC_ACTOR4 = 1007666;
static constexpr auto LOC_ACTOR5 = 1006905;
static constexpr auto LOC_ACTOR6 = 1006906;
static constexpr auto LOC_ACTOR7 = 1007699;
static constexpr auto LOC_POS_ACTOR0 = 4323475;
static constexpr auto LOC_POS_ACTOR1 = 4323476;
static constexpr auto LOC_POS_ACTOR2 = 4323477;
static constexpr auto LOC_POS_ACTOR3 = 4323478;
static constexpr auto LOC_ACTION1 = 979;
static constexpr auto LOC_BGM1 = 114;
public:
IntheEyesofGodsandMen() : Sapphire::ScriptAPI::QuestBattleScript( 60 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgbg_w_qic_001_04a", 2006993, 6235274, 4, { -35.822102f, 298.899994f, -205.263199f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_0", 2006952, 0, 4, { -35.712589f, 298.899994f, -204.878006f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { 556.049377f, 348.102509f, -752.435730f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance", 2000182, 4600289, 5, { 523.532471f, 348.223389f, -736.685730f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_1", 2002332, 0, 4, { 533.090881f, 348.691895f, -742.750916f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2002333, 0, 4, { 539.940430f, 348.836395f, -734.401489f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2000608, 3967803, 4, { 202.369598f, 257.761108f, 80.435272f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2000608, 3976993, 4, { 273.634705f, 254.600204f, 106.048500f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_5", 2000608, 3986797, 4, { 205.504898f, 246.188995f, 194.875702f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_6", 2000608, 3986798, 4, { 326.313385f, 239.193497f, 221.138901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_7", 2000608, 2718481, 4, { 240.552307f, 302.769714f, -199.979996f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_8", 2000608, 4065433, 4, { 204.970001f, 302.119995f, -216.311600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_9", 2000608, 2814617, 4, { 205.869995f, 302.219086f, -276.681396f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_10", 2000608, 2763112, 4, { -433.000000f, 211.007706f, -216.148605f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_11", 2000608, 4187649, 4, { -453.000000f, 211.000000f, -281.046600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_12", 2000608, 4187961, 4, { -416.000000f, 210.788193f, -279.813812f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( IntheEyesofGodsandMen );

View file

@ -0,0 +1,60 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class IntoaCopperHell : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_A = 4094987;
static constexpr auto INIT_POP_B = 4094990;
static constexpr auto INIT_POP_C = 4094992;
static constexpr auto CUT_SCENE_01 = 76;
static constexpr auto CUT_SCENE_02 = 77;
static constexpr auto CUT_SCENE_03 = 78;
static constexpr auto LOC_ACTOR0 = 1005138;
static constexpr auto LOC_ACTOR1 = 1004748;
static constexpr auto LOC_ACTOR2 = 1004749;
static constexpr auto LOC_ACTOR3 = 1005117;
static constexpr auto LOC_ACTOR4 = 1005119;
static constexpr auto LOC_ACTOR5 = 1005120;
static constexpr auto LOC_ACTOR8 = 1004653;
static constexpr auto LOC_ACTOR9 = 1004654;
static constexpr auto LOC_POS_ACTOR0 = 4176169;
static constexpr auto LOC_POS_ACTOR1 = 4176170;
static constexpr auto LOC_POS_ACTOR2 = 4176171;
static constexpr auto LOC_FACE0 = 604;
static constexpr auto LOC_FACE1 = 617;
static constexpr auto LOC_FACE2 = 620;
static constexpr auto LOC_FACE3 = 605;
static constexpr auto LOC_FACE4 = 611;
public:
IntoaCopperHell() : Sapphire::ScriptAPI::QuestBattleScript( 44 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2009578, 2091611, 4, { 31.545870f, 7.999978f, -121.025002f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2009578, 2091610, 4, { 4.407776f, 8.022990f, -105.310699f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2009578, 2091597, 4, { -184.324402f, 18.000000f, 65.271606f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_3", 2009578, 2091596, 4, { -146.806107f, 14.005000f, 63.857010f }, 1.000000f, 0.000000f );
instance.registerEObj( "Companychest", 2000470, 4255821, 4, { -149.301498f, 4.552717f, -91.365868f }, 0.991760f, -0.619932f );
instance.registerEObj( "Huntboard", 2004440, 2217635, 4, { -152.330902f, 4.230781f, -92.351143f }, 0.991760f, 0.000048f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( IntoaCopperHell );

View file

@ -0,0 +1,70 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class IntotheDragonsMaw : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_1_ESTINIAN_01 = 4287051;
static constexpr auto INIT_POP_2_DRGON_HEART_01 = 4287059;
static constexpr auto INIT_POP_3_DRAGON_POWER_02 = 4287079;
static constexpr auto INIT_POP_3_DRAGON_POWER_03 = 4287082;
static constexpr auto INIT_POP_3_DRAGON_POWER_04 = 4287083;
static constexpr auto INIT_POP_3_DRAGON_POWER_05 = 4287085;
static constexpr auto INIT_POP_3_DRAGON_POWER_06 = 4287086;
static constexpr auto INIT_POP_3_DRAGON_POWER_07 = 4287087;
static constexpr auto INIT_ENPC_POP_ALBERIC = 4287046;
static constexpr auto LOG_EVENT_QIB_JOBDRG500_01 = 3207;
static constexpr auto LOG_EVENT_QIB_JOBDRG500_02 = 3220;
static constexpr auto LOG_EVENT_QIB_JOBDRG500_03 = 3213;
static constexpr auto LOG_EVENT_QIB_JOBDRG500_04 = 3221;
static constexpr auto STATUS_CUSTOM_DRAGON_EYE_POWER = 698;
static constexpr auto DEF_ACTION_DRAGON_BLESS = 1063;
static constexpr auto DEF_ACTION_DRAGON_DIVE = 1064;
static constexpr auto EOBJ_DAMAGE_RANGE_FIRE = 4313761;
static constexpr auto STATUS_CUSTOM_DAMAGE_RANGE_FIRE = 677;
static constexpr auto CUT_START_NCUT = 336;
static constexpr auto CUT_END_NCUT = 337;
static constexpr auto JOB_STORY_MES = 3636;
public:
IntotheDragonsMaw() : Sapphire::ScriptAPI::QuestBattleScript( 72 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgbg_w_qic_001_04a", 2006993, 6235274, 4, { -35.822102f, 298.899994f, -205.263199f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_0", 2006952, 0, 4, { -35.712589f, 298.899994f, -204.878006f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { 556.049377f, 348.102509f, -752.435730f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance", 2000182, 4600289, 5, { 523.532471f, 348.223389f, -736.685730f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_1", 2002332, 0, 4, { 533.090881f, 348.691895f, -742.750916f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2002333, 0, 4, { 539.940430f, 348.836395f, -734.401489f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2000608, 3967803, 4, { 202.369598f, 257.761108f, 80.435272f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2000608, 3976993, 4, { 273.634705f, 254.600204f, 106.048500f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_5", 2000608, 3986797, 4, { 205.504898f, 246.188995f, 194.875702f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_6", 2000608, 3986798, 4, { 326.313385f, 239.193497f, 221.138901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_7", 2000608, 2718481, 4, { 240.552307f, 302.769714f, -199.979996f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_8", 2000608, 4065433, 4, { 204.970001f, 302.119995f, -216.311600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_9", 2000608, 2814617, 4, { 205.869995f, 302.219086f, -276.681396f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_10", 2000608, 2763112, 4, { -433.000000f, 211.007706f, -216.148605f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_11", 2000608, 4187649, 4, { -453.000000f, 211.000000f, -281.046600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_12", 2000608, 4187961, 4, { -416.000000f, 210.788193f, -279.813812f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( IntotheDragonsMaw );

View file

@ -0,0 +1,107 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class IshgardianJustice : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_COMPANION_FRAY_01 = 5909968;
static constexpr auto BNPC_ENEMY_PHASE_1_GLA_01 = 5909971;
static constexpr auto BNPC_ENEMY_PHASE_1_LNC_01 = 5909972;
static constexpr auto BNPC_ENEMY_PHASE_1_LNC_02 = 5909973;
static constexpr auto WARP_PC_POINT_01 = 5909978;
static constexpr auto BNPC_COMPANION_FRAY_02 = 5909979;
static constexpr auto BNPC_ENEMY_PHASE_2_DARK_FIRE_01 = 5909981;
static constexpr auto BNPC_ENEMY_PHASE_2_DARK_FIRE_02 = 5909982;
static constexpr auto BNPC_ENEMY_PHASE_2_DARK_FIRE_03 = 5909983;
static constexpr auto ER_RECT_01 = 5909984;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_A_GLA_01 = 5909990;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_A_LNC_01 = 5909992;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_A_LNC_02 = 5909993;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_A_CNJ_01 = 5909994;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_A_DARK_FIRE_01 = 5910058;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_A_DARK_FIRE_02 = 5910059;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_A_DARK_FIRE_03 = 5910060;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_A_DARK_FIRE_04 = 5910061;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_B_GLA_01 = 5910062;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_B_LNC_01 = 5910063;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_B_LNC_02 = 5910064;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_B_CNJ_01 = 5910065;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_B_DARK_FIRE_01 = 5910066;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_B_DARK_FIRE_02 = 5910067;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_B_DARK_FIRE_03 = 5910068;
static constexpr auto BNPC_ENEMY_PHASE_3_PACK_B_DARK_FIRE_04 = 5910070;
static constexpr auto ER_RECT_02 = 5910073;
static constexpr auto BNPC_ENEMY_PHASE_4_LEADER_01 = 5910079;
static constexpr auto BNPC_ENEMY_PHASE_4_LNC_01 = 5910080;
static constexpr auto BNPC_ENEMY_PHASE_4_CNJ_01 = 5910081;
static constexpr auto ENPC_DAUGHTER_01 = 5910082;
static constexpr auto ENPC_DAUGHTER_02 = 5911134;
static constexpr auto EOBJ_DAUGHTER_HANDS_ON = 5910084;
static constexpr auto BNPC_ENEMY_PHASE_4_DARK_FIRE_01 = 5910085;
static constexpr auto BNPC_ENEMY_PHASE_4_DARK_FIRE_02 = 5910086;
static constexpr auto BNPC_ENEMY_PHASE_4_DARK_FIRE_03 = 5910087;
static constexpr auto BNPC_ENEMY_PHASE_4_DARK_FIRE_04 = 5910088;
static constexpr auto BNPC_ENEMY_PHASE_4_DARK_FIRE_05 = 5910089;
static constexpr auto BNPC_ENEMY_PHASE_4_DARK_FIRE_06 = 5910090;
static constexpr auto BNPC_ENEMY_PHASE_4_DARK_FIRE_07 = 5910091;
static constexpr auto BNPC_ENEMY_PHASE_4_DARK_FIRE_08 = 5910092;
static constexpr auto BNPC_ENEMY_PHASE_5_LNC_01 = 5910093;
static constexpr auto BNPC_ENEMY_PHASE_5_CNJ_01 = 5910094;
static constexpr auto BNPC_ENEMY_PHASE_5_DARK_FIRE_01 = 5910096;
static constexpr auto BNPC_ENEMY_PHASE_5_DARK_FIRE_02 = 5910097;
static constexpr auto BNPC_ENEMY_PHASE_5_DARK_FIRE_03 = 5910145;
static constexpr auto BNPC_ENEMY_PHASE_5_DARK_FIRE_04 = 5910146;
static constexpr auto BNPC_ENEMY_PHASE_5_DARK_FIRE_05 = 5910147;
static constexpr auto BNPC_ENEMY_PHASE_5_DARK_FIRE_06 = 5910148;
static constexpr auto BNPC_ENEMY_PHASE_5_DARK_FIRE_07 = 5910149;
static constexpr auto BNPC_ENEMY_PHASE_5_DARK_FIRE_08 = 5910150;
static constexpr auto BNPC_ENEMY_BIG_DARK_FIRE_01 = 5910172;
static constexpr auto EVENT_ACTION_01 = 34;
static constexpr auto LOGMESSAGE_DARK_HEART_30 = 3276;
static constexpr auto LOGMESSAGE_DARK_HEART_60 = 3277;
static constexpr auto LOGMESSAGE_DARK_HEART_100 = 3278;
static constexpr auto LOGMESSAGE_DARK_FIRE_POP = 3279;
static constexpr auto ACTION_DARK_FIRE = 4736;
static constexpr auto BNPC_TYPE_01_DARK_FIRE = 4643;
static constexpr auto BNPC_TOUMEI_FOLLOW_PLAYER = 5912186;
static constexpr auto BEHAVIOR_FRAY_01 = 30607;
static constexpr auto ER_RECT_03 = 5912223;
static constexpr auto QIB_YELL_01 = 2770;
static constexpr auto QIB_YELL_02 = 2771;
static constexpr auto QIB_YELL_03 = 2772;
static constexpr auto POP_RANGE_ENEMY_RETREAT = 5912400;
static constexpr auto ER_RECT_04 = 5912508;
static constexpr auto STATUS_PARAM_KNOCK_DOWN = 1414;
static constexpr auto LOC_ACTOR1 = 1014592;
static constexpr auto LOC_ACTOR2 = 1014985;
static constexpr auto LOC_ACTOR3 = 1014986;
static constexpr auto LOC_ACTOR4 = 1014987;
static constexpr auto LOC_ACTOR5 = 1014988;
static constexpr auto LOC_ACTOR6 = 1014989;
static constexpr auto LOC_POS = 5927429;
public:
IshgardianJustice() : Sapphire::ScriptAPI::QuestBattleScript( 145 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( IshgardianJustice );

View file

@ -1,40 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class ItsProbablyaTrap :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
ItsProbablyaTrap() :
Sapphire::ScriptAPI::InstanceContentScript( 5005 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "unknown_0", 2000608, 6538194, 4, { -27.571140f, -3.000000f, 46.619968f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2000608, 6538193, 4, { -28.307659f, 3.999977f, 61.762589f }, 1.000000f, 0.000000f );
instance.registerEObj( "ClanHuntboard", 2008655, 6422886, 4, { -31.520060f, 0.076252f, -43.853790f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_w_qic_004_03a", 2002872, 6799085, 4, { -79.087517f, -3.006042f, 41.336670f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_w_qic_004_03a_1", 2002872, 6799087, 4, { -61.668732f, -3.014119f, 84.855003f }, 0.991760f, -1.567030f );
instance.registerEObj( "unknown_2", 2007457, 6611234, 4, { 137.621094f, 14.816470f, 92.484863f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2007457, 6538193, 4, { -27.894131f, 3.999977f, 61.384491f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2007457, 6538194, 4, { -28.259020f, -3.000000f, 46.489510f }, 1.000000f, 0.000000f );
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( ItsProbablyaTrap );

View file

@ -0,0 +1,41 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class JustDeserts : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_01 = 4082418;
static constexpr auto BNPC_NAME_01 = 750;
static constexpr auto DEF_ACTION_SAND_BREATH = 445;
static constexpr auto LOC_ACTOR1 = 1003064;
static constexpr auto LOC_POS_ACTOR0 = 4126749;
static constexpr auto LOC_POS_ACTOR1 = 4126755;
static constexpr auto DEF_BLIND = 15;
static constexpr auto CUT_SCENE_01 = 203;
static constexpr auto LOC_TALKSHAPE1 = 8;
public:
JustDeserts() : Sapphire::ScriptAPI::QuestBattleScript( 29 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( JustDeserts );

View file

@ -0,0 +1,183 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class KeepingtheFlameAlive : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_COMPANION_ALPHINAUD = 5855176;
static constexpr auto BNPC_COMPANION_YUGIRI = 5855177;
static constexpr auto BNPC_COMPANION_RAUBAHN = 5855194;
static constexpr auto BNPC_ENEMY_ILBERD = 5856053;
static constexpr auto BNPC_ENEMY_YUYUHASE = 5856054;
static constexpr auto BNPC_ENEMY_LAURENTIUS = 5856055;
static constexpr auto BNPC_ENEMY_01_03 = 5855179;
static constexpr auto BNPC_ENEMY_01_04 = 5855184;
static constexpr auto BNPC_ENEMY_01_05 = 5855190;
static constexpr auto BNPC_ENEMY_01_06 = 5855192;
static constexpr auto BNPC_ENEMY_FANCE_01_08 = 5855628;
static constexpr auto BNPC_ENEMY_POISON_015_01 = 5855616;
static constexpr auto BNPC_ENEMY_015_02 = 5855710;
static constexpr auto BNPC_ENEMY_015_03 = 5855713;
static constexpr auto BNPC_ENEMY_015_04 = 5855716;
static constexpr auto BNPC_ENEMY_015_05 = 5855717;
static constexpr auto BNPC_ENEMY_015_06 = 5855719;
static constexpr auto BNPC_ENEMY_02_01 = 5855722;
static constexpr auto BNPC_ENEMY_02_02 = 5855723;
static constexpr auto BNPC_ENEMY_04_01 = 5856047;
static constexpr auto BNPC_ENEMY_04_02 = 5856048;
static constexpr auto BNPC_ENEMY_04_03 = 5856050;
static constexpr auto BNPC_ENEMY_05_01 = 5856051;
static constexpr auto BNPC_ENEMY_05_02 = 5856052;
static constexpr auto BNPC_ENEMY_YUYUHASE_ENSHUTSU = 5872397;
static constexpr auto CUT_SCENE_N_heavna20310 = 800;
static constexpr auto CUT_SCENE_N_heavna20320 = 801;
static constexpr auto CUT_SCENE_N_heavna20330 = 802;
static constexpr auto INIT_WARP_POINT_001 = 5856633;
static constexpr auto POP_RANGE_YUGIRI_MOVE_1 = 5868421;
static constexpr auto POP_RANGE_ALPHINAUD_MOVE_1 = 5868423;
static constexpr auto POP_RANGE_YUYUHASE_MOVE_1 = 5872399;
static constexpr auto RECT_RAUBAHN_FLOOR_OKU = 5856639;
static constexpr auto RECT_RAUBAHN_FLOOR_TEMAE = 5868403;
static constexpr auto EOBJ_KEY = 5863326;
static constexpr auto EOBJ_POISON_GAS = 5870807;
static constexpr auto YELL_QIB_ZAKO_01 = 2620;
static constexpr auto YELL_QIB_ZAKO_02 = 2621;
static constexpr auto YELL_QIB_ALPHINAUD_01 = 3059;
static constexpr auto YELL_QIB_YUGIRI_01 = 3060;
static constexpr auto STATUS_PARAM_POISON_GAS = 1413;
static constexpr auto STATUS_PARAM_POISON_GAS_RAUBAHN = 1401;
static constexpr auto WEATHER_POISON_GAS = 52;
static constexpr auto EOBJ_DOOR_A = 5927467;
static constexpr auto EOBJ_DOOR_B = 5872211;
static constexpr auto EOBJ_DOOR_C = 5927468;
static constexpr auto EOBJ_DOOR_D = 5927469;
static constexpr auto LOC_ACTOR_YU = 1011896;
static constexpr auto LOC_ACTOR_RA = 1012451;
static constexpr auto LOC_ACTOR_AL = 1008181;
static constexpr auto LOC_MARKER_PC = 5877895;
static constexpr auto LOC_MARKER_YU = 5878129;
static constexpr auto LOC_MARKER_AL = 5878132;
static constexpr auto LOC_MARKER_RA = 5878330;
static constexpr auto LOC_ACTOR_ZI = 1012452;
static constexpr auto EOBJ_KOUSOKU_BARRIER = 5875680;
static constexpr auto LOC_EOBJ_KOSOKU = 2005907;
static constexpr auto LOC_MARKER_YUYU = 5892038;
static constexpr auto LOC_MARKER_ILU = 5892039;
static constexpr auto LOC_ACTOR_YUYU = 1012447;
static constexpr auto LOC_ACTOR_ROR = 1012454;
static constexpr auto LOC_ACTOR_ILU = 1008191;
static constexpr auto LOC_MARKER_KAGI = 5900433;
static constexpr auto LOC_MARKER_YUYU_2 = 5905985;
static constexpr auto LOC_MARKER_ROL_2 = 5905987;
static constexpr auto SE_HIRAKU = 95;
static constexpr auto SE_TOZIRU = 96;
static constexpr auto SE_AKERU = 63;
static constexpr auto ACTION_TOHO_SUIYAKU = 3202;
static constexpr auto RECT_PHASE4_PACK_E = 5927556;
static constexpr auto EVENT_ACTION_01 = 21;
static constexpr auto LOG_MESSAGE_01 = 3292;
static constexpr auto EOBJ_RAUBAHN_RELEASED = 5927557;
static constexpr auto EVENT_ACTION_02 = 46;
static constexpr auto EOBJ_POISON_GAS_DEVICE = 5888360;
static constexpr auto BGM_LATE_BATTLE = 107;
static constexpr auto LOC_MARKER_KUSARI_RAU = 5935156;
static constexpr auto LOC_EOBJ_KASE = 2006368;
static constexpr auto LOC_MARKER_AL_2 = 5936095;
static constexpr auto LOC_MARKER_YUGI_2 = 5936096;
static constexpr auto EOBJ_BOSS_COVERED = 5936469;
static constexpr auto LOC_MARKER_SHIELD = 5941245;
static constexpr auto EOBJ_CHAIN = 5935143;
static constexpr auto BNPC_BATTLE_FIELD_EDGE_01 = 5961632;
static constexpr auto BNPC_BATTLE_FIELD_EDGE_02 = 5961633;
static constexpr auto BNPC_BATTLE_FIELD_EDGE_03 = 5961634;
static constexpr auto BNPC_BATTLE_FIELD_EDGE_04 = 5961635;
static constexpr auto BNPC_BATTLE_FIELD_EDGE_05 = 5961636;
static constexpr auto BNPC_BATTLE_FIELD_EDGE_06 = 5961637;
static constexpr auto BNPC_BATTLE_FIELD_EDGE_07 = 5961638;
static constexpr auto BNPC_BATTLE_FIELD_EDGE_08 = 5961639;
static constexpr auto BNPC_FOR_JUMP_01 = 5961655;
static constexpr auto BNPC_FOR_JUMP_02 = 5961656;
static constexpr auto BNPC_FOR_JUMP_03 = 5961657;
static constexpr auto BNPC_FOR_JUMP_04 = 5961658;
public:
KeepingtheFlameAlive() : Sapphire::ScriptAPI::QuestBattleScript( 106 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Thalsscepter", 2003646, 0, 4, { -270.088409f, 17.593571f, 31.956100f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_0", 2003695, 4617495, 4, { -280.035614f, 17.622829f, 22.302071f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2003696, 4563389, 4, { -286.231689f, 17.622749f, 20.657721f }, 1.000000f, 0.000000f );
instance.registerEObj( "Thalsscepter_1", 2003674, 0, 4, { -271.908386f, 17.593571f, 6.173567f }, 0.991760f, 0.000048f );
instance.registerEObj( "Thalsscepter_2", 2003675, 0, 4, { -244.251801f, 17.593571f, 30.251480f }, 0.991760f, 0.000048f );
instance.registerEObj( "Thalsscepter_3", 2003676, 0, 4, { -246.038696f, 17.593571f, 4.371015f }, 0.991760f, 0.000048f );
instance.registerEObj( "Mammetactivator", 2003641, 4616318, 4, { -84.695412f, -10.178000f, -91.555862f }, 0.991760f, 0.000048f );
instance.registerEObj( "Shadowyorb", 2003642, 0, 4, { 163.469803f, 6.240906f, 219.745102f }, 0.991760f, 0.000048f );
instance.registerEObj( "Shadowyorb_1", 2003643, 0, 4, { 154.283905f, 6.240900f, 239.520905f }, 0.991760f, 0.000048f );
instance.registerEObj( "Shadowyorb_2", 2003644, 0, 4, { 143.742905f, 6.240900f, 210.525208f }, 1.000000f, 0.000000f );
instance.registerEObj( "Shadowyorb_3", 2003645, 0, 4, { 134.607193f, 6.240900f, 230.328094f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2003569, 4603298, 4, { 148.951706f, 4.509544f, 224.628006f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2001610, 4569374, 4, { -278.262390f, 17.622650f, 19.181259f }, 0.991760f, 0.000048f );
// States -> vf_htras1_on (id: 2) vf_htras1_of (id: 3)
instance.registerEObj( "Shortcut", 2000700, 0, 4, { 139.879395f, -0.228372f, -31.551029f }, 0.991760f, 0.000048f );
instance.registerEObj( "Entrance", 2000182, 4569369, 5, { 149.187393f, -0.228943f, -35.111019f }, 0.991760f, 0.000048f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_3", 2002575, 0, 4, { 160.775299f, -1.641945f, -10.606120f }, 0.991760f, -1.265160f );
instance.registerEObj( "unknown_4", 2002735, 0, 4, { -50.385818f, -10.178000f, -114.820198f }, 0.991760f, -1.005012f );
instance.registerEObj( "sgvf_w_lvd_b0118", 2002872, 4569384, 4, { -48.920971f, -10.792460f, -116.285103f }, 0.991760f, -1.062825f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_5", 2002735, 0, 4, { 129.072403f, 4.509535f, 216.306305f }, 1.000000f, 1.129171f );
instance.registerEObj( "sgvf_w_lvd_b0118_1", 2002872, 4569379, 4, { 130.018494f, 4.509536f, 217.130295f }, 0.991760f, 0.000048f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_6", 2002735, 0, 4, { -233.786301f, 17.622999f, 16.764700f }, 1.000000f, -1.486617f );
instance.registerEObj( "sgvf_w_lvd_b0118_2", 2002872, 4569389, 4, { -233.389206f, 17.622990f, 16.739140f }, 0.991760f, 0.000048f );
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
instance.registerEObj( "unknown_7", 2003506, 4594991, 4, { 101.606300f, -4.171019f, -69.914146f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_8", 2003507, 4598981, 4, { -41.245178f, -10.879700f, -121.934898f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_9", 2003508, 4603945, 4, { -52.140079f, -10.696590f, -91.691528f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_10", 2003509, 4564172, 4, { 130.022095f, -0.534058f, 5.172791f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_11", 2003510, 4594992, 4, { 123.552200f, -2.731445f, 25.131590f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_12", 2003511, 4598084, 4, { 89.130997f, -3.711910f, 78.724213f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_13", 2003512, 4599477, 4, { 73.157578f, -3.335556f, 178.491302f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_14", 2003513, 4594999, 4, { 100.220802f, 0.477127f, 203.242798f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_15", 2003514, 4616527, 4, { 167.865707f, 4.509536f, 233.584396f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_16", 2003515, 4567234, 4, { -191.532196f, 4.456180f, 94.520203f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_17", 2003516, 4567237, 4, { -128.869400f, 12.073380f, 96.752960f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_18", 2003517, 4567232, 4, { -66.065460f, 14.565810f, 26.350080f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_19", 2003518, 4567230, 4, { -171.754501f, 12.467810f, 12.301850f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_20", 2003519, 4596306, 4, { -198.995102f, 11.315890f, 13.488570f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_21", 2003520, 4565306, 4, { 96.452271f, -3.738525f, 39.688599f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_22", 2003521, 4565309, 4, { 127.885902f, -3.738525f, 60.807129f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_23", 2003522, 4565307, 4, { 82.383423f, -3.646973f, 59.189701f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_24", 2003523, 4565308, 4, { 108.323700f, -3.738525f, 80.552368f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_25", 2003524, 4565302, 4, { -2.324507f, 0.927634f, 144.329300f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_26", 2003525, 4565303, 4, { 27.311819f, 0.927548f, 166.238098f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_27", 2003526, 4565305, 4, { 68.331223f, 0.927661f, 136.889404f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_28", 2003527, 4595900, 4, { 77.372299f, -10.608900f, -91.074203f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_29", 2003528, 4595901, 4, { 36.027271f, -9.635880f, -104.808601f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_30", 2003529, 4595903, 4, { 2.165477f, -11.282240f, -188.867599f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_31", 2003530, 4618276, 4, { -10.216280f, -11.049250f, -152.788300f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_32", 2003531, 4595904, 4, { -21.241859f, -11.023320f, -136.299393f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance_1", 2000182, 4970117, 5, { -243.015701f, 19.074579f, 10.923530f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "Exit_1", 2000139, 0, 4, { -272.688904f, 19.074579f, 18.222231f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( KeepingtheFlameAlive );

View file

@ -0,0 +1,86 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class KeepingtheOath : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_SOLKIZAGIL_01 = 4293473;
static constexpr auto INIT_P_POP_JENLINCE_01 = 4293474;
static constexpr auto INIT_POP_1_OGA_01 = 4293477;
static constexpr auto INIT_POP_1_ARLIMAN_01 = 4293479;
static constexpr auto INIT_POP_2_PGL_SAKATU_01 = 4293524;
static constexpr auto INIT_POP_2_PGL_SAKATU_02 = 4293525;
static constexpr auto INIT_POP_2_PGL_SAKATU_03 = 4293526;
static constexpr auto INIT_POP_3_PGL_SAKATU_01 = 4293534;
static constexpr auto INIT_POP_3_PGL_SAKATU_02 = 4293535;
static constexpr auto INIT_POP_3_PGL_SAKATU_03 = 4293536;
static constexpr auto INIT_POP_3_GLA_SAKATU_01 = 4293547;
static constexpr auto INIT_POP_3_GLA_SAKATU_02 = 4293548;
static constexpr auto INIT_POP_3_BOSS_SAKATU_01 = 4293553;
static constexpr auto POP_EOBJ_COMEET_POINT_01 = 4293747;
static constexpr auto POP_EOBJ_COMEET_OMEN_01 = 4293748;
static constexpr auto INIT_P_POP_SOLKIZAGIL_02 = 4293791;
static constexpr auto INIT_P_POP_JENLINCE_02 = 4293788;
static constexpr auto INIT_POP_4_PGL_SAKATU_01 = 4293994;
static constexpr auto INIT_POP_4_PGL_SAKATU_02 = 4293995;
static constexpr auto INIT_POP_4_PGL_SAKATU_03 = 4293996;
static constexpr auto INIT_POP_4_SUMMON_MAMONJIN_01 = 4293997;
static constexpr auto INIT_POP_4_DETHEGAIZE_01 = 4293999;
static constexpr auto EVENT_ACTION_01 = 6;
static constexpr auto INIT_P_POP_JENLINCE_03 = 4302195;
static constexpr auto INIT_P_POP_SOLKIZAGIL_03 = 4302196;
static constexpr auto WARP_01 = 4302204;
static constexpr auto CUT_START_NCUT = 332;
static constexpr auto CUT_END_NCUT = 333;
static constexpr auto BGM_LASTHALF = 91;
static constexpr auto BGM_SEARCH_PHASE = 141;
static constexpr auto INIT_P_POP_STAR_MAP_TARGET = 4323575;
static constexpr auto DEF_ACTION_STAR_MAP = 1116;
static constexpr auto POP_AVOID_STAR_MAP_MOVE = 4323599;
static constexpr auto POP_ENEMY_MOVE_01 = 4293554;
static constexpr auto POP_ENEMY_MOVE_02 = 4323984;
static constexpr auto PR_SOLKIZAGIL_MOVE = 4330647;
static constexpr auto JOB_STORY_MES = 3616;
public:
KeepingtheOath() : Sapphire::ScriptAPI::QuestBattleScript( 69 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgbg_w_qic_001_04a", 2006993, 6235274, 4, { -35.822102f, 298.899994f, -205.263199f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_0", 2006952, 0, 4, { -35.712589f, 298.899994f, -204.878006f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { 556.049377f, 348.102509f, -752.435730f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance", 2000182, 4600289, 5, { 523.532471f, 348.223389f, -736.685730f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_1", 2002332, 0, 4, { 533.090881f, 348.691895f, -742.750916f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2002333, 0, 4, { 539.940430f, 348.836395f, -734.401489f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2000608, 3967803, 4, { 202.369598f, 257.761108f, 80.435272f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2000608, 3976993, 4, { 273.634705f, 254.600204f, 106.048500f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_5", 2000608, 3986797, 4, { 205.504898f, 246.188995f, 194.875702f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_6", 2000608, 3986798, 4, { 326.313385f, 239.193497f, 221.138901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_7", 2000608, 2718481, 4, { 240.552307f, 302.769714f, -199.979996f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_8", 2000608, 4065433, 4, { 204.970001f, 302.119995f, -216.311600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_9", 2000608, 2814617, 4, { 205.869995f, 302.219086f, -276.681396f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_10", 2000608, 2763112, 4, { -433.000000f, 211.007706f, -216.148605f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_11", 2000608, 4187649, 4, { -453.000000f, 211.000000f, -281.046600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_12", 2000608, 4187961, 4, { -416.000000f, 210.788193f, -279.813812f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( KeepingtheOath );

View file

@ -0,0 +1,46 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class KeepingtheSpiritAlive : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_01 = 4074121;
static constexpr auto INIT_POP_02 = 4074122;
static constexpr auto INIT_POP_03 = 4074123;
static constexpr auto INIT_ENPC_POP_01 = 4074347;
static constexpr auto BGM_NOMAL = 101;
static constexpr auto BGM_LVUP = 23;
static constexpr auto NCUT_20010 = 165;
static constexpr auto WARP_PC_POINT = 4106159;
public:
KeepingtheSpiritAlive() : Sapphire::ScriptAPI::QuestBattleScript( 31 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2009578, 2091611, 4, { 31.545870f, 7.999978f, -121.025002f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2009578, 2091610, 4, { 4.407776f, 8.022990f, -105.310699f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2009578, 2091597, 4, { -184.324402f, 18.000000f, 65.271606f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_3", 2009578, 2091596, 4, { -146.806107f, 14.005000f, 63.857010f }, 1.000000f, 0.000000f );
instance.registerEObj( "Companychest", 2000470, 4255821, 4, { -149.301498f, 4.552717f, -91.365868f }, 0.991760f, -0.619932f );
instance.registerEObj( "Huntboard", 2004440, 2217635, 4, { -152.330902f, 4.230781f, -92.351143f }, 0.991760f, 0.000048f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( KeepingtheSpiritAlive );

View file

@ -0,0 +1,74 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class KindredSpirits : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_RIELLE = 5892157;
static constexpr auto BNPC_P1_GOAL_01 = 5892158;
static constexpr auto BNPC_P1_GOAL_02 = 5892159;
static constexpr auto BNPC_P1_GOAL_03 = 5892161;
static constexpr auto BNPC_P1_GOAL_04 = 5892162;
static constexpr auto BNPC_P1_GOAL_05 = 5892163;
static constexpr auto BNPC_P1_GLA_01 = 5892164;
static constexpr auto BNPC_P1_GLA_02 = 5892174;
static constexpr auto BNPC_P1_LNC_01 = 5892165;
static constexpr auto BNPC_P1_LNC_02 = 5892168;
static constexpr auto BNPC_P1_LNC_03 = 5892169;
static constexpr auto BNPC_P1_LNC_04 = 5892175;
static constexpr auto BNPC_P1_LNC_05 = 5892176;
static constexpr auto BNPC_P1_LNC_06 = 5892178;
static constexpr auto BNPC_P1_ARC_01 = 5892170;
static constexpr auto BNPC_P1_ARC_02 = 5892177;
static constexpr auto BNPC_P1_ARC_03 = 5892180;
static constexpr auto BNPC_P1_BOSS = 5892181;
static constexpr auto ACTION_GOAL_TRIGER = 3269;
static constexpr auto BNPCBASE_IGNORE_01 = 132;
static constexpr auto BNPCBASE_IGNORE_02 = 395;
static constexpr auto BNPCBASE_IGNORE_03 = 720;
static constexpr auto MOUNT_BOSS = 45;
static constexpr auto MOUNT_MOB = 10;
static constexpr auto BGM_BATTLE_BEGIN = 39;
public:
KindredSpirits() : Sapphire::ScriptAPI::QuestBattleScript( 138 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "sgbg_w_qic_001_04a", 2006993, 6235274, 4, { -35.822102f, 298.899994f, -205.263199f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_0", 2006952, 0, 4, { -35.712589f, 298.899994f, -204.878006f }, 1.000000f, 0.000000f );
instance.registerEObj( "Exit", 2000139, 0, 4, { 556.049377f, 348.102509f, -752.435730f }, 1.000000f, 0.000000f );
instance.registerEObj( "Entrance", 2000182, 4600289, 5, { 523.532471f, 348.223389f, -736.685730f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "unknown_1", 2002332, 0, 4, { 533.090881f, 348.691895f, -742.750916f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2002333, 0, 4, { 539.940430f, 348.836395f, -734.401489f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2000608, 3967803, 4, { 202.369598f, 257.761108f, 80.435272f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2000608, 3976993, 4, { 273.634705f, 254.600204f, 106.048500f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_5", 2000608, 3986797, 4, { 205.504898f, 246.188995f, 194.875702f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_6", 2000608, 3986798, 4, { 326.313385f, 239.193497f, 221.138901f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_7", 2000608, 2718481, 4, { 240.552307f, 302.769714f, -199.979996f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_8", 2000608, 4065433, 4, { 204.970001f, 302.119995f, -216.311600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_9", 2000608, 2814617, 4, { 205.869995f, 302.219086f, -276.681396f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_10", 2000608, 2763112, 4, { -433.000000f, 211.007706f, -216.148605f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_11", 2000608, 4187649, 4, { -453.000000f, 211.000000f, -281.046600f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_12", 2000608, 4187961, 4, { -416.000000f, 210.788193f, -279.813812f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( KindredSpirits );

View file

@ -0,0 +1,46 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class LanceofDestiny : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_P_POP_01 = 4248895;
static constexpr auto INIT_POP_BOSS = 4248927;
static constexpr auto INIT_POP_A_01 = 4248928;
static constexpr auto INIT_POP_A_02 = 4248929;
static constexpr auto INIT_POP_A_03 = 4248938;
static constexpr auto INIT_POP_A_04 = 4248939;
static constexpr auto INIT_POP_B_01 = 4248948;
static constexpr auto INIT_POP_C_01 = 4248944;
static constexpr auto INIT_POP_C_02 = 4248945;
static constexpr auto LOG_MSG_EVENT_QIB_LNC004_BTL_01 = 3201;
static constexpr auto LOG_MSG_EVENT_QIB_LNC004_BTL_02 = 3202;
static constexpr auto DEF_ACTION_BOA_WS_CRITICAL = 335;
static constexpr auto CUT_SCENE_01 = 21;
static constexpr auto CUT_SCENE_02 = 319;
public:
LanceofDestiny() : Sapphire::ScriptAPI::QuestBattleScript( 55 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( LanceofDestiny );

View file

@ -0,0 +1,46 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class LeiasLegacy : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_01 = 2319770;
static constexpr auto INIT_POP_02 = 2319771;
static constexpr auto INIT_POP_03 = 2319772;
static constexpr auto INIT_POP_04 = 2319773;
static constexpr auto INIT_EO_POP_01 = 3867263;
static constexpr auto LOC_ACTOR0 = 1003008;
static constexpr auto LOC_ACTOR1 = 1000816;
static constexpr auto LOC_ACTOR2 = 1003016;
static constexpr auto LOC_ACTOR3 = 1003017;
static constexpr auto LOC_ACTOR4 = 1003018;
static constexpr auto INIT_P_POP_KUPURU_KOPO = 4097283;
static constexpr auto DEF_ACTION_WS_CRITICAL_LANCER = 477;
static constexpr auto INIT_EN_POP_01 = 4107577;
public:
LeiasLegacy() : Sapphire::ScriptAPI::QuestBattleScript( 14 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2005192, 5760474, 4, { -51.493111f, 0.309087f, 71.436897f }, 1.000000f, -0.000006f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( LeiasLegacy );

View file

@ -0,0 +1,62 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class LikeMotherLikeDaughter : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_PRIN_1_01 = 4249083;
static constexpr auto INIT_POP_PRIN_1_02 = 4249087;
static constexpr auto INIT_POP_PRIN_1_03 = 4249088;
static constexpr auto INIT_POP_YODOMI = 4250414;
static constexpr auto INIT_P_POP_WULFIUE = 4249072;
static constexpr auto INIT_P_POP_NOLANEL = 4249073;
static constexpr auto INIT_P_POP_JOACIN = 4249074;
static constexpr auto INIT_POP_TREE_2_01 = 4249097;
static constexpr auto INIT_POP_TREE_2_02 = 4249098;
static constexpr auto INIT_POP_YAMANE_2_01 = 4249106;
static constexpr auto INIT_POP_YAMANE_2_02 = 4249107;
static constexpr auto INIT_POP_EARTH_SPRIT = 4249109;
static constexpr auto INIT_POP_TREE_3_01 = 4250514;
static constexpr auto INIT_POP_TREE_3_02 = 4250515;
static constexpr auto INIT_P_POP_ELEMENTAL_THUNDER = 4249116;
static constexpr auto INIT_P_POP_ELEMENTAL_WIND = 4249117;
static constexpr auto INIT_P_POP_ELEMENTAL_WATER = 4249119;
static constexpr auto INIT_P_POP_PRIN_BOSS = 4249132;
static constexpr auto INIT_ENPC_POP_01 = 4249177;
static constexpr auto INIT_ENPC_POP_02 = 4249178;
static constexpr auto INIT_ENPC_POP_03 = 4249179;
static constexpr auto INIT_ENPC_POP_04 = 4249180;
static constexpr auto DEF_WEATHER_BOLT = 10;
static constexpr auto DEF_WEATHER_FINE = 1;
static constexpr auto YELL_QIB_WULFIUE_01 = 996;
static constexpr auto YELL_QIB_NOLANEL_01 = 997;
static constexpr auto YELL_QIB_JOACIN_01 = 998;
public:
LikeMotherLikeDaughter() : Sapphire::ScriptAPI::QuestBattleScript( 56 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "Entrance", 2000182, 5021407, 5, { 623.000000f, 23.872311f, 94.505638f }, 1.000000f, 0.000000f );
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
instance.registerEObj( "Exit", 2000139, 0, 4, { 623.000000f, 23.656260f, 61.956181f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( LikeMotherLikeDaughter );

View file

@ -0,0 +1,62 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class LordoftheInferno : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_BOSS = 4098741;
static constexpr auto INIT_P_POP_A = 4098743;
static constexpr auto INIT_P_POP_B = 4098744;
static constexpr auto INIT_P_POP_C = 4098745;
static constexpr auto INIT_P_POP_SER = 4098749;
static constexpr auto INIT_POP_1ST_01 = 4098775;
static constexpr auto INIT_POP_1ST_02 = 4098776;
static constexpr auto INIT_POP_1ST_03 = 4098777;
static constexpr auto INIT_POP_1ST_04 = 4098783;
static constexpr auto INIT_POP_1ST_05 = 4098784;
static constexpr auto INIT_POP_1ST_06 = 4098791;
static constexpr auto INIT_POP_1ST_07 = 4098792;
static constexpr auto INIT_POP_2ND_01 = 4098806;
static constexpr auto INIT_POP_2ND_02 = 4098810;
static constexpr auto INIT_POP_2ND_03 = 4098819;
static constexpr auto INIT_POP_2ND_04 = 4098821;
static constexpr auto INIT_POP_2ND_05 = 4098823;
static constexpr auto INIT_POP_3RD_01 = 4098839;
static constexpr auto INIT_POP_3RD_02 = 4098840;
static constexpr auto INIT_POP_3RD_03 = 4098842;
static constexpr auto INIT_POP_1ST_08 = 4098866;
static constexpr auto INIT_POP_1ST_09 = 4098871;
static constexpr auto INIT_POP_3RD_04 = 4098886;
static constexpr auto INIT_POP_3RD_05 = 4098887;
static constexpr auto INIT_POP_3RD_06 = 4098888;
static constexpr auto INIT_POP_3RD_07 = 4098889;
static constexpr auto INIT_ENPC_POP_01 = 4100860;
static constexpr auto CUT_SCENE_01 = 84;
static constexpr auto CUT_SCENE_02 = 85;
static constexpr auto UNLOCK_IMAGE_DUNGEON = 77;
public:
LordoftheInferno() : Sapphire::ScriptAPI::QuestBattleScript( 45 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( LordoftheInferno );

View file

@ -0,0 +1,42 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class LurkersintheGrotto : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_POP_BOSS = 4083604;
static constexpr auto INIT_POP_01_01 = 4083606;
static constexpr auto INIT_POP_01_02 = 4083607;
static constexpr auto INIT_POP_02_01 = 4083608;
static constexpr auto INIT_POP_02_02 = 4083609;
static constexpr auto INIT_POP_02_03 = 4083610;
static constexpr auto INIT_POP_02_04 = 4083611;
static constexpr auto INIT_P_POP_01 = 4083622;
static constexpr auto CUT_SCENE_01 = 133;
static constexpr auto HOW_TO_QIB = 79;
public:
LurkersintheGrotto() : Sapphire::ScriptAPI::QuestBattleScript( 35 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( LurkersintheGrotto );

View file

@ -0,0 +1,91 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class MasterMusosai : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_MUSOSAI = 6783224;
static constexpr auto LOC_ACTOR0 = 1020968;
static constexpr auto LOC_ACTOR1 = 1020969;
static constexpr auto LOC_ACTOR2 = 1020970;
static constexpr auto LOC_ACTOR3 = 1022927;
static constexpr auto LOC_ACTOR4 = 1022928;
static constexpr auto LOC_MARKER_00 = 6942129;
static constexpr auto LOC_MARKER_01 = 6942136;
static constexpr auto LOC_SE0 = 142;
static constexpr auto LOC_SE1 = 153;
static constexpr auto LOC_BGM0 = 39;
static constexpr auto BNPC_ENEMY_BEROALD = 6984416;
static constexpr auto BNPC_ENEMY_AXE_01 = 6984417;
static constexpr auto BNPC_ENEMY_AXE_02 = 6984418;
static constexpr auto BNPC_ENEMY_BOW_01 = 6984419;
static constexpr auto BNPC_ENEMY_BOW_02 = 6984442;
static constexpr auto BNPC_ENEMY_BOW_03 = 6984443;
static constexpr auto BNPC_ENEMY_BOW_04 = 6984457;
static constexpr auto ENPC_SHOWMAN = 6942131;
static constexpr auto BNPC_MUSOSAI_02 = 6997754;
static constexpr auto BNPC_TOUMEI_SCAPEGOAT = 6997977;
static constexpr auto BNPC_TOUMEI_BEROALD = 6984494;
static constexpr auto PR_MOVE_BOW_POS_01 = 6984642;
static constexpr auto PR_MOVE_BOW_POS_02 = 6984730;
static constexpr auto PR_MOVE_BOW_POS_03 = 6984774;
static constexpr auto PR_MOVE_BOW_POS_04 = 6984776;
static constexpr auto PR_MOVE_BEROALD_POS = 6996457;
static constexpr auto PR_PLAYER_SEC_POS = 6997801;
static constexpr auto ACT_IAIDO_SINGLE = 7487;
static constexpr auto ACT_IAIDO_MULTI = 7488;
static constexpr auto ACT_IAIDO_DOT = 7489;
static constexpr auto ACT_MUSOUSAI_KATSU = 9505;
static constexpr auto ACT_FASTBLADE = 9503;
static constexpr auto ACT_SAMURAI_W1 = 7477;
static constexpr auto ACT_SAMURAI_W21 = 7478;
static constexpr auto ACT_SAMURAI_W22 = 7479;
static constexpr auto ACT_SAMURAI_W23 = 7480;
static constexpr auto ACT_SAMURAI_W31 = 7481;
static constexpr auto ACT_SAMURAI_W32 = 7482;
static constexpr auto BNPCSTATE_ARM_CROSS = 169;
static constexpr auto BNPCSTATE_ACTIVE = 1;
static constexpr auto BEHAVIOR_BEROALD_BASE_01 = 31047;
static constexpr auto BEHAVIOR_BEROALD_BASE_02 = 31048;
static constexpr auto BEHAVIOR_BEROALD_BASE_03 = 31049;
static constexpr auto BEHAVIOR_AXE01_BASE = 30066;
static constexpr auto BEHAVIOR_AXE02_BASE = 30078;
static constexpr auto STA_IAIDO_DOT = 2831;
static constexpr auto YELL_MUSOUSAI_01 = 6324;
static constexpr auto YELL_MUSOUSAI_02 = 6325;
static constexpr auto YELL_MUSOUSAI_03 = 6326;
static constexpr auto YELL_MUSOUSAI_04 = 6327;
static constexpr auto YELL_MUSOUSAI_05 = 6328;
static constexpr auto YELL_BEROALD_07 = 6335;
static constexpr auto YELL_BEROALD_08 = 6336;
static constexpr auto YELL_BEROALD_09 = 6337;
static constexpr auto SE_APPLAUSE = 142;
static constexpr auto LOC_BGM1 = 209;
public:
MasterMusosai() : Sapphire::ScriptAPI::QuestBattleScript( 157 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2004364, 0, 4, { -93.101089f, -13.129550f, 6.845694f }, 1.000000f, 0.000000f );
instance.registerEObj( "Companychest", 2000470, 4255822, 4, { 128.974701f, 5.067919f, -40.913502f }, 1.000000f, -0.343160f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( MasterMusosai );

View file

@ -0,0 +1,65 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class MasterandStudent : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_GEKKAI = 5032404;
static constexpr auto BNPC_GEKKAI_BUNSHIN_01 = 5112962;
static constexpr auto BNPC_GEKKAI_BUNSHIN_02 = 5112979;
static constexpr auto BNPC_GEKKAI_BUNSHIN_03 = 5112980;
static constexpr auto BNPC_ZAKO_01 = 5112969;
static constexpr auto BNPC_ZAKO_02 = 5112977;
static constexpr auto BNPC_OBORO = 5112967;
static constexpr auto BNPC_TSUBAME = 5112968;
static constexpr auto BNPC_TOUMEI_RAITON_FOR_PLAYER_01 = 5112965;
static constexpr auto BNPC_TOUMEI_RAITON_FOR_PLAYER_02 = 5114065;
static constexpr auto BNPC_TOUMEI_RAITON_FOR_PLAYER_03 = 5114066;
static constexpr auto BNPC_TOUMEI_RAITON_FOR_FIXED_POINT = 5112964;
static constexpr auto BNPC_RAITON_TARGET_01 = 5113180;
static constexpr auto BNPC_RAITON_TARGET_02 = 5113181;
static constexpr auto BNPC_RAITON_TARGET_03 = 5113182;
static constexpr auto BNPC_RAITON_TARGET_04 = 5113183;
static constexpr auto BNPC_RAITON_TARGET_05 = 5113184;
static constexpr auto BNPC_RAITON_TARGET_06 = 5113185;
static constexpr auto BNPC_RAITON_TARGET_07 = 5113186;
static constexpr auto BNPC_RAITON_TARGET_08 = 5118217;
static constexpr auto BNPC_RAITON_TARGET_09 = 5118218;
static constexpr auto BNPC_RAITON_TARGET_10 = 5118221;
static constexpr auto DEF_ACTION_RAITON_GT = 3203;
static constexpr auto DEF_ACTION_BUNSHIN = 3206;
static constexpr auto STATUS_FIRE_DOT = 267;
static constexpr auto DEF_ACTION_KATON_GT = 3205;
static constexpr auto QIB_YELL_01 = 2347;
static constexpr auto QIB_YELL_02 = 2348;
static constexpr auto QIB_YELL_03 = 2349;
static constexpr auto QIB_YELL_04 = 2350;
static constexpr auto CUT_SCENE_00 = 692;
static constexpr auto CUT_SCENE_01 = 693;
static constexpr auto BNPC_SHUKUCHI_TARGET = 5420138;
public:
MasterandStudent() : Sapphire::ScriptAPI::QuestBattleScript( 100 )
{ }
void onInit( QuestBattle& instance ) override
{
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( MasterandStudent );

View file

@ -0,0 +1,112 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class MasterofMarksmanship : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto BNPC_ROSTNSTHAL_01 = 5895579;
static constexpr auto BNPC_JOYE_01 = 5895580;
static constexpr auto BNPC_ROSTNSTHAL_02 = 5895760;
static constexpr auto BNPC_01_CONDOR_01 = 5895588;
static constexpr auto BNPC_01_CONDOR_02 = 5895590;
static constexpr auto BNPC_01_CONDOR_03 = 5895592;
static constexpr auto BNPC_01_CONDOR_04 = 5895593;
static constexpr auto BNPC_01_CONDOR_05 = 5895594;
static constexpr auto BNPC_01_CONDOR_06 = 5895595;
static constexpr auto BNPC_01_CONDOR_07 = 5895596;
static constexpr auto BNPC_01_CONDOR_08 = 5895598;
static constexpr auto BNPC_01_COEURL_01 = 5895601;
static constexpr auto BNPC_01_COEURL_02 = 5895602;
static constexpr auto BNPC_01_COEURL_03 = 5895603;
static constexpr auto BNPC_01_COEURL_04 = 5895604;
static constexpr auto BNPC_01_COEURL_05 = 5895634;
static constexpr auto BNPC_01_COEURL_06 = 5895635;
static constexpr auto BNPC_01_COEURL_07 = 5895636;
static constexpr auto BNPC_01_RINGTAIL_01 = 5895606;
static constexpr auto BNPC_01_RINGTAIL_02 = 5895607;
static constexpr auto BNPC_01_RINGTAIL_03 = 5895608;
static constexpr auto BNPC_01_RINGTAIL_04 = 5895609;
static constexpr auto BNPC_01_RINGTAIL_05 = 5895610;
static constexpr auto BNPC_01_RINGTAIL_06 = 5895612;
static constexpr auto BNPC_01_RINGTAIL_07 = 5895613;
static constexpr auto BNPC_01_RINGTAIL_08 = 5895614;
static constexpr auto BNPC_01_SPRITE_01 = 5895615;
static constexpr auto BNPC_01_SPRITE_02 = 5895616;
static constexpr auto BNPC_01_SPRITE_03 = 5895618;
static constexpr auto BNPC_01_SPRITE_04 = 5895619;
static constexpr auto BNPC_01_SPRITE_05 = 5895620;
static constexpr auto BNPC_01_SPRITE_06 = 5895623;
static constexpr auto BNPC_01_SPRITE_07 = 5895624;
static constexpr auto BNPC_01_SPRITE_08 = 5895625;
static constexpr auto BNPC_01_GOLEM_01 = 5895626;
static constexpr auto BNPC_01_GOLEM_02 = 5895627;
static constexpr auto BNPC_01_GOLEM_03 = 5895628;
static constexpr auto BNPC_01_GOLEM_04 = 5895629;
static constexpr auto BNPC_01_GOLEM_05 = 5895630;
static constexpr auto BNPC_01_GOLEM_06 = 5895631;
static constexpr auto BNPC_01_GOLEM_07 = 5895632;
static constexpr auto BNPC_02_BOMB_01 = 5895642;
static constexpr auto BNPC_02_BOMB_02 = 5895646;
static constexpr auto BNPC_02_BOMB_03 = 5895648;
static constexpr auto BNPC_03_WEASEL_01 = 5895752;
static constexpr auto BNPC_03_WEASEL_02 = 5895755;
static constexpr auto BNPC_03_TIGER_01 = 5895753;
static constexpr auto BNPC_03_TIGER_02 = 5895756;
static constexpr auto MOVING_POINT_01 = 5895586;
static constexpr auto MOVING_POINT_02 = 5895757;
static constexpr auto ER_RECT_01 = 5895759;
static constexpr auto WARP_PC_POINT_01 = 5895762;
static constexpr auto MOVING_POINT_JOYE_01 = 5908268;
static constexpr auto BNPC_TYPE_01_GOLEM = 4287;
static constexpr auto BNPC_TYPE_02_BOMB = 4291;
static constexpr auto BNPC_TYPE_03_WEASEL = 4294;
static constexpr auto BNPC_TYPE_03_TIGER = 4295;
static constexpr auto ENPC_STEPHANIVIEN_01 = 5899500;
static constexpr auto ENPC_JOYE_01 = 5899501;
static constexpr auto BEHAVIOR_ROSTNSTHAL_01 = 30601;
static constexpr auto BEHAVIOR_JOYE_01 = 30602;
static constexpr auto BEHAVIOR_JOYE_02 = 30603;
static constexpr auto BEHAVIOR_JOYE_03 = 30604;
static constexpr auto BEHAVIOR_JOYE_04 = 30605;
static constexpr auto QIB_YELL_01 = 2723;
static constexpr auto QIB_YELL_02 = 2724;
static constexpr auto QIB_YELL_03 = 2725;
static constexpr auto QIB_YELL_04 = 2726;
static constexpr auto ACTION_SCRIPT_TRIGGER = 3269;
static constexpr auto ACTION_HEART_SHOT = 2875;
static constexpr auto BGM_BOSS_BATTLE = 39;
static constexpr auto LOC_MARKER_01 = 5923224;
static constexpr auto LOC_ACTOR0 = 1014580;
static constexpr auto LOC_ACTOR1 = 1015124;
static constexpr auto LOC_ACTOR2 = 1014579;
public:
MasterofMarksmanship() : Sapphire::ScriptAPI::QuestBattleScript( 127 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2000200, 2489513, 4, { 111.832100f, 24.171450f, -613.209473f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_1", 2000201, 2489537, 4, { 47.863529f, 24.380640f, -739.987976f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_2", 2000202, 2489511, 4, { 127.017097f, 24.144819f, -719.131226f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2000203, 2489539, 4, { 176.514206f, 24.118999f, -640.707825f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_4", 2000204, 0, 4, { 223.131302f, 22.248779f, -596.149780f }, 0.991760f, 0.000048f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( MasterofMarksmanship );

View file

@ -1,40 +0,0 @@
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
using namespace Sapphire;
class MatsubaMayhem :
public Sapphire::ScriptAPI::InstanceContentScript
{
public:
MatsubaMayhem() :
Sapphire::ScriptAPI::InstanceContentScript( 5011 )
{ }
void onInit( InstanceContent& instance ) override
{
instance.registerEObj( "unknown_0", 2000608, 6538194, 4, { -27.571140f, -3.000000f, 46.619968f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2000608, 6538193, 4, { -28.307659f, 3.999977f, 61.762589f }, 1.000000f, 0.000000f );
instance.registerEObj( "ClanHuntboard", 2008655, 6422886, 4, { -31.520060f, 0.076252f, -43.853790f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_w_qic_004_03a", 2002872, 6799085, 4, { -79.087517f, -3.006042f, 41.336670f }, 0.991760f, 0.000048f );
instance.registerEObj( "sgbg_w_qic_004_03a_1", 2002872, 6799087, 4, { -61.668732f, -3.014119f, 84.855003f }, 0.991760f, -1.567030f );
instance.registerEObj( "unknown_2", 2007457, 6611234, 4, { 137.621094f, 14.816470f, 92.484863f }, 0.991760f, 0.000048f );
instance.registerEObj( "unknown_3", 2007457, 6538193, 4, { -27.894131f, 3.999977f, 61.384491f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_4", 2007457, 6538194, 4, { -28.259020f, -3.000000f, 46.489510f }, 1.000000f, 0.000000f );
}
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( MatsubaMayhem );

View file

@ -0,0 +1,55 @@
#include <ScriptObject.h>
#include <Territory/QuestBattle.h>
using namespace Sapphire;
class MyFirstMudra : public Sapphire::ScriptAPI::QuestBattleScript
{
private:
static constexpr auto INIT_ENPC_01 = 5032993;
static constexpr auto INIT_ENPC_02 = 5032994;
static constexpr auto INIT_POP_OBORO_01 = 5032995;
static constexpr auto INIT_POP_ONIBI_1_01 = 5032996;
static constexpr auto INIT_POP_ONIBI_1_02 = 5032997;
static constexpr auto INIT_POP_ONIBI_1_03 = 5032998;
static constexpr auto INIT_POP_ONIBI_1_04 = 5032999;
static constexpr auto INIT_POP_ONIBI_1_05 = 5033000;
static constexpr auto INIT_POP_ONIBI_1_06 = 5033001;
static constexpr auto INIT_POP_TOAD_01 = 5033011;
static constexpr auto INIT_POP_ONIBI_2_01 = 5033002;
static constexpr auto INIT_POP_ONIBI_2_02 = 5033003;
static constexpr auto INIT_POP_ONIBI_2_03 = 5033004;
static constexpr auto INIT_POP_ONIBI_2_04 = 5033005;
static constexpr auto INIT_POP_ONIBI_2_05 = 5033006;
static constexpr auto INIT_POP_ONIBI_2_06 = 5033007;
static constexpr auto INIT_POP_ONIBI_3_01 = 5033008;
static constexpr auto INIT_POP_ONIBI_3_02 = 5033009;
static constexpr auto INIT_POP_ONIBI_3_03 = 5033010;
static constexpr auto PC_ACTION_FUUMA = 2265;
static constexpr auto QIB_YELL_01 = 2346;
public:
MyFirstMudra() : Sapphire::ScriptAPI::QuestBattleScript( 96 )
{ }
void onInit( QuestBattle& instance ) override
{
instance.registerEObj( "unknown_0", 2009569, 0, 4, { 763.213318f, 9.000000f, 358.016998f }, 1.000000f, 0.000000f );
instance.registerEObj( "unknown_1", 2009570, 0, 4, { 748.506775f, 9.000000f, 520.002930f }, 1.000000f, 0.000000f );
}
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
{
}
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
};
EXPOSE_SCRIPT( MyFirstMudra );

Some files were not shown because too many files have changed in this diff Show more