Pufferfish's Skills [Fabric & Forge & NeoForge]

Pufferfish's Skills [Fabric & Forge & NeoForge]

12M Downloads

[1.20.1] "in tree" reset-button isnt self resetting

Kikusohame opened this issue ยท 3 comments

commented

Image

i am tying to give my players the option to reset their path bc there will be over 350 nodes in the tree,

while this definition does reset the category as intended, the reset-button itself stays unlocked. upon trying to circumvent by adding two resets it got really funky where i had to press the 'locked' reset and only then when i clicked the 'unlocked' reset, it went and reset all, except again the resetting reset-node

is very confusing to have it this way, but this the only workaround i found so far to get infinite resets instead of one.

i fiddled around with lock_commands on the resetbutton itself, even with the /...skills lock (at)s .... osdhb987r2iur (example node-code-thingy)
but that just did not work at all. so far, leaving lock empty actually worked best.

commented

This is a known issue. When a skill tries to lock itself it desynchronizes between client and server. Generally skills shouldn't be used to lock itself, but I have already implemented a fix for this. I'll probably release it in a week.

commented

awesome, thanks for the heads up information.

just to get things straight then, it is intended to reset either via command by op or stuff like a item that calls functions upon use/interaction, do i unterstand correctly?

commented

Since 0.15.0 skills are able to lock itself as well as other skills.

just to get things straight then, it is intended to reset either via command by op or stuff like a item that calls functions upon use/interaction, do i unterstand correctly?
Resetting via command isn't very player friendly. I recommend an item that player can find or craft to reset skills.