TheHorscht / Anvil-of-Destiny

A mod for Noita which adds an anvil for upgrading two wands into a better one.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0 Mana Charge Speed and Slime Buff

TsumiHokiro opened this issue · comments

I've noticed that if you try to use the Slime buff on the anvil with a 0 Mana Charge Speed on the anvil the Anvil will consume both the potion and the wand and not return anything; worse, it will sit waiting with the lights on, accepting more input.
Ps: I managed to get it to 0 by using the Vomit Buff, btw.

Just posting a solution I came up with
--Slime Potion #110
wand.manaChargeSpeed = math.max(1, wand.manaChargeSpeed - math.ceil(math.abs(wand.manaChargeSpeed) * Randomf(0.05, 0.10)))

In case you'd like to do the same for the vomit...
--Vomit Potion #360
wand.manaChargeSpeed = math.max(1, wand.manaChargeSpeed * Randomf(0.4, 0.6))

I won't push a request since this repo does not seem to be in sync with steam seeing that it was last updated long long ago anyway...

Thanks for letting me know, fixed in the new update I just pushed.

Alright, thanks for the fix, closing the issue as well since it's been left open.