楼主: 月满月西楼

[已经过期] Sideview100与Yanfly的ace战斗系统出问题

[复制链接]
梦石
0
星屑
50
在线时间
121 小时
注册时间
2010-10-7
回帖
65
发表于 2013-2-2 01:29:11 | 显示全部楼层
本帖最后由 fans2010 于 2013-2-2 01:56 编辑

http://rpg.blue/forum.php?mod=viewthread&tid=223765
这个我用了,好像没有你说的后几个问题,但是就是开始的时候的那两个“战斗”“逃跑”选项去除的话要在里面搜索这个“SKIP_PARTY_COMMAND”,设为false,除了这儿之外,还有两个函数要加进去,一个是
[pre lang="ruby" line="1"]#--------------------------------------------------------------------------
  # alias method: battle_start
  #--------------------------------------------------------------------------
  alias scene_battle_battle_start_abe battle_start
  def battle_start
    scene_battle_battle_start_abe
    return unless YEA::BATTLE::SKIP_PARTY_COMMAND
    @party_command_window.deactivate
    if BattleManager.input_start
      command_fight
    else
      turn_start
    end
  end[/pre]

另一个是

[pre lang="ruby" line="1"]#--------------------------------------------------------------------------
  # alias method: battle_start
  #--------------------------------------------------------------------------
  alias scene_battle_battle_start_abe battle_start
  def battle_start
    scene_battle_battle_start_abe
    return unless YEA::BATTLE::SKIP_PARTY_COMMAND
    @party_command_window.deactivate
    if BattleManager.input_start
      command_fight
    else
      turn_start
    end
  end[/pre]

最后再加一个函数

[pre lang="ruby" line="1"]  #--------------------------------------------------------------------------
  # new method: status_redraw_target
  #--------------------------------------------------------------------------
  def status_redraw_target(target)
    return unless target.actor?
    @status_window.draw_item($game_party.battle_members.index(target))
  end[/pre]

这样的话暂时好像没问题
回复

使用道具 举报

梦石
0
星屑
50
在线时间
179 小时
注册时间
2012-11-14
回帖
81
 楼主| 发表于 2013-2-2 02:00:50 | 显示全部楼层
fans2010 发表于 2013-2-2 01:29
http://rpg.blue/forum.php?mod=viewthread&tid=223765
这个我用了,好像没有你说的后几个问题,但是 ...

把我下午发的那个去除“战斗,逃跑”的脚本放到你新发的这个脚本之前,然后不用改什么或者增添函数,直接就可以使用了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部