Globox1997 / LevelZ

https://modrinth.com/mod/levelz
https://www.curseforge.com/minecraft/mc-mods/levelz
GNU General Public License v3.0
51 stars 50 forks source link

Feature/help request #112

Closed Tenchu98 closed 2 years ago

Tenchu98 commented 2 years ago

I am using levels on 1.18.1 in my modpack with origins, I was wondering if there is a way to give a player skill points in a category from datapack.

Ie. If they choose the elven origin automatically assigning them 2 skill points in archery.

Tenchu98 commented 2 years ago

Or at least is there an attribute I can set from within the origins datapack?

Globox1997 commented 2 years ago

Maybe you can run a command when the player chooses the origin

Tenchu98 commented 2 years ago

I haven't seen any examples for running a command within the origins.

Tenchu98 commented 2 years ago

Is there a way to run a command for an origin?

Globox1997 commented 2 years ago

Here you go https://origins.readthedocs.io/en/latest/types/power_types/action_on_callback/

Tenchu98 commented 2 years ago

thank you

Globox1997 commented 2 years ago

I guess we can close this issue since origins provide already a way for such a compatibility :)