#============================================================================= # # ■ 敵の蘇生スキルアニメ表示 □Ver1.00 □製作者:月紳士 # # ・RPGツクールVX用 RGSS2スクリプト # # ●…書き換えメソッド(競合注意) ◎…メソッドのエイリアス ○…新規メソッド # # ※二次配布禁止!配布元には利用規約があります。必ずそちらを見てください。 #------------------------------------------------------------------------------ =begin  通常は表示されない(不具合?)  敵への蘇生スキル時のアニメーションを表示させるスクリプトです。   蘇生魔法用アニメが用意されているのに   それを見る機会がないのはシステム的な不具合だと思うのですよ。 =end #============================================================================== # ■ Sprite_Base #------------------------------------------------------------------------------ #  アニメーションの表示処理を追加したスプライトのクラスです。 #============================================================================== class Sprite_Base < Sprite #-------------------------------------------------------------------------- # ◎ アニメーションスプライトの設定 # frame : フレームデータ (RPG::Animation::Frame) #-------------------------------------------------------------------------- # 隠れているエネミーへのアニメーションを表示させます。 # 蘇生スキル等の場合でも表示効果があります。 #-------------------------------------------------------------------------- alias tig_dra_animation_set_sprites animation_set_sprites def animation_set_sprites(frame) tig_dra_animation_set_sprites(frame) cell_data = frame.cell_data for i in 0..15 sprite = @animation_sprites[i] next if sprite == nil sprite.opacity = 255 end end end