Started by
Igoris
on
Topic category: Help with MCreator software
Hello everyone.
I'm trying to create sword that collects stacks for damage for every hit entity and after 500 player ticks reset value. I added 2 global variables.
I added script for sword "When living entity is hit with tool"
Problem is that when entity is hit, value (SwordTypeYellowStacks) is not changing.
If someone know how to fix it, please write here. :3
Links for photo. :)
https://imgur.com/a/1dSjOsK (Variables)
https://imgur.com/PrYJ3NN (Script)