eggBuffPlayer now takes duration, and buff duration is read from EggType

This commit is contained in:
CakeLancelot
2021-01-06 05:55:55 -06:00
parent 46b6d9fcc7
commit 9e30e55669
3 changed files with 5 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ namespace NPCManager {
BaseNPC* getNearestNPC(std::set<Chunk*>* chunks, int X, int Y, int Z);
/// returns -1 on fail
int eggBuffPlayer(CNSocket* sock, int skillId, int duration);
int eggBuffPlayer(CNSocket* sock, int skillId, int eggId, int duration);
void eggStep(CNServer* serv, time_t currTime);
void npcDataToEggData(sNPCAppearanceData* npc, sShinyAppearanceData* egg);
void eggPickup(CNSocket* sock, CNPacketData* data);