赞 | 293 |
VIP | 11 |
好人卡 | 74 |
积分 | 224 |
经验 | 281171 |
最后登录 | 2025-2-22 |
在线时间 | 9386 小时 |
Lv5.捕梦者 (暗夜天使) 只有笨蛋才会看到
- 梦石
- 1
- 星屑
- 21437
- 在线时间
- 9386 小时
- 注册时间
- 2012-6-19
- 帖子
- 7114
 
|
- class Game_BattlerBase
- alias m5_20140721_refresh refresh
- def refresh
- m5_20140721_refresh
- hp_rate < 0.01 ? add_state(weak_state_id) : remove_state(weak_state_id)
- end
- def weak_state_id
- 10 # 虚弱状态的ID
- end
- end
复制代码 如果不希望虚弱状态自动解除的话,把上面的脚本换成下面这样- class Game_BattlerBase
- alias m5_20140721_refresh refresh
- def refresh
- m5_20140721_refresh
- add_state(weak_state_id) if hp_rate < 0.01
- end
- def weak_state_id
- 10 # 虚弱状态的ID
- end
- end
复制代码模仿<无法战斗>状态,在备注里写了个n号状态会在体力值不到1%时自动附加
23333333 |
评分
-
查看全部评分
|