Creating a Trigger function to let me set a required XP amount using levels but...
Creating a Trigger function to let me set a required XP amount using levels but being read by the dummy scoreboard as experience points.
Currently the required level to do something in my data pack is set is 2045 points, which translates to 35 levels. But I want the ability to have a trigger function to be written as a command using levels but the function translates it into points before being stored in my dummy scoreboard to compare the player points to.
Example for trigger: /trigger set XP_Cost 20
Then the function translates that into 550 points.
I can provide my current code for the cost system if needed, but it's basically a dummy scoreboard with a #dummy being compared to the player's XP points via another scoreboard.
Sorry for the lengthy explanation, I wanted it to be fairly easy to understand my goal.