mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Fix skull blink
This commit is contained in:
parent
7e52c4e449
commit
6ad7269e5a
@ -49,30 +49,30 @@ function getSkullImagePath(skullId)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function getShieldImagePathAndBlink(shieldId)
|
function getShieldImagePathAndBlink(shieldId)
|
||||||
local path
|
local path, blink
|
||||||
if shieldId == ShieldWhiteYellow then
|
if shieldId == ShieldWhiteYellow then
|
||||||
path = 'icons/shield_yellow_white.png', false
|
path, blink = 'icons/shield_yellow_white.png', false
|
||||||
elseif shieldId == ShieldWhiteBlue then
|
elseif shieldId == ShieldWhiteBlue then
|
||||||
path = 'icons/shield_blue_white.png', false
|
path, blink = 'icons/shield_blue_white.png', false
|
||||||
elseif shieldId == ShieldBlue then
|
elseif shieldId == ShieldBlue then
|
||||||
path = 'icons/shield_blue.png', false
|
path, blink = 'icons/shield_blue.png', false
|
||||||
elseif shieldId == ShieldYellow then
|
elseif shieldId == ShieldYellow then
|
||||||
path = 'icons/shield_yellow.png', false
|
path, blink = 'icons/shield_yellow.png', false
|
||||||
elseif shieldId == ShieldBlueSharedExp then
|
elseif shieldId == ShieldBlueSharedExp then
|
||||||
path = 'icons/shield_blue_shared.png', false
|
path, blink = 'icons/shield_blue_shared.png', false
|
||||||
elseif shieldId == ShieldYellowSharedExp then
|
elseif shieldId == ShieldYellowSharedExp then
|
||||||
path = 'icons/shield_yellow_shared.png', false
|
path, blink = 'icons/shield_yellow_shared.png', false
|
||||||
elseif shieldId == ShieldBlueNoSharedExpBlink then
|
elseif shieldId == ShieldBlueNoSharedExpBlink then
|
||||||
path = 'icons/shield_blue_not_shared.png', true
|
path, blink = 'icons/shield_blue_not_shared.png', true
|
||||||
elseif shieldId == ShieldYellowNoSharedExpBlink then
|
elseif shieldId == ShieldYellowNoSharedExpBlink then
|
||||||
path = 'icons/shield_yellow_not_shared.png', true
|
path, blink = 'icons/shield_yellow_not_shared.png', true
|
||||||
elseif shieldId == ShieldBlueNoSharedExp then
|
elseif shieldId == ShieldBlueNoSharedExp then
|
||||||
path = 'icons/shield_blue_not_shared.png', false
|
path, blink = 'icons/shield_blue_not_shared.png', false
|
||||||
elseif shieldId == ShieldYellowNoSharedExp then
|
elseif shieldId == ShieldYellowNoSharedExp then
|
||||||
path = 'icons/shield_yellow_not_shared.png', false
|
path, blink = 'icons/shield_yellow_not_shared.png', false
|
||||||
end
|
end
|
||||||
path = resolvepath(path)
|
path = resolvepath(path)
|
||||||
return path
|
return path, blink
|
||||||
end
|
end
|
||||||
|
|
||||||
function getEmblemImagePath(emblemId)
|
function getEmblemImagePath(emblemId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user