Source Entity and Player Variable not working

Started by Ro... on

Topic category: Help with modding (Java Edition)

Last seen on 05:41, 29. Mar 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Source Entity and Player Variable not working
Thu, 05/20/2021 - 01:44 (edited)

Okay, in my mod, I have a problem with source entity and variables. i have a stats system: (Health, Energy, Strength, etc). this stats can be upgraded using TP (Training Points), the player is supposed to earn TP when he punch an entity or another player, depending on where he is and what he wear. the TP gain is random, it can be 5 just like it can be 10. here is the tp gain procedure:
Procedure

I want to know whats wrong with the procedure, and also... if  i am playing in a server, am i the only one to earn tp(cuz im the one to punch), or all the Players in the server will gain tp?
This might work, but same question, will all the players in the server is going to earn tp if only one player punch)
2

Edited by Ro... on Thu, 05/20/2021 - 01:44
Last seen on 05:41, 29. Mar 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Someone?  
Sat, 05/29/2021 - 13:51

Someone?

 

Last seen on 05:41, 29. Mar 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
???
Tue, 06/01/2021 - 22:45

???

Last seen on 22:25, 13. Sep 2023
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you tell me pls where is…
Tue, 07/13/2021 - 11:42

Can you tell me pls where is the source entity square?