mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-11-17 15:30:06 +00:00
Various bugfixes and adjustments
* Nano missions should now stop repeating. * Bitwise operators are now used to handle buff/debuff bitfields. * Changing nano powers will no longer grant you infinite buffs. * Mobs now heal up client-side after retreating, this comes with candy effect being played however. * Lower level mobs now hit harder. * Nanos drain stamina quicker when they grant passive powers. * Healing, damage and leech powers scale up with your level. * Player on player damage now accounts for damage and armor.
This commit is contained in:
@@ -167,11 +167,8 @@ bool MissionManager::endTask(CNSocket *sock, int32_t taskNum) {
|
||||
saveMission(plr, (int)(task["m_iHMissionID"])-1);
|
||||
|
||||
// if it's a nano mission, reward the nano.
|
||||
if (task["m_iSTNanoID"] != 0) {
|
||||
if (task["m_iSTNanoID"] != 0)
|
||||
NanoManager::addNano(sock, task["m_iSTNanoID"], 0, true);
|
||||
// check if the player already has enough fm for the next mission
|
||||
updateFusionMatter(sock, 0);
|
||||
}
|
||||
|
||||
// remove current mission
|
||||
plr->CurrentMissionID = 0;
|
||||
|
||||
Reference in New Issue
Block a user