class Sprite_Battler < Sprite_Base def update_collapse self.blend_type = 1 self.color.set(255, 255, 255, 128) #(红,蓝,绿,不透明度) self.opacity = 256 - (48 - @effect_duration) * 6 endend
class Sprite_Battler < Sprite_Base def update_collapse self.blend_type = 1 self.color.set(255, 255, 255, 128) #(红,蓝,绿,不透明度) self.opacity = 256 - (48 - @effect_duration) * 6 end end