|
@@ -137,7 +137,7 @@ for (var i = 0; i < cards.length; i++) {
|
|
|
if (price<sellThreshold[cardVal.toString()]){
|
|
|
cards.item(i).style.setProperty('Display','None');
|
|
|
}
|
|
|
-}
|
|
|
+} //filter Player Page for salable cards
|
|
|
```
|
|
|
|
|
|
|
|
@@ -176,7 +176,7 @@ for (var i = 0; i < cards.length; i++) {
|
|
|
}catch(err){stock=0;}}else{
|
|
|
stock=0;
|
|
|
}
|
|
|
-}
|
|
|
+} //Player page show number cards for sale
|
|
|
```
|
|
|
|
|
|
#### Market Page
|
|
@@ -234,7 +234,7 @@ for (var i = 0; i < cards.length; i++) {
|
|
|
if (clist[cardNum].status == 'CRYSTAL'){
|
|
|
cards.item(i).style.setProperty('Display','None');
|
|
|
}
|
|
|
-};
|
|
|
+} //filter Market for needed cards
|
|
|
```
|
|
|
|
|
|
##### javascript to filter Market for uncrystalized cards
|
|
@@ -268,7 +268,7 @@ for (var i = 0; i < cards.length; i++) {
|
|
|
if (clist[cardNum].toString().includes('CRYSTAL')){
|
|
|
cards.item(i).style.setProperty('Display','None');
|
|
|
}
|
|
|
-}
|
|
|
+} //filter Market for uncrystalized cards
|
|
|
```
|
|
|
|
|
|
##### javascript to filter Market for good value cards
|
|
@@ -290,10 +290,10 @@ for (var i = 0; i < cards.length; i++) {
|
|
|
qty.setAttribute("align", "center");
|
|
|
innerCard.appendChild(qty);
|
|
|
}
|
|
|
- if (cardPPG < 2){
|
|
|
+ if (cardPPG < 2.5){
|
|
|
cards.item(i).style.setProperty('Display','None');
|
|
|
}
|
|
|
-}
|
|
|
+} //filter Market for good value cards
|
|
|
```
|
|
|
|
|
|
#### Market Selling Page
|
|
@@ -353,7 +353,7 @@ for (var i = 0; i < cards.length; i++) {
|
|
|
if (clist[cardNum] < sellThreshold[cardVal.toString()]){
|
|
|
//cards.item(i).style.setProperty('Display','None');
|
|
|
}
|
|
|
-}
|
|
|
+} //Market page show overbid cards for sale
|
|
|
```
|
|
|
|
|
|
|