Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Class Changing Skill Fix
#1
Class Changing Skill Fix
by Trihan


Introduction
This script corrects a problem with the default scripts and enhances the class system. In the default scripts, a class change won't affect the character's skill list. With this script added, a character will forget all skills from his former class and learn all skills on his new class's skill list up to his current level. Additionally, you can exempt certain skills, or all skills from an entire class, from being forgotten in this way. This can be done on a global or per-character basis.

Originally to use this script, you would have needed to add the pieces of code supplied to Game_System and Game_Actor. Then, replace Interpreter#command_321 with the code in the third block he supplied. Now, it is in one contiguous script.


Demo
>Click<


Script
Class Changing Skill Fix


Instructions
This revision has been lightly touched so you can just paste it ABOVE Main or BELOW Scene_Debug to use it.

To exempt a class's skills from being forgotten on a global level, use the statement "$game_system.exempt_classes.push(x)", where 'x' is the ID number of the class in the database.

To exempt a skill from being forgotten on a global level, use the statement "$game_system.exempt_skills.push(x)", where 'x' is the ID number of the skill in the database.

To exempt a certain character from forgetting the skills from a certain class, use the statement "$game_actors[n].exempt_classes.push(x)", where 'n' is the ID number of the actor and x is the ID number of the class.

To exempt a certain character from forgetting a certain skill, use the statement "$game_actors[n].exempt_skills.push(x)", where 'n' is the ID number of the actor and 'x' is the ID number of the skill.
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Skill Item Kost ACE kyonides 0 326 01-03-2024, 12:07 AM
Last Post: kyonides
   Skill Roulette kyonides 0 569 06-16-2023, 07:10 AM
Last Post: kyonides
   Fast Skill Grouping DerVVulfman 3 3,780 06-12-2023, 05:28 PM
Last Post: DerVVulfman
   MACL - Method And Class Library Trickster 3 7,880 04-02-2021, 06:21 AM
Last Post: Megalukes
   DoubleX RMMV Skill Hotkeys DoubleX 2 5,126 02-13-2021, 04:59 AM
Last Post: DoubleX
   DoubleX RMMZ Skill Item Cooldown DoubleX 4 5,048 02-07-2021, 04:11 PM
Last Post: DoubleX
   DoubleX RMMZ Skill Item Triggers DoubleX 3 4,610 12-26-2020, 04:00 PM
Last Post: DoubleX
   MicKo's Skill Tree - Revised DerVVulfman 49 54,542 12-17-2019, 04:13 AM
Last Post: DerVVulfman
   DoubleX RMMV Skill Hotkeys Compatibility DoubleX 0 2,761 09-06-2019, 09:56 AM
Last Post: DoubleX
   Skill Casting Delay DerVVulfman 1 10,334 11-20-2018, 05:38 AM
Last Post: DerVVulfman



Users browsing this thread: