Skip to content

Commit

Permalink
Use blue + pink for quad + quint for the song wheel lamp
Browse files Browse the repository at this point in the history
  • Loading branch information
teejusb committed Mar 21, 2023
1 parent 0c5fd16 commit 41e3542
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Graphics/MusicWheelItem Song NormalPart/GetLamp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,21 +126,28 @@ return Def.ActorFrame{
if SL[pn].ITLData["pathMap"][song_dir] ~= nil then
local hash = SL[pn].ITLData["pathMap"][song_dir]
if SL[pn].ITLData["hashMap"][hash] ~= nil then
itl_lamp = 6 - SL[pn].ITLData["hashMap"][hash]["clearType"]
itl_lamp = 5 - SL[pn].ITLData["hashMap"][hash]["clearType"]
end
end
end
end

if itl_lamp ~= nil then
-- Disable for normal clear types. The wheel grade should cover it.
if itl_lamp == 5 then
if itl_lamp <= 4 then
self:visible(false)
else
self:visible(true)
self:diffuseshift():effectperiod(0.8)
self:effectcolor1(SL.JudgmentColors["FA+"][itl_lamp])
self:effectcolor2(lerp_color(0.70, color("#ffffff"), SL.JudgmentColors["FA+"][itl_lamp]))
if itl_lamp == 0 then
-- Quinted, use a special color
local ItlPink = color("1,0.2,0.406,1")
self:effectcolor1(ItlPink)
self:effectcolor2(lerp_color(0.70, color("#ffffff"), ItlPink))
else
self:effectcolor1(SL.JudgmentColors["ITG"][itl_lamp])
self:effectcolor2(lerp_color(0.70, color("#ffffff"), SL.JudgmentColors["ITG"][itl_lamp]))
end
end
else
local lamp = GetLamp(param.Song)
Expand Down

0 comments on commit 41e3542

Please sign in to comment.