class Sprite_Battler < Sprite_Base
alias :zchange_animation_set_sprites :animation_set_sprites
def animation_set_sprites(frame)
zchange_animation_set_sprites(frame)
@ani_sprites.each_with_index do |sprite, i|
next unless sprite
sprite.z -= 400 if [72,74,76].include?(@animation.id)
#将[72,74,76]改成你想要出现在后面的动画的ID组
#如果有一部分图像仍然出现在战斗图上面的问题,请尝试把400改成420或450等比较大的值
end
end
end
class Sprite_Battler < Sprite_Base
alias :zchange_animation_set_sprites :animation_set_sprites
def animation_set_sprites(frame)
zchange_animation_set_sprites(frame)
@ani_sprites.each_with_index do |sprite, i|
next unless sprite
sprite.z -= 400 if [72,74,76].include?(@animation.id)
#将[72,74,76]改成你想要出现在后面的动画的ID组
#如果有一部分图像仍然出现在战斗图上面的问题,请尝试把400改成420或450等比较大的值
end
end
end