mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-04-01 17:20:04 +00:00
Group Mobs Initial Implementation
* For now only mob.json is read for grouped mobs. * Grouped mobs are fully functional granted the mobs.json is prepared correctly. * Removed redundant move packet.
This commit is contained in:
@@ -51,6 +51,11 @@ struct Mob : public BaseNPC {
|
||||
// drop
|
||||
int dropType;
|
||||
|
||||
// group
|
||||
int groupLeader = 0;
|
||||
int offsetX, offsetY;
|
||||
int groupMember[4] = {0, 0, 0, 0};
|
||||
|
||||
// temporary; until we're sure what's what
|
||||
nlohmann::json data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user