[MCreator Snapshot b39514] - 'Add Potion Effect' Procedure duration not working.

Started by 0V3R10RD on Mon, 10/19/2020 - 14:57

Topic category: Bugs and solutions

Last seen on 13:40, 30. Oct 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[MCreator Snapshot b39514] - 'Add Potion Effect' Procedure duration not working.
Mon, 10/19/2020 - 14:57

I am using the latest MCreator Snapshot b39514. I have a sword that when swung, applies a potion effect to the player of slowness for about a second, the duration does not apply properly and the effect lasts 0 seconds. When the sword strikes an opponent, I made it so it has a chance to inflict wither and weakness to an enemy, I set it up to display text when it does, and it says it's applying the effects but similarly the effects last for 0 seconds despite the fact I stated for it to last 2 or 3.

Let me know what I'm doing wrong and/or if it's a bug, which I'm quite sure it is!

Last seen on 09:20, 24. Nov 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
First, verify if this…
Mon, 10/19/2020 - 16:18

First, verify if this happens in the stable release too.

Also not the unit is in ticks, also in ticks - 1

Last seen on 13:40, 30. Oct 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Solved, didn't realize it…
Mon, 10/19/2020 - 17:06

Solved, didn't realize it was in ticks. The number is "1" by default, which kind of naturally makes someone think that they are seconds and not ticks.