- Joined
- Nov 11, 2013
- Messages
- 191
- Reaction score
- 11
- First Language
- English
- Primarily Uses
I'll take that back, because no -.-
class Game_Actor def learn_skills_upon_change self.class.learnings.each do |learning| learn_skill(learning.skill_id) if learning.level <= @level end end alias change_class_adjust_skills change_class def change_class(class_id, keep_exp = false) change_class_adjust_skills(class_id, keep_exp) learn_skills_upon_change endend
Okay, so I'd have to do that twice, but in place of Pugh, I'd put in the name of the actual classes, correct?now if you don't want that, you can add this to a blank script: class Game_Actor def pugh_skills self.class.learnings.each do |learning| learn_skill(learning.skill_id) if learning.level <= @level end end end then use this script line after changing classes: $game_actors[id].pugh_skills that should make your actor learn any skills that he should have at this point
I'm in the middle of my tweaking. Could I not just leave them as Special or Magic and just restrict what weapon type can use the skill?You can restrict the skills on the skill page. Start by going to the Terms page of Database and creating a new category for skills, one for each class.
Example: Currently you have Special and Magic. Add two more skill categories, one for "Soldier" and one for "Sorceress".
Then on the class pages, give the Soldier access to Soldier skills and the Sorceress access to Sorceress skills (just like giving them Magic/Special).
Next, go to the Skills page and set all of the skills you want the Sorceress to use to type Sorceress, and the skills you want the Soldier to use to type Soldier. Currently Fire is probably setup as a Magic skill, as an example. Just change that to Sorceress.
Then just have them both learn the same skill list. They'll each have both class's abilities but only be able to use skills that are assigned their matching type.
You can do it by weapon... but yes, if you do it by skill type, the player will not see the skills at all. He'll have them but they only show up under that skill menu, and since the class won't HAVE that skill menu, the skills will be hidden.I'm in the middle of my tweaking. Could I not just leave them as Special or Magic and just restrict what weapon type can use the skill? For example, i make it so that Triple Shot only works for Guns, and Dual Attack only works for Power Blades (i changed the name of the sword)? Or will your method make it so that the player will not see the skills that only work for the unequipped class?