#============================================================================== # ■ RGSS3 XPスタイルバトル 踏み止まり特徴ポップアップ Ver1.00 by 星潟 #------------------------------------------------------------------------------ # 当方の踏み止まり特徴(Ver1.01〜)において # XPスタイルバトル併用時に、踏み止まり時のポップアップを行います。 #============================================================================== module EndureHP1Once #踏み止まりポップアップの文字列を指定。 PopupN = "Endure!!" #ポップアップタイプを指定。 #(デフォルトは「かばう」と同じポップアップ形式) PopupT = :substitute end module LNX11 #ポップアップカラーを指定。 POPUP_COLOR[:endure_hp1] = [Color.new(255,225,150), Color.new(100,75,0)] end class Window_BattleLog < Window_Selectable #-------------------------------------------------------------------------- # 踏み止まりエフェクト #-------------------------------------------------------------------------- alias execute_endure_hp1_xps execute_endure_hp1 def execute_endure_hp1(target, item) popup_data.popup_endure_hp1(target) execute_endure_hp1_xps(target, item) end end class Popup_Data #-------------------------------------------------------------------------- # 連続行動ポップアップ #-------------------------------------------------------------------------- def popup_endure_hp1(target) refresh @battler = target @popup = EndureHP1Once::PopupN @type = LNX11::POPUP_TYPE[EndureHP1Once::PopupT] @color = :endure_hp1 makeup end end