mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update set symbols
This commit is contained in:

committed by
Josh birnholz

parent
dc61d96058
commit
d8ccab92cc
@@ -1578,7 +1578,9 @@ function fetchSetSymbol() {
|
||||
localStorage.setItem('lockSetSymbolCode', setCode);
|
||||
}
|
||||
var setRarity = document.querySelector('#set-symbol-rarity').value.toLowerCase().replace('uncommon', 'u').replace('common', 'c').replace('rare', 'r').replace('mythic', 'm') || 'c';
|
||||
if (['cc', 'logan', 'joe'].includes(setCode.toLowerCase())) {
|
||||
if (['sld'].includes(setCode.toLowerCase())) {
|
||||
uploadSetSymbol(fixUri(`/img/setSymbols/custom/${setCode.toLowerCase()}-${setRarity}.png`), 'resetSetSymbol');
|
||||
} else if (['cc', 'logan', 'joe'].includes(setCode.toLowerCase())) {
|
||||
uploadSetSymbol(fixUri(`/img/setSymbols/custom/${setCode.toLowerCase()}-${setRarity}.svg`), 'resetSetSymbol');
|
||||
} else {
|
||||
if (setSymbolAliases.has(setCode.toLowerCase())) setCode = setSymbolAliases.get(setCode.toLowerCase());
|
||||
|
Reference in New Issue
Block a user