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

[转载发布] TP Upgrade [v3.02] (Max TP Rate, Initial Battle TP, TP Cost/Gain, TP Damage, and

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

    连续签到: 2 天

    [LV.7]常住居民III

    8003

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 4 天前 | 显示全部楼层 |阅读模式

    TP Upgrade



    Version 3.02



    by SumRndmDde



             



             









             



             



    What This Plugin Does:


            Currently, TP is restricted to having a specific Max and Initial value, along with being forced to have specific mechanics built into it.


            This Plugin allows you to change all of this.


    Max TP


    • Can set an Actor's Max TP to be a certain value or JavaScript formula.
    • Can change an Actor's Max TP with equipments, classes, states, etc. and do so by adding or subtracting a certain value, percent(%), or JavaScript formula.
    • An Enemy's Max TP can also be set.

    Initial TP


    • Can set an Actor's Initial TP (the TP they start the battle with) as a value or JavaScript formula.
    • And similar to the Max TP, you can manipulate the Initial TP using equipments, classes, states, and more!

    Skill/Item Cost, Gain, and Damage


    • Can set a Skill's TP cost to any value, percent(%), or JavaScript formula.
    • Can set a Skill or Item's TP gain to any value, percent(%), or JavaScript formula.
    • Can set a Skill or Item to do TP Damage and set a formula for how much damage is done.

    Set or Add TP to Actors


    • Can set or add Actors' TP to a certain value or percent(%).
    • Can set or add TP to all Actors in the party.
    • Can set or add TP to an Actor based on their position in the party.

    Parameters


    • Can set a minimum or maximum for the Max TP
    • Can set it so all TP is preserved after battles
    • Can restrict TP from being gained due to damage.
    • Can show TP bar with Max TP in the Status Menu.





    How to Use It:


            First, install the Plugin.


            Next, watch the video above or read the text below:


    Parameters

    SpoilerMinimum Max TP
                            The minimum amount of Max TP an Actor or Enemy may have.
                            Default is 1


    Maximum Max TP


                            The maximum amount of Max TP an Actor or Enemy may have.
                            Default is 99999


    Restrict Damage Gain?
                            Setting this to 'true' will stop Actors and Enemies from gaining TP due to damage.
                            Default is false


    Preserve TP?
                            Set this to 'true' and TP will be saved and stored after battles the same was HP or MP is.
                            Default is false

    Max TP in Status?
                            Set this to 'true' to add TP bar with Max TP in Status Screen. Removes the State Icons, however.
                            Default is true


    TP Bonus Crit Use


                            Amount of TP given when battler does critical. Is JavaScript eval using 'user' and 'target'.
                            Default is 0

    TP Bonus Super Use
                            Amount of TP given when battler does super-effective. Is JavaScript eval using 'user' and 'target'.
                            Default is 0

    TP Bonus Crit Take
                            Amount of TP given when battler is hit with critical. Is JavaScript eval using 'user' and 'target'.
                            Default is 0

    TP Bonus Super Take
                            Amount of TP is given when battler is hit with super-effective. Is JavaScript eval using 'user' and 'target'.
                            Default is 23 (jk, it's 0)








    Actor, Class, Equipment, Weapon, and State Notetags

    Spoiler                Code:       
    1. <Max TP: value>
    复制代码


                            Sets the base Max TP of the Actor to 'value'.


                            Value can be a JavaScript eval.


                            Overwrittes based on priority: State, Weapon, Equipment, Class, Actor.


                            Examples:


                            <Max TP: 5>
                            <Max TP: this.level * 2>

                    Code:       
    1. <Change Max TP: +value>
    2. <Change Max TP: -value>
    复制代码


                            Adds the 'value' to the Actor's Max TP.


                            Value can be a JavaScript eval.


                            Examples:


                            <Change Max TP: +300>


                            <Change Max TP: this.atk * 2>

                    Code:       
    1. <Change Max TP: +value%>
    2. <Change Max TP: -value%>
    复制代码


                            Adds the 'value' to the Actor's Max TP.


                            The value is a percent based off of the Actor's Max TP.


                            Value can be a JavaScript eval.


                            Examples:


                            <Change Max TP: +50%>


                            <Change Max TP: -(this.level)%>

                    Code:       
    1. <Initial TP: value>
    复制代码


                            Sets the base Max TP of the Actor to 'value'.


                            Value can be a JavaScript eval.


                            Overwrittes based on priority: State, Weapon, Equipment, Class, Actor.


                            Examples:


                            <Initial TP: 5>


                            <Initial TP: this.level * 2>

                    Code:       
    1. <Change Initial TP: +value>
    2. <Change Initial TP: -value>
    复制代码


                            Adds the 'value' to the Actor's Max TP.


                            Value can be a JavaScript eval.


                            Examples:


                            <Change Initial TP: +300>


                            <Change Initial TP: this.atk * 2>

                    Code:       
    1. <Change Initial TP: +value%>
    2. <Change Initial TP: -value%>
    复制代码


                            Adds the 'value' to the Actor's Max TP.


                            The value is a percent based off of the Actor's Max TP.


                            Value can be a JavaScript eval.


                            Examples:


                            <Change Initial TP: +50%>


                            <Change Initial TP: -(this.level)%>








    Enemy Notetags

    SpoilerSets the base Max TP of the Actor to 'value'.


                            Value can be a JavaScript eval.


                            Examples:


                            <Max TP: 5>


                            <Max TP: this.atk * 2>








    Skill Notetags

    Spoiler                Code:       
    1. <TP Cost: value>
    复制代码


                            Sets the cost of the TP of the Skill.


                            Value can be a JavaScript eval.


                            Examples:


                            <TP Cost: 120>


                            <TP Cost: this.level * 2>

                    Code:       
    1. <TP Cost: value%>
    复制代码


                            Sets the cost of the TP of the Skill.


                            The value is a percent based off of the Actor's Max TP.


                            Value can be a JavaScript eval.


                            Examples:


                            <TP Cost: 50%>


                            <TP Cost: (this.level * 2)%>








    Skill and Item Notetags

    Spoiler                Code:       
    1. <TP Damage: value>
    复制代码


                            Sets the TP damage value that will be afflicted onto the target.


                            Value can be a JavaScript eval that uses 'a' and 'b' as user and target.


                            Examples:


                            <TP Damage: 120>


                            <TP Damage: a.atk * 2 - b.def>

                    Code:       
    1. <TP Damage: value%>
    复制代码


                            Sets the TP damage value that will be afflicted onto the target.


                            The value is a percent based off of the Target's Max TP.


                            Value can be a JavaScript eval that uses 'a' and 'b' as user and target.


                            Examples:


                            <TP Damage: 50%>


                            <TP Damage: ((a.mat / (a.mat - 1)) * 100)%>

                    Code:       
    1. <TP Gain: value>
    复制代码


                            Sets the gain of the TP of the Skill or Item.


                            Value can be a JavaScript eval that uses 'user' and 'target'.


                            Examples:


                            <TP Gain: 120>


                            <TP Gain: this.level * 2>

                    Code:       
    1. <TP Gain: value%>
    复制代码


                            Sets the gain of the TP of the Skill or Item.


                            The value is a percent based off of the Actor's Max TP.


                            Value can be a JavaScript eval that uses 'user' and 'target'.


                            Examples:


                            <TP Gain: 50%>


                            <TP Gain: (this.def * 0.5)%>








    Plugin Commands:

    SpoilerSetActorTP [actor] [value]


                            This sets a specific actor's TP to a specific value.


    AddActorTP [actor] [value]


                            This adds a specific actor's TP to a specific value.


                            What 'actor' can be set to:


                            - Set this to the Actor ID of the Actor you wish to set the TP of.


                            - Set this to 'party' to set the TP of all party members.


                            - Set this to 'pos#' to set the TP of an Actor in a certain position of


                            the party. Example: pos1, pos3, pos4, etc. (pos1 is the first position.)


                            What 'value' can be set to:


                            - Set this to a direct number value. Example: 100, 30, 70


                            - Set this to a % value based off of the target's Max TP. Example: 50%, 20%


    Plugin Command Examples:



    SetActorTP 1 50
    AddActorTP 3 -300
    SetActorTP 2 6%
    AddActorTP party 90%
    SetActorTP party 0
    SetActorTP pos1 100%
    AddActorTP pos3 900








    Download:


    You can download it from here:


    http://sumrndm.site/tp-upgrade/


    Installation:


            - Place this Plugin below Yanfly's Core Engine if you are using it.


            - Place this above any Status Menu manipulator if you wish to have complete


            control over the Status Menu manipulation. Otherwise, you should place this


            Plugin below it.


    Terms of Use:


    - This Plugin may be used in free or commercial games.


    - You are allowed to edit.


    - If used in any publicly released game, then "SumRndmDde" must be given credited.


    - Would be awesome if you link my YouTube also.


    Questions and Answers:


            When someone asks a question pertaining to TP Upgrade 3.00, then it'll be placed here! ^^


    Changelog:


    Version 3.02


             - Can now use:

                    Code:       
    1. <TP Heal: x>
    2. <TP Heal: x%>
    复制代码


            In Skills and Items to make them recover TP.


    Version 3.01


             - Preserve TP parameter was forced back into its place.


    Version 3.00


             - This Plugin was rewritten from nothing but dirt and water.


            Mostly water though....


    Version 2.14 and below


             - The changes made before v3.00 and mostly irrelevant


            since the Plugin was completely rewritten.


    本贴来自国际rpgmaker官方论坛作者:SumRndmDde处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/tp-upgrade-v3-02-max-tp-rate-initial-battle-tp-tp-cost-gain-tp-damage-and-more.50692/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-1 09:32 , Processed in 0.110999 second(s), 54 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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