Hi,
I’m working on a mobile RPG with multiple playable characters (you play 1 at a time). Each character has its own set of skills that it can learn, and they learn them through different parameters and milestones that they reach (e.g. Character A learns Skill X when he reaches level 5, Character A learns Skill Y when he has more than 100 attack, etc.). Each character can choose 4 skills to equip, however they will learn more than 4 skills (like pokemon if you didn’t have to replace moves with new ones).
What would be the easiest way to handle this? Checking for which character is being played, then checking the parameters to see which skill they will learn? I read that CSVs can be parsed and assigned to arrays, would it be smart to write up a CSV with the SkillName, Character, Requirements, etc. and assign those to arrays on load, then check through them to learn the skills? I previously implemented a small portion of this by hardcoding less than 10 characters, checking each parameter for each character (there will be >40 characters at some point), but there has to be a better way than hardcoding lol.
I have a very VERY basic understanding of C#, only just implementing a binary save/load system on appquit/start through a tutorial. This same save system loads the saved parameters, so now it would have to load in whichever skills the characters have equipped/learned. Sorry if this is confusing, I can elaborate if needed!
If there is another thread similar to this, please let me know, I couldn’t find any!