help with potion affect

Started by charcoalcookiez on

Topic category: Help with modding (Java Edition)

Last seen on 18:44, 6. Jun 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help with potion affect

I made this potion effect for an enchantment. its like poison but it can kill but it attacks way too fast. how do i fix this?

Last seen on 19:33, 18. Feb 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe add a frame global…
Tue, 06/06/2023 - 11:32

Maybe add a frame global variable, every tick it increases by one, and when it reaches 10 (half a second) reset it and deal damage to the player.