Psi

Psi

45M Downloads

Spin Chamber with negative input can spin to the special empty tool slots

gdavid04 opened this issue ยท 5 comments

commented

Steps to reproduce:

  • Make a spell that executes Trick: Spin Chamber with input -1
  • Put it in the first slot of Psimetal Leggings
  • Put on the Psimetal Leggings

What I expected to happen:
The third slot is selected after the spell executes.

What happened instead:
The special always empty slot is selected instead.

This only happens when the input of Trick: Spin Chamber is negative. Putting the spell in the last slot and inputting 1 to Trick: Spin Chamber correctly switches to the first slot.

commented

Break Loop already deselects the spell, making Spin Chamber wrap around instead would be much more useful.

commented

huh, it should also select the empty tool slot if positive, the intent was for it to be also used for deselecting spells in tools/armor

commented

sure it deselects the spell, by setting it to either the previous or the next slot. but that's only for leggings.
spin chamber should allow users to select the previous or next spell slot no matter what, i don't see why the special empty slots should be an exception

commented

Positive and negative inputs having different results is still a bug.

commented

After thinking about it I'll change it so it wraps around