Permanent
Creation

RPGツクールXP/VX用のRGSS素材です。
一部英語版対応です。 (A few materials can be used for English RPG MAKER XP/VX.)
競合率はルファーの独断と偏見なのでたまにハズレます。


#==============================================================================
# ■ バトルイベントで勝敗無視
#------------------------------------------------------------------------------
#  バトルイベント中に勝敗がついてもイベントを続行するようになります。
# (C) ルファー
# WebSite https://tkoolerlufar.pages.dev/
#==============================================================================

=begin
  =対応RGSS
  2

  =他の素材との競合の可能性
  ... おそらくない

  =更新履歴
  2014/12/28 公開

  =再定義しているメソッド
  Scene_Battle#judge_win_loss
=end

#----------------------------------------------------------------------------
# ◆ Scene_Battle クラス
#----------------------------------------------------------------------------
class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # ● 勝敗判定
  #--------------------------------------------------------------------------
  alias _Lufar_BattleEventContinue_judge_win_loss judge_win_loss
  def judge_win_loss(*args)
    for trace in caller
      # process_battle_event からの呼び出しなら戦況に関係なく偽を返す
      return false if trace =~ /\:in \`process_battle_event\'$/
    end
    _Lufar_BattleEventContinue_judge_win_loss(*args)
  end
end

戻る