mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-01-11 11:10:14 +00:00
eggBuffPlayer now takes duration, and buff duration is read from EggType
This commit is contained in:
@@ -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");
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user