# # 強力防御装備(RGSS2) #  (C)2008 TYPE74RX-T # #============================================================================== # ★ 再定義ポイント #------------------------------------------------------------------------------ # class Game_Actor # def super_guard #============================================================================== #-------------------------------------------------------------------------- # ★ システムワードの登録:強力防御 #-------------------------------------------------------------------------- module RPG class BaseItem alias rx_rgss2bo15_rx_extract_sys_str_from_note rx_extract_sys_str_from_note def rx_extract_sys_str_from_note rx_get_sys = RX_T.get_system_word_in_note(@note, "強力防御") @@rx_copy_str += rx_get_sys @note = @note.sub(rx_get_sys, "") @note = @note.sub("\r\n", "") @rx_sys_str = @@rx_copy_str # メソッドを呼び戻す rx_rgss2bo15_rx_extract_sys_str_from_note end end end #============================================================================== # ■ Game_Actor #------------------------------------------------------------------------------ #  アクターを扱うクラスです。このクラスは Game_Actors クラス ($game_actors) # の内部で使用され、Game_Party クラス ($game_party) からも参照されます。 #============================================================================== class Game_Actor #-------------------------------------------------------------------------- # ● オプション [強力防御] の取得 #-------------------------------------------------------------------------- def super_guard result = false result = actor.super_guard result = RX_T.check_system_word_in_equip(rx_sys_str, "強力防御") unless result return result end end