#Item tag won't go up?

1 messages · Page 1 of 1 (latest)

tidal niche
#
  1. missing an "if" line 5; if mod({_tag}, 100) = 0:
  2. {_lore::%loop-index%} can be changed to just loop-value (not in the set lines)
  3. Have you tried debugging? Broadcast the vars + tags to see what they're set to at different instances
  4. the prot tag works, but the hits doesnt.
  • you are setting the lore using int tag "protection" of nbt compound from victim's boots, but {_tag}. What happens if you use the actual tag instead of the variable, like with the protection tag
rapid kestrel
#

1: I've never used it for mod() things, I don't think that's the problem
2: I know that, I just didn't want to risk getting mixed up
3: I have, "%{_tag}%" is 25, and "%{_tag} + 1%" is 1
4: I used to do it the same as "protection", it didn't change anything

tidal niche
#
  1. it's not about the modulo function, its about the fact that youre using a condition but treating it like an if statement.
  2. can you send the code where you debug?
rapid kestrel
#

What's 2

tidal niche
#

nothing, it just needs to exist otherwise point 3 is labeled as 2

rapid kestrel
#

Makes sense

#

But uh...

#

I'm past my bed time

#

So I can't really do step 3 as I've deleted that part

oak rampart
#
  1. Don't read 1, 2, 3,