Skip to content

Commit 792e266

Browse files
rename for consistency
1 parent ffcc6e5 commit 792e266

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Items.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ static int32_t calculateTaroReward(Player* plr, int baseAmount, int groupSize) {
887887
}
888888

889889
static int32_t calculateFMReward(Player* plr, int baseAmount, int levelDiff, int groupSize) {
890-
double bonus = plr->hasBuff(ECSB_REWARD_BLOB) ? (Nanos::getNanoBoost(plr) ? 1.23 : 1.2) : 1.0;
890+
double scavenge = plr->hasBuff(ECSB_REWARD_BLOB) ? (Nanos::getNanoBoost(plr) ? 1.23 : 1.2) : 1.0;
891891
double boosterEffect = plr->hasHunterBoost() ? (plr->hasQuestBoost() && plr->hasRacerBoost() ? 1.75 : 1.5) : 1.0;
892892

893893
// if player is within 1 level of the mob, FM is untouched
@@ -937,7 +937,7 @@ static int32_t calculateFMReward(Player* plr, int baseAmount, int levelDiff, int
937937
}
938938
}
939939

940-
int32_t amount = baseAmount * plr->rateF[RATE_SLOT_COMBAT] * bonus * levelEffect * groupEffect;
940+
int32_t amount = baseAmount * plr->rateF[RATE_SLOT_COMBAT] * scavenge * levelEffect * groupEffect;
941941
amount *= boosterEffect;
942942
return amount;
943943
}

0 commit comments

Comments
 (0)