mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
117 lines
No EOL
7.5 KiB
C++
117 lines
No EOL
7.5 KiB
C++
#include <ScriptObject.h>
|
|
#include <Territory/QuestBattle.h>
|
|
|
|
using namespace Sapphire;
|
|
|
|
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:
|
|
AnArtfortheLiving() : Sapphire::ScriptAPI::QuestBattleScript( 171 )
|
|
{ }
|
|
|
|
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 );
|
|
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
|
|
instance.registerEObj( "unknown_1", 2005310, 5698551, 4, { -81.047653f, 394.430786f, -296.243713f }, 0.991760f, 0.000048f );
|
|
instance.registerEObj( "unknown_2", 2006038, 5891863, 4, { -103.765701f, 394.988708f, -312.957214f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_3", 2006039, 5891860, 4, { -102.201103f, 394.988708f, -278.118988f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_4", 2002735, 0, 4, { 228.611694f, 225.066895f, 272.124695f }, 1.400000f, -1.570451f );
|
|
instance.registerEObj( "sgpl_w_lvd_b0118_col_char_1", 2002872, 5786711, 4, { 220.192200f, 224.639603f, 271.691895f }, 1.000000f, 0.000000f );
|
|
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
|
|
instance.registerEObj( "sgpl_w_lvd_b0118_col_char_2", 2002872, 5786715, 4, { 265.170685f, 225.066895f, 271.760712f }, 1.000000f, 0.000000f );
|
|
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
|
|
instance.registerEObj( "unknown_5", 2002735, 0, 4, { 230.175598f, -96.457947f, -160.689804f }, 1.400000f, 0.000000f );
|
|
instance.registerEObj( "sgpl_w_lvd_b0118_col_char_3", 2002872, 5786724, 4, { 231.302200f, -96.512398f, -143.853394f }, 1.000000f, 0.000000f );
|
|
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
|
|
instance.registerEObj( "unknown_6", 2006040, 5855034, 4, { 230.235901f, -96.457947f, -181.102600f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "Exit", 2000139, 0, 4, { 230.936203f, -456.457886f, 65.952606f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_7", 2002735, 0, 4, { 229.505203f, -456.329193f, 99.828033f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "sgpl_w_lvd_b0118_col_char_4", 2002872, 5859273, 4, { 229.632996f, -456.457886f, 93.179420f }, 1.000000f, 0.000000f );
|
|
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
|
|
instance.registerEObj( "unknown_8", 2007177, 6268147, 4, { 230.075500f, -456.357605f, 58.431438f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_9", 2007178, 6275911, 4, { 230.467407f, -456.457886f, 79.306190f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_10", 2007168, 0, 4, { 248.035400f, 225.116302f, 271.869995f }, 0.991760f, 0.000048f );
|
|
instance.registerEObj( "unknown_11", 2005295, 5698524, 4, { -232.841797f, 402.044098f, -353.718689f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_12", 2005296, 5698521, 4, { -177.212006f, 398.044098f, -361.393311f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_13", 2005297, 5698523, 4, { -162.152802f, 398.044098f, -369.069885f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_14", 2005298, 5698522, 4, { -176.852295f, 398.044098f, -382.745087f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_15", 2005299, 5886628, 4, { -168.304993f, 394.044098f, -296.534088f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_16", 2005300, 5686456, 4, { 28.763180f, 209.979401f, 211.474701f }, 0.991760f, 0.000048f );
|
|
instance.registerEObj( "unknown_17", 2005301, 5686457, 4, { 100.159401f, 220.000000f, 272.267090f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_18", 2005293, 5889119, 4, { 28.122299f, 209.979401f, 220.050293f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "unknown_19", 2005294, 5889137, 4, { 111.924896f, 219.958694f, 271.931000f }, 1.000000f, 0.000000f );
|
|
instance.registerEObj( "Liftterminal", 2005308, 0, 4, { 203.525803f, -28.163019f, 195.849503f }, 0.991760f, -1.570451f );
|
|
instance.registerEObj( "Liftterminal_1", 2005309, 0, 4, { 229.755005f, -59.269020f, 94.956909f }, 0.991760f, -1.570451f );
|
|
instance.registerEObj( "unknown_20", 2005306, 5815811, 4, { -359.609406f, -299.984009f, -249.805496f }, 0.991760f, 0.000048f );
|
|
instance.registerEObj( "Liftterminal_2", 2005307, 0, 4, { -351.717102f, -299.983887f, -250.003098f }, 0.991760f, -1.570451f );
|
|
instance.registerEObj( "Shortcut", 2000700, 0, 4, { -309.444885f, 400.000000f, -287.942108f }, 0.991760f, 0.000048f );
|
|
instance.registerEObj( "Entrance", 2000182, 5782651, 5, { -332.999207f, 400.000000f, -297.435211f }, 1.000000f, 0.000000f );
|
|
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
|
|
|
|
}
|
|
|
|
void onUpdate( QuestBattle& instance, uint64_t tickCount ) override
|
|
{
|
|
|
|
}
|
|
|
|
void onEnterTerritory( QuestBattle& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
|
|
uint16_t param2 ) override
|
|
{
|
|
|
|
}
|
|
|
|
};
|
|
|
|
EXPOSE_SCRIPT( AnArtfortheLiving ); |