Refactored mission data and implemented quest item mob drops.

Most future missions are now playable.
Quest items aren't being properly cleaned up yet.
This commit is contained in:
2020-09-10 18:40:38 +02:00
parent 3665dc2c93
commit ddb5f782b7
5 changed files with 130 additions and 98 deletions

View File

@@ -6,6 +6,8 @@
#include "CNProtocol.hpp"
#include "CNStructs.hpp"
#define ACTIVE_MISSION_COUNT 6
struct Player {
int accountId;
int64_t SerialKey;
@@ -33,6 +35,6 @@ struct Player {
bool isTradeConfirm;
bool IsGM;
int tasks[6];
int tasks[ACTIVE_MISSION_COUNT];
sItemBase QInven[AQINVEN_COUNT];
};