设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
返回列表
+ 发新帖
查看: 231|回复: 0

[转载发布] RogueDeus - AP Combat System (A Yanfly Plugin)

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    昨天 03:27
  • 签到天数: 222 天

    连续签到: 1 天

    [LV.7]常住居民III

    9102

    主题

    893

    回帖

    7万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    64916
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    74941

    灌水之王

    发表于 2026-8-2 08:20:40 | 显示全部楼层 |阅读模式
    This is my AP Combat Mechanic, a plugin for Yanlfy's Battle Engine.
    (This script is no longer being developed... The version here is the final version)

    This script is no longer supported in any meaningful way, besides maintaining links. I hope you understand, that after several years of not even looking at Ruby code, it would require an unusual amount of time to re-acquaint myself with my own work, long enough to try and even identify fixes/improvements. Thus, I simply won't.



    The Core:
        At its core, this script is nothing more than a system built on-top of Yanfly's Battle Engine, that's replacing its default order of action, with Initiative Order (instant resolution) and Action Point costs for each action. It displays the battlers remaining AP (action points) at the top of the screen, in the exact same place that Yanfly's FTB Plugin does. This script also adds TWO new battle commands to every actor, which allow them to Delay their turn, or Pass their turn.

    Every significant detail is listed verbatim in the spoilered section at the bottom of this post.


    Example Video:
        For those that wish to see it in action before attempting to use it. (I apologize for the quality... I am not a professional.  
    )
        (You will see my armor mechanic at work here as well as some additional battle commands for custom item windows. Pleas ignore them for now.)










    Note: If you'll notice in the YouTube video, I am using TheoAllen's SBS v1.4 so you can be sure it works with that.



    Credits:
        - Yanfly
        - Hime (of Hime Works, aka: Tsukihime)
        - The RM community at large.

    Terms of Use:


    - New: I would appreciate it if you posted here letting me know you are using the script! It helps keep me motivated.
        - Go crazy! Do what you wish with it. Please, make sure to credit me with a link to my blog and consider (not required) giving me a free copy of whatever made with it. I know the lions share of the work, is simply getting your game done. And for that, YOU should be thanked. I'm just glad I could give back the way I've been given. This is a great community! Lets all try to keep it great.

        With Love and Cooperation!

    Note: Please visit Yanfly's blog and double check its TOU to make sure nothings changed.

    Requires:
        - Yanfly's Battle Engine! (and to be safe, his Core as well)

    Supports:
        - Hime's - Command Manager. (For ease of organizing the two new actor battle commands)

    Compatibility:
        I do not expect this script to work along side any other script, other than Yanfly's Battle Engine, that touches the BattleManager or Scene_Battle classes. So good luck trying.

    Known Issues:
        - Applying AP Adjustments to non-permanent states (that can be added or removed in battle), is buggy and can break your battlers AP! Unfortunately, fixing this will touch a lot of disparate parts of the code and may introduce even more issues that I do not have time to handle.


    You can download(v1.04) it at my blog.
        (Last Updated: 15_0827)

        Here is a quick look at the details of its use.


    SpoilerSpoiler


                            CHANGE LOG:

                            v1.00 - Initial Release

                            v1.01 -----------------------------------------
                            - Ensured surprise & preempt messages display when true.
                            - Removed dependency on Hime's Command Manager. (Now Optional)
                            - Misc housekeeping.

                            v1.02 -----------------------------------------
                            - Fixed a 'Pass Turn' Bug, caused by inadequate action clearing.
                            - Fixed visible glitch when enemies acted first on first turn.
                            - Fixed hitching in 'left' access to party command menu.
                            - Actors now lose Initiative on Delay. Unless disabled. (See: details)
                            (Implementation still getting tweaked.)
                            - Added 'Pass' & 'Delay' popups.

                            v1.03 -----------------------------------------
                            - Added 'AP Schedules' for Enemies.
                            - Added MAX_AP_MULTI for customizing default MAX AP.
                            - Added NEW TURN popup.
                            - Added SURPRSIE TURN popup.
                            - Fixed 'on_turn_end' issue with 'Pass Turn'
                            - Added 'BattleManager.surprise?' event script call.
                            - Added Support for Yanfly - Combat Log script.
                            - Added 'Delay' and 'Pass Turn' reporting to battle log.
                            - Fixed 'next_command' bug regarding 'actor.movable?'


                              v1.04 -----------------------------------------
                                - Fixed NEW TURN popup on dead battlers BUG.
                                - Fixed BattleManager.next_command BUG causing enemy actions to not
                                  clear next_command correctly, if confused.               
    Click to expand...

                    Code:       

                    Code:       







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

    本帖子中包含更多资源

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

    x

    帖子地址: 

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-10-22 01:41 , Processed in 0.077984 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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