Bug Closed · Could not replicate

StatAura skill setting some stat values to zero when aura ends

#6570 opened by Unknown 1 year ago

Unknownreported this bug

When using the stataura skill, when it ends some stats gets set to a value of zero instead of the default base value. I've experienced the issue with "JUMP_STRENGTH" and "MOVEMENT_SPEED". This leads to players being unable to jump or move when said stataura is finished. I've also been using it with "ATTACK_DAMAGE", with this stat it does work accordingly. Currently the only lead I have is that it's related to movement, but other stats (when enabled in the stat YML) could be affected aswell.

As example:

  • stataura{auraName=dmgbuff;d=600;stat=ATTACK_DAMAGE;type=ADDITIVE;val=1;onEnd=potionsicknessminor} does work
  • stataura{auraName=movbuff;d=600;stat=MOVEMENT_SPEED;type=ADDITIVE;val=1;onEnd=potionsicknessminor} also applies the aura correctly, until the aura ends, setting the MOVEMENT_SPEED stat to 0
Unknowncommented

I could not reproduce this issue. what I did to try:

  1. enable the stat in stats.yml (by removing the formula and setting the basevalue to 0.2)
  2. start server.
  3. do the following command: /mm t m stataura{auraName=movbuff;d=200;stat=MOVEMENT_SPEED;type=ADDITIVE;val=0.2;onEnd=potionsicknessminor} @self
  4. wait for 10 seconds (I actually ran really fast)
  5. walk like normal.

If you have more info on how to replicate it, and a log of when it happens, that would help. Since most users never respond to tickets, I will close this for now, as I can't replicate it. if you have more info feel free to reopen the ticket.

Sign in to join the discussion.