以下引用hide秀于2008-7-1 9:21:26的发言:
直接 技能里面设置不就可以了 设置为我方全体 附加一个状态
这个状态设置为 MAXHP 80%
以下引用391395435于2008-7-1 10:29:32的发言:
用HP加起来除以4,然后代入HP?(平均HP百分比也可以看成是平均HP啊)
真的没看懂……
以下引用dbshy于2008-7-1 18:27:19的发言:
tot = 0
for actor in $game_party.actors
tot = tot + 100 * actor.hp / actor.maxhp
end
p = tot / 4
for actor in $game_party.actors
actor.hp = actor.maxhp * p
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |