[SOLVED] Potion Effect Start Procedure doesnt work completely

Started by Ezzeth on

Topic category: Help with modding (Java Edition)

Last seen on 15:35, 21. Mar 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] Potion Effect Start Procedure doesnt work completely
Sun, 12/19/2021 - 16:48 (edited)

Im trying to make a potion effect which gain stronger effect for each consecutive hit.
But the NBT variable doesnt increase from the second hit (checked from command message).
The variable starts at 0 before hit, gain to 1 (or 2 if amplified) after the first hit, but stuck at 1 (or 2) even after the 2nd to 5th hit.
https://imgur.com/CSChtsB

If this question exists and already has been answered, please send me the link.

Thank you

Edited by Ezzeth on Sun, 12/19/2021 - 16:48
Last seen on 15:35, 21. Mar 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I didnt know if same potion…
Tue, 12/21/2021 - 22:11

I didnt know if same potion is applied, the expire effect of older potion triggers then the start effect of newer potion triggers