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

(DoubleX)YSA CATB Escape Addon v1.02c.txt

 

DoubleX RMVXA Escape Addon to YSA Battle System: Classical ATB:

        DoubleX RMVXA Escape Addon v1.02c to YSA Battle System: Classical ATB
​



        by DoubleX
​





Prerequisites


DoubleX RMVXA Bug Fixes to YSA Battle System: Classical ATB


YSA Battle System: Classical ATB(Created by Yami)


Introduction


        With this script, each failed escape clears charge bar and consumes 1 action time of all battlers. Those with action times <= 1(0 here means atb bar not full) will have atb bar cleared after a failed escape.

Spoiler 




    # This feature needs
    # DoubleX RMVXA Action Addon to YSA Battle System: Classical ATB
    # ESCAPE_ACTION, default = 1
    # All party members need ESCAPE_ACTION actions to make a party escape
    ESCAPE_ACTION = 1

    # This feature needs
    # DoubleX RMVXA Cooldown Addon to YSA Battle System: Classical ATB
    # ESCAPE_COOLDOWN, default = 0
    # All party members will cooldown with rate ESCAPE_COOLDOWN after
    # failed escapes
    # Setting ESCAPE_COOLDOWN as 0 will disable this feature
    ESCAPE_COOLDOWN = 0

    # This feature needs decent understanding of RGSS3 and YSA-CATB scripts
    # ESCAPE_CONDITION, default =
    %Q(@action_actors.size < $game_party.members.size ||
    @action_actors.any? { |actor| actor.catb_action_times < ESCAPE_ACTION ||
    actor.ct_catb_value > 0 ||
    $imported["DoubleX RMVXA Cooldown Addon to YSA-CATB"] &&
    actor.cd_catb_value > 0 })
    # ESCAPE_COMDITION must be met to be possible to make a party escape
    ESCAPE_CONDITION = %Q(@action_actors.size < $game_party.members.size ||
    @action_actors.any? { |actor| actor.catb_action_times < ESCAPE_ACTION ||
    actor.ct_catb_value > 0 ||
    $imported["DoubleX RMVXA Cooldown Addon to YSA-CATB"] &&
    actor.cd_catb_value > 0 })

    # This feature needs
    # DoubleX RMVXA Reset Addon to YSA Battle Add-on: Lunatic CATB Reset
    # ESCAPE_RESET, default = "0"
    # Sets the Party escape reset value as an actual value ESCAPE_RESET
    # The default MAX_CATB_VALUE is 100000.0
    ESCAPE_RESET = "0"






Video










Features
        Plug and play(You don't need to edit anything in this script but you may still do so)

How to use
        Open the script editor and put this script into an open slot between the script DoubleX RMVXA Bug Fixes to YSA Battle System: Classical ATB and Main. Save to take effect.

FAQ
        Q1: How can I set ESCAPE_CONDITION without any scripting nor YSA-CATB scripts knowledge? For me its default value is just incomprehensible.


        A1: You can ask here for ways to setup specific escape conditions but I don't think I'm good enough to be a scripting teacher(and I used an entire week just to briefly understand the original YSA-CATB script)  


Credit and Thanks
DoubleX(Giving me credit is completely optional)
        The terms of use are the same as that of YSA Battle System: Classical ATB except that you must also give Yami credit(you should do this anyway) if you give DoubleX or his alias credit
         
Compatibility
        Same as that of YSA Battle System: Classical ATB
         
Changelog


        v1.02c(GMT 1200 25-2-2014):


        - In sync with the latest version of other CATB scripts


        v1.02b(GMT 1400 19-9-2014):


        - Fixed ESCAPE_ACTION and ESCAPE_COOLDOWN not working bug


        v1.02a(GMT 0700 4-9-2014):


        - Added ESCAPE_ACTION, ESCAPE_COOLDOWN, ESCAPE_CONDITION and ESCAPE_RESET


        v1.01a(GMT 0900 13-2-2014):


        - Compatible with DoubleX RMVXA Constants Edit


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


        - 1st version of this script finished


(DoubleX)YSA CATB Escape Addon v1.02c.txt


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

幸运抽奖

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

立即查看

Loading...

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

GMT+8, 2026-10-24 21:14 , Processed in 0.048477 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部