Bug Closed · Resolved

Take Item MMOITEMS

#3518 opened by Unknown 3 years ago

Unknownreported this bug

Im searching for the syntax to use mmoitems on the TakeItem/GiveItem Mechanik. Given Example - takeitem{i=DIRT;a=64} @NearestPlayer{r=10}

  • takeitem{i=mmoitems{type=MATERIAL;id=ROHER_AMETHYST};a=1} @trigger -> This is not working

or are mmoitems not supportet yet on this mechanik?

many thanks in advance!

Unknowncommented

I play a littlebit around:

-The Condition hasItem generally doesent work! -TakeItem works. syntax here is {i=mmoitems.MATERIAL.ID;a=1} -giveItem doesent work with this syntax!

Skill for testing

Reparieren_eisen: Conditions: - hasitem{i=STICK;amount=1} true

Cooldown: 2 Skills:

  • effect:particlesphere{particle=explosion_emitter;amount=5;radius=2} @self
  • takeitem{i=Iron_ingot;a=1} @trigger
  • message{m="&4Repariere..."} @trigger
  • sound{s=block.anvil.destroy} @PIR{r=10}
  • heal{amount=300} @self
  • delay 100
  • message{m="&4Fertig"} @trigger
Sign in to join the discussion.