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

[转载发布] Falcao Pearl ABS Liquid v3 - Cooldown Stopper

[复制链接]
累计送礼:
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-2 14:24:30 | 显示全部楼层 |阅读模式
    Falcao Pearl ABS Liquid v3 - Cooldown Stopper
    by: IneptAttorney​


    Description
    This script allow you to stop the cooldown of Tools and State by using switch. For Falcao Pearl ABS Liquid v3.
    Terms Of Use
    Free for Commercial and non-commercial project. Remember to give me a credit on your project.
    Script
    Spoiler                Ruby:       
    1. #===============================================================================
    2. # * Falcao Pearl ABS Liquid V3 Cooldown Stopper
    3. #===============================================================================
    4. # Author: IneptAttorney
    5. # Date: 22 July 2020
    6. # Required: Falcao Pearl ABS Liquid v3
    7. #===============================================================================
    8. # * Description
    9. #   This script allows you to stop the cooldown of equipment or state by using a
    10. #   switch.
    11. #===============================================================================
    12. # * Terms of Use
    13. #   Credit IneptAttorney on your project! Free for commercial and non-commercial
    14. #   Project.
    15. #===============================================================================
    16. # * Usage
    17. #   Set the configuration Below. Turn on the switch to stop the cooldown of the
    18. #   tools.
    19. #===============================================================================
    20. module INEPTATTRNY
    21.   #----------------------------------------------------
    22.   # * Switch to stop Skills Cooldown
    23.   #----------------------------------------------------
    24.   SKILL_CD_SWITCH = 1
    25.   #----------------------------------------------------
    26.   # * Switch to stop Items Cooldown
    27.   #----------------------------------------------------
    28.   ITEM_CD_SWITCH = 2
    29.   #----------------------------------------------------
    30.   # * Switch to stop Weapons Cooldown
    31.   #----------------------------------------------------
    32.   WEAPON_CD_SWITCH = 3
    33.   #----------------------------------------------------
    34.   # * Switch to stop Armors Cooldown
    35.   #----------------------------------------------------
    36.   ARMOR_CD_SWITCH = 4
    37.   #----------------------------------------------------
    38.   # * Switch to stop States Cooldown
    39.   #----------------------------------------------------
    40.   STATE_CD_SWITCH = 5
    41. end
    42. #===============================================================================
    43. # * Configuration Ends!
    44. #===============================================================================
    45. class Game_CharacterBase
    46.   def update_state_action_steps
    47.     for state in battler.states
    48.       if state.remove_by_walking
    49.         if !battler.state_steps[state.id].nil? &&
    50.           battler.state_steps[state.id] > 0
    51.           battler.state_steps[state.id] -= 1 if $game_switches[INEPTATTRNY::STATE_CD_SWITCH] == false
    52.         end
    53.         if battler.state_steps[state.id] == 0
    54.           battler.remove_state(state.id)
    55.           pop_damage
    56.         end
    57.       end
    58.       if state.restriction == 4
    59.         @stopped_movement = 10
    60.         @pattern = 2 if @knockdown_data[0] == 0
    61.       end
    62.       state.features.each do |feature|
    63.         if feature.code == 22
    64.           @knockdown_data[0] =10 if state.restriction == 4 && feature.data_id==1
    65.           next unless feature.data_id.between?(7, 9)
    66.           apply_regen_state(state, feature.data_id)
    67.         end
    68.       end
    69.     end
    70.   end
    71. end
    72. #===============================================================================
    73. class << Input
    74.   # cooldown update
    75.   def eval_cooldown(operand)
    76.     for sub in operand
    77.       if $game_switches[INEPTATTRNY::SKILL_CD_SWITCH] == false
    78.         sub.skill_cooldown.each {|sid, sv| # skill
    79.         if sub.skill_cooldown[sid] > 0
    80.           sub.skill_cooldown[sid] -= 1
    81.           sub.skill_cooldown.delete(sid) if sub.skill_cooldown[sid] == 0
    82.         end}
    83.       end
    84.       if $game_switches[INEPTATTRNY::ITEM_CD_SWITCH] == false
    85.       sub.item_cooldown.each {|iid, iv| # item
    86.         if sub.item_cooldown[iid] > 0
    87.           sub.item_cooldown[iid] -= 1
    88.           sub.item_cooldown.delete(iid) if sub.item_cooldown[iid] == 0
    89.         end}
    90.       end
    91.       if $game_switches[INEPTATTRNY::WEAPON_CD_SWITCH] == false
    92.       sub.weapon_cooldown.each {|wid, wv| # weapon
    93.         if sub.weapon_cooldown[wid] > 0
    94.           sub.weapon_cooldown[wid] -= 1
    95.           sub.weapon_cooldown.delete(wid) if sub.weapon_cooldown[wid] == 0
    96.         end}
    97.       end
    98.       if $game_switches[INEPTATTRNY::ARMOR_CD_SWITCH] == false
    99.       sub.armor_cooldown.each {|aid, av| #armor
    100.         if sub.armor_cooldown[aid] > 0
    101.           sub.armor_cooldown[aid] -= 1
    102.           sub.armor_cooldown.delete(aid) if sub.armor_cooldown[aid] == 0
    103.         end}
    104.       end
    105.     end
    106.   end
    107. end
    复制代码







    Credits


    • Enterbrain

    • Falcao

    • Ineptattorney




    本贴来自国际rpgmaker官方论坛作者:IneptAttoney处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/falcao-pearl-abs-liquid-v3-cooldown-stopper.124340/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 10:29 , Processed in 0.135841 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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