Potion effect Event
This event will apply a potion effect to the attacking player.
Required arguments
Order | Type | Argument |
1 | potiontype | potion that needs to be used |
2 | number | duration |
3 | number | strength of the effect |
4 | decimal | percentage of occurrence |
What it does
Whenever the event is triggered, a potion effect will be applied to all the players in a specified radius of the mob.
Example usage
You can find the available potion effects here.
Last updated