leafreynolds / cosmere

Bringing The Cosmere to Minecraft!
MIT License
25 stars 19 forks source link

[Hemalurgy] Non-Power Spikes from loot chests have no hemalurgic investment #61

Open leafreynolds opened 8 months ago

leafreynolds commented 8 months ago

Issue description

InvestSpikeLootFunction.java currently is set up to only invest power spikes. I currently just throw up an error instead for non-power spikes.

We need to update that so that non-power spikes have an appropriately hemalurgically decayed amount of bonus.

Steps to reproduce

Spawn a bunch of loot chests, starter chest has a 50/50 chance of containing a spike /setblock ~ ~1 ~ minecraft:chest{LootTable:"minecraft:chests/spawn_bonus_chest"}

Repeat several times until observing a non power spike.

Observe that iron, tin and other non-power based spikes have no hemalurgic investment.

Minecraft version

1.19.2 (Latest)

Forge version

43.1.3

Cosmere version

Latest

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response