[Bug] Passive Mobs Give Too Much Blood
CFlatFlat opened this issue ยท 6 comments
Issue Description:
Despite the guide book saying passive mobs give 200 life essence each when sacrificed, they actually give 1,000, making them twice as effective as hostile mobs.
What happens:
After sacrificing a cow or pig, the amount of life essence goes up by about 1,000.
What you expected to happen:
The blood altar's LE should go up by just 200.
Steps to reproduce:
- Build a blood altar with no upgrades (mine was Tier II)
- Check the LE with a divination sigil (if there is any already inside)
- Use the dagger of sacrifice to slay a cow or a pig near the altar
- Use the divination sigil again to see how much it went up.
Affected Versions:
- BloodMagic: 3.1.7-27
- Minecraft: 1.16.5
- Forge: 36.2.22
The default config gives passive mobs 100 LP per half heart. So if anything the guide may be wrong. Will look at the guide.
As far as I can see, the guide refers to the config. The ValueManager says that LP multiplier is 25 per HP.
https://github.com/WayofTime/BloodMagic/blob/1.16.3/src/main/java/wayoftime/bloodmagic/common/item/ItemDaggerOfSacrifice.java#L50
^- However, default value here would be overwritten by config, of course. And this value can be outdated as well
https://github.com/WayofTime/BloodMagic/blob/1.16.3/src/main/java/wayoftime/bloodmagic/api/IBloodMagicValueManager.java#L16-L23
^- Likewise, this comment might be outdated
^- refers to the config
The guidebook doesn't seem to mention any values, so now I'm confused as to why I thought passive mobs were supposed to give 200 LP.
Updated to the latest version and regenerated the config, still happens.
Edit: Nvm I didn't pay enough attention.