赞 | 0 |
VIP | 0 |
好人卡 | 1 |
积分 | 1 |
经验 | 2855 |
最后登录 | 2019-10-16 |
在线时间 | 33 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 79
- 在线时间
- 33 小时
- 注册时间
- 2009-11-16
- 帖子
- 3
|
本帖最后由 qootm2 于 2017-5-2 00:58 编辑
- d = 100;b.index.times{|t| d -= (b.friends_unit.members[t].alive? ? 30 : 0)};d
复制代码
簡單測試下可行
補充實測畫面:
=========================
好,大概知道樓主要什麼了,然後我想不到只靠傷害公式就搞定的方法,只能改腳本:
- class Scene_Battle < Scene_Base
- def use_item
- item = @subject.current_action.item
- @log_window.display_use_item(@subject, item)
- @subject.use_item(item)
- refresh_status
- targets = @subject.current_action.make_targets.compact
- show_animation(targets, item.animation_id)
- # 用50號變量記錄目標 index
- $game_variables[50] = 0
- targets.each {|target| item.repeats.times { invoke_item(target, item) } ; $game_variables[50] += 1 }
- end
- end
复制代码
傷害公式寫:
100 - 30 * v[50]
|
评分
-
查看全部评分
|