- /admin hero skill learn <palyer> <class> <skill> <flag>
- `/admin hero skill prepare <player> <skill> <flag>
- I could do that
- As a recap
- There are three main components to what I got
- 4 actually
- Skills now have their own individual level in respect to the class they are for
- so you can have stuff like Fireball I, Fireball II.
- skill would need to look at the level and scale acordingly however
- Skill can be set to require that you learn them
- Skills can be set to require that you prepare them
- Learned = knowing the skill
- Prepared = you know the skill, but the skill may need some prep time.
- Kainzo - Today at 8:04 PM
- OMG
- That's awesome
- Driving will finish soon
- Soren - Today at 8:05 PM
- Finally, something I forgot about until I skimmed the codebase
- There is the ability to designate a Heroclass as the global skill set
- A heroclass that you dont asign, but exists as a pool of skills that everyone can access
- Here is where you would put skills that come from say holding items
- that can be used by any class
- so items can have skills
- ya, its all coming back to me
- Kainzo - Today at 8:30 PM
- hmmm
- can you explain to me how tha twould work?
- We assign and lock "Global" class and then we assign "all skills" to global
- and hten anyone can use them?
- Soren - Today at 9:05 PM
- ya, you would configure this class to be primary: false, profession: false, global: true
- The players would never see this class, but would have access to its skills.
- atleast thats how I had intended it to work, I am actually finding places where I may not have implemented it into various systems.
- How that would work for item skills.
- Basicly you have a skill in the Global Class
- that skill requires preperation to use
- when an item is heald, set prepared to true
- when the item is no longer heald, set prepared to false
- thus you can only use that skill while holding the item, the item is the preperation for said skill
- Kainzo - Today at 9:33 PM
- Oh cool
- Can you show me an example config for that?
- Would it go in skills.yml?
- Soren - Today at 9:35 PM
- It looks for the global class same way it looks for the default hero class and profession
- so its just a matter of having this in a heroclasses config
- default: false
- default-prof: false
- global: true