Started by
Jeamian
on
Topic category: Help with Minecraft modding (Java Edition)
i was making a potion effect but i dont know how to make it alter stats like the damage and health of the player
Topic category: Help with Minecraft modding (Java Edition)
i was making a potion effect but i dont know how to make it alter stats like the damage and health of the player
If you have a variable for said stat for the procedure in the trigger (potion effect active tick)
You should look in the math category and in custom variables set get global <insert variable here> to get level of potion effect <insert effect here> (either +,-,*, or /) <insert desired number here>
im trying on doing that but i have no idea at all on how to make a variable for attributes (which is what im trying to change)