Help needed - bow effect affecting me

Started by New321_Help on Tue, 07/13/2021 - 07:42

Topic category: Help with modding (Java Edition)

Last seen on 09:43, 18. Jul 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help needed - bow effect affecting me
Tue, 07/13/2021 - 08:40 (edited)

I am quite new to Mcreator an have probably just missed something obvious but I made a bow with the effect when bullet hits player they receive levitation but every time I shoot it I get the levitation effect as well when I want the other player to be the only one who gets it. Do you know any way around this or did I just miss something? Thanks 

I'm not sure how to add a screenshot of my code so I will type it out here:

Bow_New bullet hits player

Add potion with level 2 for 60 ticks to event/target entity type levitation

Deal 2 damage to event/target entity type generic

Edited by New321_Help on Tue, 07/13/2021 - 08:40