hey everyone, im using Legacy Class Change --> demo http://legacyblade.com/downloads/scripts/LSC/LegacyClassChangev1_68.zip when i change my class to another it keeps the same skills from that class regardless of changing it to another class. is there a way to modify this script, so the skills defer from one class to another ? changeclassscript.txt a text file with the script
hey everyone, im using Legacy Class Change --> demo
http://legacyblade.com/downloads/scripts/LSC/LegacyClassChangev1_68.zip
when i change my class to another it keeps the same skills from that class regardless of changing it to another class.
is there a way to modify this script, so the skills defer from one class to another ?
changeclassscript.txt a text file with the script
and finally heres a snippet of code :
 def actor_class_change(actor_id, class_id)
  Â
  Â
#setup which actors' class needs to be changed.
   changed_actors = LBConf.linked_actors(actor_id)
   changed_actors.push actor_id
  Â
  Â
#memorize which class specific skills the actor has learned for the current
  Â
#class, then make the actor forget them
   LBConf.class_spells($game_actors[actor_id].class_id).each{|skill_id|
   $game_actors[actor_id].forget_skill(skill_id)}
  Â
  Â
#change the actor(s) class.
   changed_actors.each{|actorz|
   $game_actors[actorz].class_id = class_id
  Â
  Â
#remember any class specific spells the actor has forgotten forthe class
   #they're changing to.
   $game_actors[actorz].learned_class_skills.each{|skill_id|
   if LBConf.class_spells($game_actors[actorz].class_id).include?(skill_id)
     $game_actors[actorz].learn_skill(skill_id)
   end}
  Â
   #if graphic changing is enabled, change the actor's graphic.
   if LBConf::CLASS_GRAPHIC_CHANGE == true
     actor_graphics_change(actorz)
   end}
  Â
 end
i think the answer is in that part, but im not sure, any help would be greatly appreciated