Changes

no edit summary
Line 94: Line 94:  
_common_background_color = "darkgrey",
 
_common_background_color = "darkgrey",
 
_background_color = "grey",
 
_background_color = "grey",
 +
_elite_glow_background_color = "#B34747",
 +
_mid_boss_background_color = "#803333",
 
_rare_background_color = "#B04040",
 
_rare_background_color = "#B04040",
 
_rare_background_image = "background-image: linear-gradient(to bottom, #A04040, #B04040 80%, #C04040);",
 
_rare_background_image = "background-image: linear-gradient(to bottom, #A04040, #B04040 80%, #C04040);",
Line 137: Line 139:  
if rarity then
 
if rarity then
 
if rarity >= 4 and rarity <= 7 then
 
if rarity >= 4 and rarity <= 7 then
bg_color = self._background_color
+
if rarity == 5 then
 +
bg_color = self._elite_glow_background_color
 +
elseif rarity == 6.5 then
 +
bg_color = self._mid_boss_background_color
 +
else
 +
bg_color = self._background_color
 +
end
 
elseif rarity < 4 then
 
elseif rarity < 4 then
 
bg_color = self._common_background_color
 
bg_color = self._common_background_color
Anonymous user