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

[转载发布] DoubleX RMVXA Intercept Magic

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

            DoubleX RMVXA Intercept Magic  v1.03b



            by DoubleX





    Introduction


            Allows users to set states that intercepts magic under some conditions(similar to FF6's Runic command)

    Spoiler 




    #------------------------------------------------------------------------------|
    #  * Notetag <intercept tier: x> for skills and states:                        |
    #    - Allows battlers having states with this notetag to intercept skills with|
    #      this notetag(x must be greater than 0 in order for this notetag to work)|
    #    - If the intercept tier of the states is greater than or equal to that of |
    #      the skills, those skills will be intercepted if other conditions are met|
    #    - If more than 1 battler can intercept a skill, the one having any        |
    #      intercept state for the shortest time will intercept the skill          |
    #    - This notetag needs <ally intercept> or <enemy intercept> to be present  |
    #      to work(they can be used together to let any battler be the interceptor)|
    #------------------------------------------------------------------------------|
    #  * Notetag <intercept mp> for skills and states:                             |
    #    - Interceptors having states with this notetag absorb mp equal to the mp  |
    #      cost of the skills intercepted if those skills also have this notetag   |
    #    - Put this notetag below <intercept tier: x> to make this notetag work    |
    #------------------------------------------------------------------------------|
    #  * Notetag <intercept tp> for skills and states:                             |
    #    - Interceptors having states with this notetag absorb tp equal to the tp  |
    #      cost of the skills intercepted if those skills also have this notetag   |
    #    - Put this notetag below <intercept tier: x> to make this notetag work    |
    #------------------------------------------------------------------------------|
    #  * (v1.02a+)Notetag <hit intercept mp> for skills and states:                |
    #    - Failed interceptions due to Intercept_MP_Limit will cause the skill to  |
    #      only hit the interceptor if both the skills and states have this notetag|
    #------------------------------------------------------------------------------|
    #  * (v1.02a+)Notetag <hit intercept tp> for skills and states:                |
    #    - Failed interceptions due to Intercept_TP_Limit will cause the skill to  |
    #      only hit the interceptor if both the skills and states have this notetag|
    #------------------------------------------------------------------------------|
    #  * (v1.03a+)Notetag <ally intercept> for skills and states:                  |
    #    - Interceptors having states with this notetag can intercept skills with  |
    #      this notetag if their users are allies and other conditions are met     |
    #    - Putting this notetag above <enemy intercept> means allies will always   |
    #      intercept the skills if enemies can also intercept them                 |
    #    - The ordering of <ally intercept> and <enemy intercept> in skills to be  |
    #      intercepted will be used if intercepting states also has those notetags |
    #    - Put this notetag below <intercept tier: x> to make this notetag work    |
    #------------------------------------------------------------------------------|
    #  * (v1.03a+)Notetag <enemy intercept> for skills and states:                 |
    #    - Interceptors having states with this notetag can intercept skills with  |
    #      this notetag if their users are enemies and other conditions are met    |
    #    - Putting this notetag above <ally intercept> means enemies will always   |
    #      intercept the skills if allies can also intercept them                  |
    #    - The ordering of <ally intercept> and <enemy intercept> in skills to be  |
    #      intercepted will be used if intercepting states also has those notetags |
    #    - Put this notetag below <intercept tier: x> to make this notetag work    |
    #------------------------------------------------------------------------------|
    #  * (v1.03a+)Notetag <intercept chance: x> for skills and states:             |
    #    - Interceptors having states with this notetag have a x% chance to        |
    #      intercept skills that can be intercepted if other conditions are met    |
    #    - Skills that can be intercepted with this notetag have a x% chance to be |
    #      intercepted by interceptors if other conditions are met                 |
    #    - The real chance of success is that of intercepting states multiplied by |
    #      that of skills to be intercepted                                        |
    #    - If this notetag is absent, the chance of success will be 100%           |
    #------------------------------------------------------------------------------|

    #------------------------------------------------------------------------------|
    #  * (v1.01a+)Intercept_Animation_Id, default = 0                              |
    #    Animations with id Intercept_Animation_Id will be played upon interception|
    #    if 0 < Intercept_Animation_Id < 1000                                      |
    #------------------------------------------------------------------------------|
      Intercept_Animation_Id = 0

    #------------------------------------------------------------------------------|
    #  * Intercept_SE, default = RPG::SE.new(File, Volume, Pitch)                  |
    #    SE file File with volume Volume and pitch Pitch will be played upon       |
    #    successful interceptions                                                  |
    #------------------------------------------------------------------------------|
      # File is a SE file without specifying its extension and with or without
      # specifying its path
      # Volume and Pitch range from 1 to 100 and 5 to 200 respectively
      # Setting Intercept_SE as nil or false will disable this feature
      Intercept_SE = RPG::SE.new("Absorb1", 80, 100)

    #------------------------------------------------------------------------------|
    #  * Intercept_Times_Limit, default = 0                                        |
    #    Intercept states will worn off after its battlers intercepted             |
    #    Intercept_Times_Limit skills(0 here means no such limit)                  |
    #------------------------------------------------------------------------------|
      Intercept_Times_Limit = 0

    #------------------------------------------------------------------------------|
    #  * (v1.02a+)Count_Fail_Intercept, default = true                             |
    #    Failed interceptions will also be counted for Intercept_Times_Limit       |
    #------------------------------------------------------------------------------|
      Count_Fail_Intercept = true

    #------------------------------------------------------------------------------|
    #  * Intercept_MP_Limit, default = true                                        |
    #    If Intercept_MP_Limit is true and the interceptors' MP will be greater    |
    #    than their MMP after intercepting a skill, that skill can't be intercepted|
    #------------------------------------------------------------------------------|
      Intercept_MP_Limit = true

    #------------------------------------------------------------------------------|
    #  * Intercept_TP_Limit, default = true                                        |
    #    If Intercept_TP_Limit is true and the interceptors' TP will be greater    |
    #    than their max TP value after intercepting a skill, that skill can't be   |
    #    intercepted                                                               |
    #------------------------------------------------------------------------------|
      Intercept_TP_Limit = true

    #------------------------------------------------------------------------------|
    #  * Intercept_Learnt_Skill, default = true                                    |
    #    Battlers can only intercept skills that they're learnt                    |
    #------------------------------------------------------------------------------|
      Intercept_Learnt_Skill = true

    #------------------------------------------------------------------------------|
    #  * Intercept_Usable_Skill, default = true                                    |
    #    Battlers can only intercept skills that they can use at the moment        |
    #------------------------------------------------------------------------------|
      Intercept_Usable_Skill = true

    #------------------------------------------------------------------------------|
    #  * Intercept_Learn_Skill, default = false                                    |
    #    Successful interceptions causes interceptors to learn intercepted skills  |
    #------------------------------------------------------------------------------|
      Intercept_Learn_Skill = false

    #------------------------------------------------------------------------------|
    #  * Intercept_MCR, default = true                                             |
    #    The MP absorbed by the interceptor will be the actual MP used by the users|
    #    of the skills intercepted If Intercept_MCR is true                        |
    #------------------------------------------------------------------------------|
      Intercept_MCR = true






    Video










    Features


            Use of notetags(requires knowledge of notetag usage) to set specific states to let battlers intercept skills


    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
            - add_state under class Game_Battler
            - use_item under class Scene_Battle


            may have compatibility issues with this script


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


    Changelog


            v1.03b(GMT 1400 7-7-2015):


            - Improved this script's efficiency and readability


            v1.03a(GMT 1000 7-12-2014):


            - Added <ally intercept>, <enemy intercept> and <intercept chance>notetags


            v1.02b(GMT 1000 27-7-2014):


            - Fixed crashes with Intercept_MP_Limit or Intercept_TP_Limit being true


            v1.02a(GMT 0700 21-6-2014):


            - Added <hit intercept mp> and <hit intercept tp> notetags


            v1.01a(GMT 0200 8-4-2014):


            - Allows users to set intercept animations


            v1.00b(GMT 0900 7-4-2014):


            - Fixed intercept magic not working on allies' skills bug


            v1.00a (GMT 0700 5-4-2014):
             - 1st version of this script finished


    (DoubleX)Intercept Magic v1.03b.rar


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 21:16 , Processed in 0.139530 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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