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

[转载发布] DoubleX RMMV Item Charge

[复制链接]
累计送礼:
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 天前 | 显示全部楼层 |阅读模式
    Purpose


            Lets you set skills/items to need turns to charge before using


    Games using this plugin


            None so far


    Introduction

    Spoiler*      Suppose a battler has n action slots(that battler can input n actions
    *      in a single turn), and suppose that battler has inputted n actions,   
    *      each needing xi turns to be charged, where 1 <= i <= n, then that     
    *      battler will behave as follows:                                       
    *      1. At turn y, that battler has inputted the aforementioned n actions  
    *      2. At turn y + x1, that battler will execute the 1st inputted action  
    *      3. At turn y + x1 + x2, that battler will execute the 2nd inputted   
    *         action                                                            
    *      4. At turn y + x1 + x2 + x3, that battler will execute the 3rd        
    *         inputted action                                                   
    *      5. At turn y + x1 + x2 + x3 + ... + xi, where 1 <= i <= n, that      
    *         battler will execute the ith action                                
    *      6. At turn y + x1 + x2 + x3 + ... + xn, that battler will execute the
    *         nth action                                                         
    *      7. At turn y + x1 + x2 + x3 + ... + xn + 1, that battler will become  
    *         able to input actions again                                       
    *      If the ith action that's not executed yet is the 1st one needing      
    *      charging, the battler speed will only take the first (i - 1)th        
    *      actions' speeds into account                                          
    *      Item charging's ignored by forced actions






    Parameters

    Spoiler* @param isEnabled
    * @desc Sets whether this plugin will be enabled
    *       It'll be stored as a boolean, and will be regarded as true if and only
    *       if it's true
    *       Don't change this during the same battle unless you really know what
    *       you're truly foing
    *       E.g.: Setting isEnabled as false will disable this plugin
    * @default true
    *
    * @param textColor
    * @desc Sets the text color of the text showing the number of turns needed to
    *       charge the skill/item on the skill/item window
    *       It'll be stored as a Number
    *       Don't change this when it's shown to ensure proper text displays
    *       E.g.: Setting textColor as 31 will set the text color of the text
    *             showing the number of turns needed to charge the skill/item on
    *             the skill/item window as 31
    * @default 30






    Notetags

    Spoiler*    # Skill/Item Notetags:                                                  
    *      1. <item charge: turns>                                               
    *         - Sets the number of turns needed to charge the skill/item before  
    *           using it as turns                                                
    *         - E.g.:                                                            
    *           <item charge: 1> will set the number of turns needed to charge   
    *           the skill/item before using it as 1                              
    *         - Only the 1st notetag will be used






    Plugin Calls

    Spoiler*    # Configuration manipulations                                          
    *      1. $gameSystem.itemCharge.param                                       
    *         - Returns the stored value of param listed in the plugin manager   
    *         - E.g.:                                                            
    *           $gameSystem.itemCharge.textColor will return the stored value of
    *           parameter textColor shown on the plugin manager                  
    *      2. $gameSystem.itemCharge.param = val                                 
    *         - Sets the stored value of param listed in plugin manager as val   
    *         - E.g.:                                                            
    *           $gameSystem.itemCharge.isEnabled = false will set the stored     
    *           value of parameter isEnabled shown on the plugin manager as false
    *         - All $gameSystem.itemCharge.param changes will be saved           
    *    # Skill/Item notetag manipulations                                      
    *      1. meta.itemCharge                                                   
    *         - Returns the <item charge: turns> notetag value turns as a Number
    *         - E.g.:                                                            
    *           $dataSkills[1].meta.itemCharge will return the                  
    *           <item charge: turns> notetag value of skill with id 1            
    *      2. meta.itemCharge = turns                                            
    *         - Sets the <item charge: turns> notetag value turns as a Number   
    *         - E.g.:                                                            
    *           $dataItems[2].meta.itemCharge = 0 will set the                  
    *           <item charge: turns> notetag value of item with id 2 as 0        
    *         - All meta.itemCharge changes can be saved if                     
    *           DoubleX RMMV Dynamic Data is used






    Video










    Prerequisites


            Abilities:


            1. Nothing special for most ordinary use cases


            2. Little RMMV plugin development proficiency to fully utilize this


    Instructions

    Spoiler* The skill/item window charging turn display can be problematic if the
    * number of turn's 1000 or above
    * The default plugin file name is DoubleX RMMV Item Charge v100a
    * If you want to change that, you must edit the value of
    * DoubleX_RMMV.Item_Charge_File, which must be done via opening this plugin
    * js file directly






    Terms Of Use

    Spoiler*      1. Commercial use's always allowed and crediting me's always optional.
    *      2. You shall keep this plugin's Plugin Info part's contents intact.   
    *      3. You shalln't claim that this plugin's written by anyone other than
    *         DoubleX or my aliases. I always reserve the right to deny you from
    *         using any of my plugins anymore if you've violated this.           
    *      4. CC BY 4.0, except those conflicting with any of the above, applies
    *         to this plugin, unless you've my permissions not needing follow so.
    *      5. I always reserve the right to deny you from using this plugin      
    *         anymore if you've violated any of the above.






    Changelog

    Spoiler*      v1.00a(GMT 0800 28-8-2016):                                          
    *      1. 1st version of this plugin finished






    Download


    View attachment DoubleX RMMV Item Charge v100a.rar


    DoubleX RMMV Item Charge


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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-1 05:53 , Processed in 0.119034 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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