Skip to content

Commit

Permalink
feat: re-balance cradle tributes of foods with life energy
Browse files Browse the repository at this point in the history
  • Loading branch information
Elenterius committed Nov 19, 2024
1 parent 8ed787f commit 5dad166
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ static Tribute from(ItemStack stack) {
}

if (isSuspiciousStewItem) {
SuspiciousStewItemAccessor.biomancy$ListPotionEffects(stack, effectInstance -> builder.addEffect(effectInstance, 0.35f));
SuspiciousStewItemAccessor.biomancy$ListPotionEffects(stack, effectInstance -> builder.addEffect(effectInstance, 0.95f));
}

if (isFoodItem) {
for (Pair<MobEffectInstance, Float> pair : food.getEffects()) {
MobEffectInstance effectInstance = pair.getFirst();
float chance = pair.getSecond();
builder.addEffect(effectInstance, chance * 0.25f);
builder.addEffect(effectInstance, chance * 0.9f);
}
}

Expand Down

0 comments on commit 5dad166

Please sign in to comment.