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

[转载发布] [FROG] Level-based Traits for Classes, Actors and Races

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

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Level-based Traits 1.0
    by Frogboy


    Introduction

    Alright!  My Fire Mage has all her awesome fiery skills of fieriness.  Now all she needs are fire-based traits to go with them and she ... will ... be … finished.  Okay, so she should probably start out with 10% fire protection and it’ll scale up until around level 50 where she will gain full immunity.  Let’s enter this into the editor and … uhhh … crap!  * sad trombone *

    By default RPG Maker only gives you the ability to make it so that a character either has a trait or doesn’t have a trait.  There’s no in-between.  Full fire immunity seems a bit too much for a level 1 Fire Mage.  And what about my Fighter?  He was supposed to get an extra attack every 10 levels?  He can’t start with 6 attacks!!!

    Well fear not, you can now do these things and more.  Actually, you’ve been able to for quite some time with other plugins, so why does this one even exist?  I’m glad you asked!  All of these other plugins were developed before RPG Maker MV 1.5 which means they rely on you learning how MV stores and processes traits in order to utilize them.  So you have to navigate look-up tables and then enter cryptic text into Note tags that you'll totally remember the meaning of a few weeks from now. /s

    That’s where this plugin comes into play.  I’ve been trying to figure out a good way to implement this feature into RPG Maker MV for a while and the plugin upgrade for 1.5 finally made it possible.  Now you can define level-based traits in an easy to understand way that closely resembles the editor itself.






    It's just like using the editor to add traits but with more power.

    Here are few examples of what you can easily do as your characters go up in level.


    • Adjust Elemental Resistance
    • Increase Hit%, Critical% and/or Evade%
    • Resist status ailments better
    • Gain immunity to Poison and/or Disease
    • Gain Extra Attacks
    • Reduce Floor Damage
    • Gain a chance to Poison or Blind when attacking
    • Gain addition Skill Types
    • Gain new weapon and armor proficiencies
    • No longer risk being surprised during encounters

    How to Use

    Using this plugin is easy.  I’m kind of hoping that will become my signature.  Just about everything you need is right there in the parameters.  Every beneficial trait that is relevant to actors, classes or races is listed along with several parameters.  I've separated this plugin into three so that you can add only the functionality you need.  If you only want to use this for classes and not the others, you can just install that.  Having all of this in one plugin was a bit messier in the parameters and required more processing power if you only need one or two of these.  If you do need level-based traits for actors, classes and races then just install all three plugins and you're good to go.

    Description - This is text that you’ll want to enter so that you’ll know what that particular level-based trait is.  An example would be something like “Fire Mage - 20% Fire Resist Lvl 1”.  This isn’t required but is very helpful so you know what each one is doing at a glance.

    Class/Actor/Race- This is where you select the class, actor or race that this level-based trait belongs to.

    Start Level - This is the level that the actor or class gains this trait.

    End Level - This is the level that this trait will expire.  Because of the way MV stacks traits, it’s often times better to remove one and then replace it with a better version.  Otherwise, newer version will be combined and produce harder to manage results.

    Trait-specific Parameters - There will always be one or two parameters that you will fill in just as you would in the editor itself. Most of the time, you’ll be able to select easy to understand options from drop-down lists like “Encounter Half” for Party Ability. The exception to this are your custom Types in the database.  For whatever reason, the 1.5 plugin parameters don’t have an option to generate a select list from these so you have to enter in the ID until this oversight is remedied.


    Examples:

    I want my Fighter to gain an extra attack every 10 levels.

    Under Class-based Traits -> Attack -> Extra Attacks, enter in these parameter values.  Because Extra Attacks are added and not multiplied, you can just add one extra attack every 10 levels and they will accumulate.

    Description: Fighter Lvl 10 - 2 Attacks
    Class: Select Fighter from the list
    Start Level: 10
    End Level: 100 (This is always the default end value)
    Extra Attacks: 1

    Description: Fighter Lvl 20 - 3 Attacks
    Class: Select Fighter from the list
    Start Level: 20
    End Level: 100
    Extra Attacks: 1

    … do the same for levels 30 and 40 …

    Description: Fighter Lvl 50 - 6 Attacks
    Class: Select Fighter from the list
    Start Level: 50
    End Level: 100
    Extra Attacks: 1


    I want my Fire Mage to gain fire resistance as she levels up.




    By adding a short description, you can know at a glance what each entry is doing.

    Under Class-based Traits -> Rates -> Element Rate, enter in these parameter values.  Because Element Rate is multiplied when stacked, you’ll want to set each one to expire when the next kicks in so that only one is ever added to the actor or class at a time.

    Description: Fire Mage Lvl 1 - 20% Resist
    Class: Select Fire Mage from the list
    Start Level: 1
    End Level: 10
    Element ID: 2 (Sorry, no way to make list from this)
    Percentage: 80

    Description: Fire Mage Lvl 10 - 40% Resist
    Class: Select Fire Mage from the list
    Start Level: 10
    End Level: 20
    Element ID: 2
    Percentage: 60

    Description: Fire Mage Lvl 20 - 60% Resist
    Class: Select Fire Mage from the list
    Start Level: 20
    End Level: 30
    Element ID: 2
    Percentage: 40

    Description: Fire Mage Lvl 30 - 80% Resist
    Class: Select Fire Mage from the list
    Start Level: 30
    End Level: 40
    Element ID: 2
    Percentage: 20

    Description: Fire Mage Lvl 40 - Fire Immunity
    Class: Select Fire Mage from the list
    Start Level: 40
    End Level: 100
    Element ID: 2
    Percentage: 0


    Races

    You will need the FROG_RaceCoreplugin to utilize the Races version of the Level-based Traits plugin.

    For my examples, I’ll draw mostly from Dungeons & Dragons where such a system is part of the core character creation mechanic.  Like D&D, my examples will all apply at level 1 and be permanent but this plugin does allow you to be more creative and have them scale up with level like in the examples I detailed for actors and classes.

    Example:

    Dwarf

    This race is usually quite hearty and has better constitution than most.  As such, they would likely receive a bonus to Max HP and better resistance to Poison.  They also tend to be more resistant to Magic.

    Under Race-based Traits -> Param -> Parameter -> Max HP, enter in these parameter values.
    Description: Dwarven HP Up
    Race: Dwarf
    Start Level: 1
    End Level: 100
    Parameter: Max HP
    Percentage: 110

    Under Race-based Traits -> Rate -> State Rate -> Poison, enter in these parameter values.
    Description: Dwarven Poison Resistance
    Race: Dwarf
    Start Level: 1
    End Level: 100
    Parameter: Poison
    Percentage: 50

    Under Race-based Traits -> Param -> Parameter -> Magic Defense, enter in these parameter values.
    Description: Dwarven Magic Resistance
    Race: Dwarf
    Start Level: 1
    End Level: 100
    Parameter: Magic Defense
    Percentage: 120

    Elf

    This race is typically more lean and nimble than most others.  They are usually more attuned with Magic as well.  As such, they would receive a bonus to Agility and Magic Attack but take a penalty to Max HP and be more susceptible to Poison.  Elves are also taught to use swords and bows from a young age so should gain weapon proficiency in those.  They may need to have a slight decrease to Defense as well to balance them out.  I’m not going to list out how to set this one or the other common race archetypes as it should be pretty easy to figure out.  If you need any help with this, just ask.


    Script Calls and Plugin Commands

    All races are initially assigned a Default Race that can be configured within the plugin parameters.  It doesn't make much sense to just assign races as you could just as easily give the relevant traits to the actor or class instead. So typically, you'll allow the player to choose their character's race and use one of the following two methods to assign it.  You can also get any actor’s race if you need to use it outside of this plugin.

    Script Commands to get and set races

                    Code:       
    1. FROG.LBTR.setRace(actorId, race);
    2. FROG.LBTR.getRace(actorId);
    复制代码



    Plugin Commands to get and set races (Don't include the brackets)

                    Code:       
    1. SET_RACE [actorId] [race]
    2. GET_RACE [actorId] [variableId]
    复制代码



    Terms of Use

    This plugin can be used in commercial or non-commercial projects. Credit Frogboy in your work.


    Changelog

    Version 1.0 - Initial release


    Download

    My Plugins Page - https://frogboymv.github.io/
    All Level-based Traits Plugins - https://github.com/FrogboyMV/LevelBasedTraits
    Race Core - https://github.com/FrogboyMV/RaceCore


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-1 04:52 , Processed in 0.139154 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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