mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
Fix gumballs only lasting 1 minute instead of 10
This commit is contained in:
parent
58952be47e
commit
d2d6171d04
@ -307,7 +307,7 @@ void ItemManager::itemUseHandler(CNSocket* sock, CNPacketData* data) {
|
|||||||
player->Inven[resp->iSlotNum] = resp->RemainItem;
|
player->Inven[resp->iSlotNum] = resp->RemainItem;
|
||||||
|
|
||||||
std::pair<CNSocket*, int32_t> key = std::make_pair(sock, value1);
|
std::pair<CNSocket*, int32_t> key = std::make_pair(sock, value1);
|
||||||
time_t until = getTime() + (time_t)NanoManager::SkillTable[144].durationTime[0] * 10;
|
time_t until = getTime() + (time_t)NanoManager::SkillTable[144].durationTime[0] * 100;
|
||||||
NPCManager::EggBuffs[key] = until;
|
NPCManager::EggBuffs[key] = until;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user