mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-11-24 02:10:21 +00:00
Various bugfixes and tweaks
- timed missions of all types should work. - nanos now transmit an unsummon on 0 stamina. - dying bumps your nanos down to half stamina now. - enemies use abilities less frequently. - group recall now works at any distance. - passive nanos are tweaked to guzzle less stamina. - cleared out some redundant stuff at the nanoPower handler.
This commit is contained in:
@@ -110,7 +110,7 @@ void MissionManager::taskEnd(CNSocket* sock, CNPacketData* data) {
|
||||
if (missionData->iNPC_ID == 0) {
|
||||
TaskData* task = MissionManager::Tasks[missionData->iTaskNum];
|
||||
// double-checking
|
||||
if (task->task["m_iHTaskType"] == 3) {
|
||||
if (task->task["m_iSTGrantTimer"] > 0) {
|
||||
Player* plr = PlayerManager::getPlayer(sock);
|
||||
int failTaskID = task->task["m_iFOutgoingTask"];
|
||||
if (failTaskID != 0) {
|
||||
|
||||
Reference in New Issue
Block a user