mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Add Alchemy set symbols
This commit is contained in:

committed by
Josh birnholz

parent
8df4ac2d61
commit
e7a3ff4d41
@@ -2809,7 +2809,7 @@ 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 (['sld'].includes(setCode.toLowerCase())) {
|
||||
if (['sld', 'a22', 'a23'].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');
|
||||
|
Reference in New Issue
Block a user