Child mobs are now viable for sacrifice at half the rate

(cherry picked from commit 719cff0)
This commit is contained in:
Nicholas Ignoffo 2017-02-25 18:00:17 -08:00
parent 6ac31ba1e8
commit 8360041da2
2 changed files with 13 additions and 1 deletions

View file

@ -106,6 +106,9 @@ public class RitualWellOfSuffering extends Ritual
if (BloodMagicAPI.getEntitySacrificeValues().containsKey(entityName))
lifeEssenceRatio = BloodMagicAPI.getEntitySacrificeValues().get(entityName);
if (entity.isChild())
lifeEssenceRatio *= 0.5F;
tileAltar.sacrificialDaggerCall(lifeEssenceRatio, true);
totalEffects++;