We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e12e70 commit 6cc8cceCopy full SHA for 6cc8cce
1 file changed
src/base/vanilla/cardBaseArt.js
@@ -0,0 +1,18 @@
1
+wrap(() => {
2
+ const setting = settings.register({
3
+ name: 'Force Basic Card Skins',
4
+ key: 'underscript.hide.card-skins',
5
+ page: 'Library',
6
+ category: 'Card Skins',
7
+ });
8
+
9
+ globalSet('createCard', function createCard(card) {
10
+ const image = card.baseImage;
11
+ if (setting.value() && image && image !== card.image) {
12
+ card.typeSkin = 0;
13
+ card.originalImage = card.image;
14
+ card.image = image;
15
+ }
16
+ return this.super(card);
17
18
+});
0 commit comments