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

@@ -476,7 +476,7 @@ void buffCommand(std::string full, std::vector<std::string>& args, CNSocket* soc
if (*tmp)
return;
if (NPCManager::eggBuffPlayer(sock, skillId, duration)<0)
if (NPCManager::eggBuffPlayer(sock, skillId, 0, duration)<0)
ChatManager::sendServerMessage(sock, "/buff: unknown skill Id");
}