Changes
mLine 3:
Line 3:
− +
+
Line 25:
Line 26:
− background_image = self._mid_boss_background_image +
+
+
+
− if rarity == 7 then +
− background_image = self._plain_rare_background_image
− elseif rarity == 6 then
− background_image = self._background_image
− end
apply the change rarity 7
_background_color = "#a0a0a0",
_background_color = "#a0a0a0",
_background_image = "radial-gradient(circle farthest-corner at center center , rgba(102, 102, 102, 0) 0%, rgba(102, 102, 102, 0) 60%, rgba(102, 102, 102, 0.7) 100%);",
_background_image = "radial-gradient(circle farthest-corner at center center , rgba(102, 102, 102, 0) 0%, rgba(102, 102, 102, 0) 60%, rgba(102, 102, 102, 0.7) 100%);",
_plain_rare_background_image = "radial-gradient(circle farthest-corner at center center , rgba(102, 102, 102, 0) 0%, rgba(102, 102, 102, 0.4) 60%, rgba(77, 77, 77, 0.7) 100%);",
_plain_rare_background_color = "#d8d840",
_plain_rare_background_image = "background-image: radial-gradient(circle farthest-corner at center center , rgba(192, 192, 0, 0) 0%, rgba(192, 192, 0, 0.4) 60%, rgba(144, 144, 0, 0.7) 100%);",
_elite_glow_background_color = "#b56464",
_elite_glow_background_color = "#b56464",
_mid_boss_background_color = "#a67474",
_mid_boss_background_color = "#a67474",
elseif rarity == 6.5 then
elseif rarity == 6.5 then
bg_color = self._mid_boss_background_color
bg_color = self._mid_boss_background_color
extra_style = self._mid_boss_background_image
elseif rarity == 7 then
bg_color = self._plain_rare_background_color
extra_style = self._plain_rare_background_image
else
else
bg_color = self._background_color
bg_color = self._background_color
extra_style = self._background_image
end
end
elseif rarity < 4 then
elseif rarity < 4 then