mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Update fling struct and add Fling to lua opcode enum
This commit is contained in:
parent
5cbf4aca4f
commit
ba5b3c2796
@ -5361,10 +5361,10 @@ struct TextLinkBody_Struct {
|
|||||||
|
|
||||||
|
|
||||||
struct fling_struct {
|
struct fling_struct {
|
||||||
/* 00 */ uint32 unk1;
|
/* 00 */ uint32 collision; // 0 collision is off, anything else it's on
|
||||||
/* 04 */ int32 travel_time; // ms -- UF we need to calc this, RoF+ -1 auto calcs
|
/* 04 */ int32 travel_time; // ms -- UF we need to calc this, RoF+ -1 auto calcs
|
||||||
/* 08 */ char unk3; // bool, set to 1 has something to do with z-axis or something
|
/* 08 */ uint8 unk3; // bool, set to 1 has something to do with z-axis or something weird things happen if the new Z is above or equal to yours
|
||||||
/* 09 */ char disable_fall_damage; // 1 you take no fall damage, 0 you take fall damage
|
/* 09 */ uint8 disable_fall_damage; // 1 you take no fall damage, 0 you take fall damage
|
||||||
/* 10 */ uint8 padding[2];
|
/* 10 */ uint8 padding[2];
|
||||||
/* 12 */ float speed_z;
|
/* 12 */ float speed_z;
|
||||||
/* 16 */ float new_y;
|
/* 16 */ float new_y;
|
||||||
|
|||||||
@ -847,7 +847,8 @@ luabind::scope lua_register_packet_opcodes() {
|
|||||||
luabind::value("OpenContainer", static_cast<int>(OP_OpenContainer)),
|
luabind::value("OpenContainer", static_cast<int>(OP_OpenContainer)),
|
||||||
luabind::value("Marquee", static_cast<int>(OP_Marquee)),
|
luabind::value("Marquee", static_cast<int>(OP_Marquee)),
|
||||||
luabind::value("ClientTimeStamp", static_cast<int>(OP_ClientTimeStamp)),
|
luabind::value("ClientTimeStamp", static_cast<int>(OP_ClientTimeStamp)),
|
||||||
luabind::value("GuildPromote", static_cast<int>(OP_GuildPromote))
|
luabind::value("GuildPromote", static_cast<int>(OP_GuildPromote)),
|
||||||
|
luabind::value("Fling", static_cast<int>(OP_Fling))
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user