Group Heal Range Limit

This commit is contained in:
2020-11-25 00:16:06 +00:00
committed by Gent S
parent 26ca4d8671
commit 166eb5125f
4 changed files with 20 additions and 6 deletions

View File

@@ -398,14 +398,14 @@ int MissionManager::giveMissionReward(CNSocket *sock, int task) {
plr->money += reward->money;
if (plr->iConditionBitFlag & CSB_BIT_REWARD_CASH) { // nano boost for taros
int boost = 0;
if (NanoManager::getNanoBoost(plr))
if (NanoManager::getNanoBoost(plr)) // for gumballs
boost = 1;
plr->money += reward->money * (5 + boost) / 25;
}
if (plr->iConditionBitFlag & CSB_BIT_REWARD_BLOB) { // nano boost for fm
int boost = 0;
if (NanoManager::getNanoBoost(plr))
if (NanoManager::getNanoBoost(plr)) // for gumballs
boost = 1;
updateFusionMatter(sock, reward->fusionmatter * (30 + boost) / 25);
} else