设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 112|回复: 0

[转载发布] The_Sarah - [v1.2] Actor Based Skill Progression

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    58883
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    68848

    灌水之王

    发表于 2026-8-2 14:21:19 | 显示全部楼层 |阅读模式
    Howdy!

    Time for another script by me! The_Sarah!



    Actor Based Skill Progression
    [version 1.2]
    by The_Sarah



    ---------------------
    Patch Notes
    .
    Update 2 - Updated to 1.2 to help compatibility with other scripts.
    Update 1 - Updated to version 1.1 to fix a bug with skill types.
    .

    ---------------------
    .
    .
    Features
    .

    Original script made by me (The_Sarah).
    Initially requested by Slickdeath97
    .

    With this script, you are able to tie Skill Types, and the minimum levels required for chosen Actor/s to learn chosen Skills, to the Features section in the "Actor" tab rather than the "Class" tab.
    .
    This makes it easier for you to allow class changing in your game, without taking away skills that should stay with your character regardless of class change.
    .
    .
    .
    How to Use
    Place the script below materials and above main in the Script Editor.

    Then follow these steps:
    .​

    Step 1) Create your desired Skill Types in the "Terms" tab of the Database.

    Step 2) Create any desired Skills for those Skill Types in the "Skills" tab of the Database.

    Step 3) Make sure your Actors have BOTH the desired Skills and Skill Types listed in their "Features" list on their page in the "Actor" tab of the Database.

    Step 4) Add a relevant Notetag in the "Notes" boxes of the Skills you would like to apply this script's effects to.
    An example of how to write these Notetags is: <actorlvl30>

    You may replace the number 30 in that example with the number of any minimum level required to learn your desired skills.
    You must write the rest of that Notetag exactly the same.
    .
    More examples of how the Notetags work are listed within the Script, both in its How to Use section and its Notetags Examples Key section.

    Step 5) Enjoy the Script! Maybe leave a like on this RPG Maker Forum Page?



    Script
    Actor Based Skill Progression [v1.2]
    Spoiler: Click this box to get the Script
                    Ruby:       
    1. #------------------------------------------------------------------------------#
    2. =begin
    3.                          Actor Based Skill Progression
    4.                                 by The_Sarah
    5.                                    (v1.2)
    6.                                                       
    7. --                                                                            --
    8.                              ~~~ REQUIREMENTS ~~~
    9.                         
    10.                                     None
    11.                               
    12. --                                                                            --
    13.                               ~~~ HOW TO USE ~~~
    14.                         
    15. Step 1) Create your desired Skill Types in the "Terms" tab of the Database.
    16. Step 2) Create any desired Skills for those Skill Types in the "Skills" tab of
    17.          the Database.
    18.    
    19.    
    20. Step 3) Make sure your Actors have BOTH the desired Skills and Skill Types
    21.          in their "Features" list on their page in the "Actor" tab of the
    22.          Database.
    23.    
    24.    
    25. Step 4) Add a relevant Notetag in the "Notes" boxes of the Skills you would
    26.          like to apply this script's effects to.
    27.    
    28.          An example of how to write these Notetags is:  <actorlvl30>
    29.    
    30.    
    31.          "<"        is the beginning of the Notetag and MUST be included
    32.    
    33.          "actorlvl" represents this actor level script and MUST be included
    34.    
    35.          "30"       is the minimum number you want your Actor/s to be at to
    36.                     learn the desired Skill. This number can be changed to
    37.                     any level in the game.
    38.    
    39.          ">"        is the end of the Notetag and MUST be included
    40.    
    41.    
    42.          More examples of how the Notetags work are listed below this section
    43.          in the "Notetags Examples Key".
    44.    
    45.    
    46. Step 5) Enjoy the Script!
    47.          Maybe leave a like on the RPG Maker Forum Page I post this to? :P
    48.    
    49.    
    50. --                                                                            --
    51.                            ~~~ NOTETAGS EXAMPLES ~~~
    52.                      
    53. You can write any number in your Notetag as long as it comes after the text
    54. "actorlvl" and as long as it is a level your chosen Actor/s can achieve in
    55. your game.
    56. Here are just a few examples (min means minimum):
    57.      
    58.        Notetag Examples                        Explanations
    59.         
    60.          <actorlvl1>           =      A skill learned at min Actor level 1
    61.          <actorlvl2>           =      A skill learned at min Actor level 2
    62.          <actorlvl3>           =      A skill learned at min Actor level 3
    63.          <actorlvl10>          =      A skill learned at min Actor level 10
    64.          <actorlvl11>          =      A skill learned at min Actor level 11
    65.          <actorlvl16>          =      A skill learned at min Actor level 16
    66.       
    67.          <actorlvl20>          =      A skill learned at min Actor level 20
    68.          <actorlvl37>          =      A skill learned at min Actor level 37
    69.          <actorlvl50>          =      A skill learned at min Actor level 50
    70.          <actorlvl80>          =      A skill learned at min Actor level 80
    71.          <actorlvl99>          =      A skill learned at min Actor level 99
    72.          
    73.    
    74. --                                                                            --
    75.                               ~~~ FEATURES ~~~
    76.                           
    77.    With this script, you are able to tie Skill Types and Learned Skill Levels
    78.    of chosen Skills to the Features in the Actor tab rather than the Class tab.
    79.    This makes it easier for you to allow class changing in your game without
    80.    taking away skills that should stay with your character regardless of
    81.    class change.
    82.          
    83. --                                                                            --
    84.                             ~~~ TERMS OF USE ~~~
    85.                      
    86.     If you share a game with this script in it (freely or commercially),
    87.     please credit me in the game.
    88.       Ideally like this: "Actor Based Skills script by The_Sarah"
    89.       Of like this if you edit the script yourself:
    90.                          "Original Actor Based Skills script by The_Sarah"
    91.                      
    92.                   
    93.     Other than that, this script is free to download and use or edit in any
    94.     game or project you desire (free or commercial).
    95.                      
    96. --                                                                            --
    97.                                 ~~~ BUGS ~~~
    98.                            No current known issues.
    99.            
    100. --                                                                            --
    101.                            ~~~ SPECIAL THANKS ~~~
    102.      * The_Sarah (aka me) for being awesome and making this script :D
    103.      * RPG Maker Forum user Slickdeath97 for requesting it / the idea.
    104. --                                                                            --
    105.                                 ~~~ OUTRO ~~~
    106.    Have wonderful lives everyone!
    107.    Be kind to eachother!
    108.    Remember, we're all human!
    109.                     Let's make wonderful games together!
    110.                                                             - The_Sarah
    111. =end
    112. #------------------------------------------------------------------------------#
    113. #=begin
    114. #------------------------------------------------------------------------------#
    115. #                                The Script                                    #
    116. #------------------------------------------------------------------------------#
    117. #==============================================================================
    118. # ** Game_Actor
    119. #------------------------------------------------------------------------------
    120. #  This class handles actors. It is used within the Game_Actors class
    121. # ($game_actors) and is also referenced from the Game_Party class ($game_party).
    122. #==============================================================================
    123. class Game_Actor < Game_Battler
    124.   #--------------------------------------------------------------------------
    125.   # * Aliased Method: Get Added Skills
    126.   # ** (originally found in Game_BattlerBase)
    127.   #--------------------------------------------------------------------------
    128.   alias thesarah_actorbasedskills_gameactor_addedskills           added_skills
    129.   def added_skills
    130.     if features_set(FEATURE_SKILL_ADD) {|test| $data_skills[test].note[/<actorlvl/i] }
    131.        features_set(FEATURE_SKILL_ADD).delete_if {|test| $data_skills[test].note[/<actorlvl\s*(\d+)>/i] && $1.to_i > @level}
    132.     else
    133.       thesarah_actorbasedskills_gameactor_addedskills  # calls original method
    134.     end
    135.   end
    136. end # end of Game_Actor class
    137. #=end
    复制代码

    .
    Credit and Thanks
    Me, aka The_Sarah for making the script.
    Slickdeath97 for the idea.
    .
    .
    Terms of use


    1) Users must link to this forum post when sharing the script elsewhere.
    2) Users must credit The_Sarah when sharing free games with others that have this script in them.
    3) Users must credit The_Sarah when using the script in a game selling commercially.
    4) If Users have edited the script, credit must still be provided to The_Sarah for the original script.
    5) Other than that, there is no cost and it is free to use wherever
    .

    And that's it!
    Enjoy, everyone!




    本贴来自国际rpgmaker官方论坛作者:The_Sarah处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/the_sarah-v1-2-actor-based-skill-progression.126029/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-17 10:30 , Processed in 0.136029 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表