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

[转载发布] DoubleX RMVXA Counterattack Edit

[复制链接]
累计送礼:
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 08:41:04 | 显示全部楼层 |阅读模式
    DoubleX RMVXA Counterattack Edit  v1.05b​

    by DoubleX​


    Compatibility Fix

    DoubleX RMVXA Counterattack Compatibility Fix

    Introduction

    In the default setting, the counterattack skill's id is always 1(Attack). This is hardcoded(can only be modified by scripts).

    With this script, it can be altered but its scope is set to a single target and its repeat is set to 1(which are intended).

    (v1.01a+)Allows users to set whether magic evasion invokes counterattack

    (v1.02a+)Allows users to set whether counterattack messages will be shown
    (v1.03a+)Allows users to set whether counterattack negates hits

    (v1.04a+)Allows users to set actor's counterattack skill needs to be learnt

    (v1.05a+)Allows users to keep counterattack skill's animation, scope or times

    Spoiler(It's just the user edition region of this script. The attachment at the bottom is the complete script)

    #------------------------------------------------------------------------------|#  * (v1.01a+)Notetag <mev invoke cnt> for actors, classes, equips, enemies and|#    states:                                                                   |#    To set a battler having chance based on his/her/its CNT to invoke         |#    counterattack upon successful magic evasion, put the above notetag into   |#    the related actor's, class's, equip's, enemy's or state's notebox in the  |#    database.                                                                 |#------------------------------------------------------------------------------|#  * Notetag <counterattack skill: x> for actors(1), classes(2), equips(3),    |#    enemies(1) and states(4)
    the larger the number, the higher the priority) |#    To alter a battler's counterattack skill's id to x, put the above notetag |#    into the related actor's, class's, equip's, enemy's or state's notebox in |#    the database.                                                             |#------------------------------------------------------------------------------|#==============================================================================|#  ** You only need to edit this part as it's about what this script does      |#------------------------------------------------------------------------------|module DoubleX_RMVXA  module Counterattack_Edit#------------------------------------------------------------------------------|#  * (v1.05a+)Keep_Ani, default = false                                        |#    If Keep_Ani is true, the counterattack skill's animations will be played  |#    when the counterattack's invoked                                          |#------------------------------------------------------------------------------|    Keep_Ani = false#------------------------------------------------------------------------------|#  * (v1.05a+)Keep_Scope, default = false                                      |#    If Keep_Scope is true, the counterattack skill's scope will stay intact,  |#    otherwise it'll only target the one attacked that battler                 |#------------------------------------------------------------------------------|    Keep_Scope = false#------------------------------------------------------------------------------|#  * (v1.05a+)Keep_Times, default = false                                      |#    If Keep_Scope is true, the counterattack skill's repeats will stay intact,|#    otherwise it'll be 1                                                      |#------------------------------------------------------------------------------|    Keep_Times = false#------------------------------------------------------------------------------|#  * (v1.04a+)Actor_Learn_Counterattack_Skill, default = false                 |#    If Actor_Learn_Counterattack_Skill is true and an actor hasn't learnt the |#    counterattack skill, Default_Counterattack will be that actor's skill     |#------------------------------------------------------------------------------|    Actor_Learn_Counterattack_Skill = false#------------------------------------------------------------------------------|#  * (v1.03a+)CNT_Negate_Hit, default = true                                   |#    Normal physical hit and damage determinations will take place before that |#    of CNT if CNT_Negate_Hit is false                                         |#------------------------------------------------------------------------------|    CNT_Negate_Hit = true#------------------------------------------------------------------------------|#  * (v1.02a+)COUNTERATTACK_MESSAGE, default = true                            |#    Counterattack messages won't be shown if COUNTERATTACK_MESSAGE is false   |#------------------------------------------------------------------------------|    COUNTERATTACK_MESSAGE = true#------------------------------------------------------------------------------|#  * (v1.01a+)MEV_Invoke_CNT, default = false                                  |#    Successful magic evasion invokes counterattack with chance based on CNT if|#    MEV_Invoke_CNT is true, even when <mev invoke cnt> notetags are absent    |#------------------------------------------------------------------------------|    MEV_Invoke_CNT = false#------------------------------------------------------------------------------|#  * Default_Counterattack, default = 1                                        |#    The counterattack skill of a battler will be the one's id equal to        |#    Default_Counterattack if he/she/it doesn't have any notetag               |#------------------------------------------------------------------------------|  Default_Counterattack = 1  end # Counterattack_Editend # DoubleX_RMVXA#==============================================================================|



    Features

    Use of notetags(requires knowledge of notetag usage) to alter battlers' counterattack skills' id via notetags in the related actors', classes', equips', enemies' or states ' notebox

    A way to set all counterattack skill id without using notetags(but they still take precedence over this)

    v1.01a+:

    Use of notetags(requires knowledge of notetag usage) to set battlers having chance based on their CNT to invoke counterattack upon successful magic evasion in the related actors', classes', equips', enemies' or states ' notebox

    A way to set all battlers having such chance without using notetags(but they still take precedence over this)

    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 rewriting Vocab CounterAttack or aliasing or rewriting method:

    - item_apply under class Game_Battler

    - display_counter under class Window_BattleLog

    - apply_item_effects and invoke_counter_attack under class Scene_Battle

    may have compatibility issues with this script

    Place this script above those aliasing this method if possible

    Changelog

    v1.05b(GMT 0800 4-7-2015):

    - Fixed class notetags not working bug

    - In sync with the latest DoubleX RMVXA Substitute Edit version

    - Improved this script's readibility

    v1.05a(GMT 0200 5-7-2014):

    - Allows users to keep counterattack skill's animations, scopes and times

    - Compatible with DoubleX RMVXA Substitute Edit

    v1.04a(GMT 2300 1-4-2014):

    - Allows users to set actor's counterattack skill needs to be learnt

    v1.03a(GMT 0900 18-3-2014):

    - Allows users to set whether counterattack negates hits

    v1.02a(GMT 0000 14-2-2014):

    - Allows users to set whether counterattack messages will be shown

    v1.01b (GMT 0900 16-1-2014):

    - Fixed a & b bug in damage formula of counterattack skills

    v1.01a (GMT 1000 15-1-2014):

    - Allows users to set whether magic evasion invokes counterattack

    v1.00a (GMT 0400 5-1-2014):

    - 1st version of this script finished

    (DoubleX)Counterattack Edit v1.05b.rar


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 21:13 , Processed in 0.132177 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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