mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +00:00
20 lines
403 B
C++
20 lines
403 B
C++
#pragma once
|
|
|
|
#include "core/Core.hpp"
|
|
|
|
struct EggType {
|
|
int dropCrateId;
|
|
int effectId;
|
|
int duration;
|
|
int regen;
|
|
};
|
|
|
|
namespace Eggs {
|
|
extern std::unordered_map<int, EggType> EggTypes;
|
|
|
|
void init();
|
|
|
|
void eggBuffPlayer(CNSocket* sock, int skillId, int eggId, int duration);
|
|
void npcDataToEggData(int x, int y, int z, sNPCAppearanceData* npc, sShinyAppearanceData* egg);
|
|
}
|