Magic

Magic

190k Downloads

Wands are deactivated when an active_icon is used

killme opened this issue · 8 comments

commented

When using a wand with an icon_active as follows:

a:
    upgrade: true
    icon: diamond_sword:1189
    icon_inactive: diamond_sword:1188

The wand is deactivated upon glide toggling by the wand tick, which checks if the item instance is still the same.

commented

Also this was reported:

The active wand state will only appear when a player selects a move and not when you open the wand

commented

Since a video is more than a thousand words * 30 fps: https://youtu.be/FfwNxb873YU

  1. Activate wand
  2. Jump off tall object
  3. Glide

AFAIK we do not have anything on our end modifying the inventory based on the gliding status.

commented

Thanks! So is this just gliding with an elytra and vanilla mechanics? Or via a move that uses the Glide action? It’s hard to tell from the video.

commented

Just vanilla gliding

commented

@killme I could not reproduce this using default wands and spells. I grabbed a lightsaber and added the Glide spell. The saber icon toggles as expected when I open/close the inventory, and does not untoggle or deactivate when gliding.

I also tried the levitate spell. I tried with and without icon_inactive_delay, using it with quick cast (the lightsaber's default setup- not sure about your bending moves?) and with normal select and swing to cast mechanics.

Is there any more info you could provide to help me reproduce this? Is there maybe something more specific to your glide move beyond what my simple Glide spell does?

commented

Still can't reproduce :(

https://gfycat.com/gifs/detail/ImpossibleImmaterialKillifish

I can try with your exact wand config if you want to paste it here or PM/email it to me... running out of ideas, unfortunately.

commented

Mart posted the scripts in discord, in case you have not seen them yet.

commented

Bug on our side