赞 | 158 |
VIP | 0 |
好人卡 | 0 |
积分 | 264 |
经验 | 0 |
最后登录 | 2025-7-19 |
在线时间 | 5314 小时 |
Lv5.捕梦者
- 梦石
- 0
- 星屑
- 26444
- 在线时间
- 5314 小时
- 注册时间
- 2016-3-8
- 帖子
- 1657
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 alexncf125 于 2024-1-25 01:49 编辑
https://rpg.blue/home.php?mod=sp ... o=blog&id=14838
贴一下成果好了
- class Window_SkillList < Window_Selectable
- alias m5_20160124_draw_item draw_item
- def draw_item(index)
- skill = @data[index]
- if skill && @actor
- @data.each_with_index do |s, i|
- next if M5ST20160127::RECOVER && !$game_party.in_battle
- next unless s && (time = @actor.m5_20160127_skill[s.id])
- if s.id == skill.id && time >= 0
- rect = item_rect(index)
- time_cost = s.m5note('冷却时间',nil).to_i
- w = (time_cost - time - 1).to_f / time_cost
- draw_gauge(rect.x, rect.y, rect.width, w, text_color(5), text_color(13))
- end
- end
- end
- m5_20160124_draw_item(index)
- end
- end
复制代码
https://rpg.blue/thread-225758-1-1.html
![]() |
|