设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker VA 讨论区 › (DoubleX)Dynamic Cost v1.00a.txt

(DoubleX)Dynamic Cost v1.00a.txt

 

DoubleX RMVXA Dynamic Cost:

        DoubleX RMVXA Dynamic Cost  v1.00a
​



        by DoubleX
​





Introduction


        Lets users alter the skill's mp or tp cost via custom formulae

Spoiler 



                        Note: Error will occur if you use def instead of self.def due to how this script works.



#------------------------------------------------------------------------------|
#  * Notetag <dynamic mp: string> for skills:                                  |
#    To add numerical values evaluated from string to its skill's mp cost, put |
#    the above notetag into that skill's notebox in the database. This notetag |
#    only takes effects on users having states with <dynamic mp> notetag.      |
#    string supports numeric constants and (needs scripting knowledge)methods  |
#    currently applicable to the current user trying to use this skill.        |
#------------------------------------------------------------------------------|
#  * Notetag <dynamic tp: string> for skills:                                  |
#    To add numerical values evaluated from string to its skill's tp cost, put |
#    the above notetag into that skill's notebox in the database. This notetag |
#    only takes effects on users having states with <dynamic tp> notetag.      |
#    string supports numeric constants and (needs scripting knowledge)methods  |
#    currently applicable to the current user trying to use this skill.        |
#------------------------------------------------------------------------------|
#  * Notetag <dynamic mp> for states:                                          |
#    To make dynamic mp costs applicable to a battler, add a state with this   |
#    notetag added to its notebox in the database to that battler.             |
#------------------------------------------------------------------------------|
#  * Notetag <dynamic tp> for states:                                          |
#    To make dynamic tp costs applicable to a battler, add a state with this   |
#    notetag added to its notebox in the database to that battler.             |
#------------------------------------------------------------------------------|

#==============================================================================|
#  ** You only need to edit this part as it's about what this script does      |
#------------------------------------------------------------------------------|

module DoubleX_RMVXA
  module Dynamic_Cost

#------------------------------------------------------------------------------|
#  * Multiply_MCR, default = true                                              |
#    The numerical values evaluated from string in skills' dynamic mp notetags |
#    will be multiplied by user's mcr before being added to their mp costs.    |
#------------------------------------------------------------------------------|
    Multiply_MCR = true

  end # Dynamic_Cost
end # DoubleX_RMVXA






Video










Features


        Use of notetags(requires knowledge of notetag usage) to set specific skills to have custom mp and tp costs for users having dynamic mp and tp states respectively


        Some custom damage formula and scripting knowledge is needed to use this script to its full potential


How to use


        Open the script editor and put this script into an open slot between Materials and Main. Save to take effect.


FAQ


        None


Credit and Thanks


DoubleX(Giving me credit is completely optional)


        No terms of use other than not claiming this script as created by anyone except DoubleX or his alias


Compatibility


        Scripts aliasing or rewriting method:


        - self.load_database under module DataManager
        - skill_mp_cost or skill_tp_cost under class Game_BattlerBase


        may have compatibility issues with this script


        Place this script above those aliasing any of these methods if possible


Changelog


        v1.00a (GMT 0900 9-8-2014):
         - 1st version of this script finished


(DoubleX)Dynamic Cost v1.00a.txt


本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/doublex-rmvxa-dynamic-cost.30866/
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

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

立即查看

Loading...

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

GMT+8, 2026-10-5 02:27 , Processed in 0.056564 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部