This script addresses the issue where the actor changes classes, but the old class skills are still learned and the new class skills are not automatically learned.
Some convenience methods for class changing is also provided as script calls
Download
Get it at
Hime Works!
Installation
Place this script below Materials and above Main
Usage
Plug and play.
You can use the script call to change classes
change_class(actor_id, class_id)change_class(actor_id, class_id, keep_exp)change_class(actor_id, class_id, keep_exp, keep_skills)Where`actor_id` is the ID of the actor you wish to change classes
`class_id` is the ID of the class to change to
`keep_exp` is true or false, whether you want to transfer the current exp
`keep_skills` is true or false, whether you want to keep the learned skills
For example
change_class(4, 10, true, false)Will change actor 4's class to class 10 while preserving the actor's exp, but any learned skills (from the old class) are not preserved.By default, exp is not preserved and learned skills are preserved.
本贴来自国际rpgmaker官方论坛作者:Tsukihime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/class-changing.16576/