| 赞 | 35 |
| VIP | |
| 好人卡 | |
| 积分 | 64 |
| 经验 | |
| 最后登录 | 2025-12-12 |
| 在线时间 | 1473 小时 |
- 梦石
- 0
- 星屑
- 6375
- 在线时间
- 1473 小时
- 注册时间
- 2015-7-25
- 回帖
- 609
 
|
发表于 2017-4-19 21:35:06
|
显示全部楼层
本帖最后由 魔法丶小肉包 于 2017-4-20 11:49 编辑
作为插件脚本使用,只经过初步的测试,可能会有其他未发现的bug
- class Window_BattleEnemy < Window_Selectable
- def show
- select(0)
- super
- self.back_opacity = 0
- self.opacity = 0
- self.cursor_rect =Rect.new(0, 0, 0, 0)
- setup_remain if @info_viewport
- self.visible = true
- open
- return self
- end
- def select(index)
- index = 0 if $game_troop.exist_members.size <= index
- super
- return if self.index < 0
- refresh
- call_method(:select_enemy, index)
- end
- end
复制代码 |
评分
-
查看全部评分
|