EcoEnchants icon indicating copy to clipboard operation
EcoEnchants copied to clipboard

Soul Storm uses bonus_health instead of give_health (WAI?)

Open luizsusin opened this issue 2 years ago • 4 comments

Describe the bug As Soul Storm description says, it gives a bonus to attack damage for X seconds at the expense of 3 hearts. However, it is using bonus_health instead of give_health, which only works with bonus hearts.

Expected behavior Not sure if it is WAI, but IMO it should use give_health instead based on the description.

Server Information (please complete the following information):

  • Server: git-Purpur-1799 (MC: 1.19.2)
  • EcoEnchants: 9.0.0-b37
  • Eco: 6.42.0

luizsusin avatar Sep 29 '22 23:09 luizsusin

give_health is a one-time triggered effect, and bonus_health does exactly same but permanently without a trigger, so using bonus_health here is correct

0ft3n avatar Oct 01 '22 10:10 0ft3n

@0ft3n it doesn't work with bonus_health as intended. By activating the spell, it tries to remove non-existent hearts (if you don't have extra ones). We've already fixed it, just do a quick test on the default one and this one: https://pastebin.com/ucYmuHLG. They behave in a completely different way.

Penumbrae avatar Oct 02 '22 17:10 Penumbrae

It's meant to reduce your max health temporarily, bonus_health is the right effect for that?

WillFP avatar Oct 17 '22 09:10 WillFP

@WillFP I'm sorry for the quality, but here it goes. I'm using the alt_click trigger for both of the items, the first one is the Soul Storm that I've made. The second one is the Soul Storm that comes by default: https://imgur.com/a/rRvnjLe

Penumbrae avatar Oct 17 '22 13:10 Penumbrae