Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]Leveling increases cost of every skill #169

Open
wootaboot opened this issue Sep 25, 2019 · 5 comments
Open

[Feature Request]Leveling increases cost of every skill #169

wootaboot opened this issue Sep 25, 2019 · 5 comments

Comments

@wootaboot
Copy link

If you leveled one skill then the cost of Leveling all skills increases instead of just that one skill cost increasing. i.e cost to level up one skill it costs 3 levels, after leveling it up it costs 4 to level up a skill no matter which skill it is. so it costs 10 levels to level a skill up whether it is level 10 or 1.

@wootaboot
Copy link
Author

what im thinking would be nice is to be able to change the base cost of skills via commands so that when a skill is leveled up it changes the base cost of skills.

@pupnewfster
Copy link
Collaborator

You can change the base cost of skills using CompatSkills, though I am unsure how things interact when it is done while things are currently running, AND even if it works it would change it for all players if it is on a server as there is no per player level cost concept in Reskillable.

@wootaboot
Copy link
Author

using crafttweaker and event.player.skillData.getSkillInfo(skill:reskillable:agility).getLevel();, you can make the equation of the new base a function based on the specific players levels of his skills. However not sure how i can use crafttweaker to make this work.

@pupnewfster
Copy link
Collaborator

You can change a skills base level using the bracket handler for skills, https://github.com/pupnewfster/CraftTweaker-Documentation/blob/compatskills/docs/Mods/CompatSkills/Bracket_Handlers/CTSkill.md but what I meant is it doesn't accept a function it accepts an int. Not to mention things don't really sync from server to client so you need to make sure that it is getting updated on both or weird things may happen.

@wootaboot
Copy link
Author

yep, definitely not going to be able to figure this out. rip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants