Hover fixes

- Fixed the RB/Ring/Sites one-click filters not showing properly in the deckbuilder
- Altered the way that card borders are created so that hover-over still works when hovering on the border of a card
- Adjusted Helpless errata so it can't be abused repeatedly by Enduring Nazgul
This commit is contained in:
Christian 'ketura' McCarty
2024-11-23 11:30:08 -06:00
parent d2c05f6045
commit 640e202813
4 changed files with 9 additions and 2 deletions

View File

@@ -479,6 +479,10 @@ ul.ui-tabs-nav {
filter: grayscale(0.7) contrast(0.5) brightness(0.6);
}
.card.inactive .borderOverlay {
border: solid #333;
}
.card.inactive tokenOverlay {
color: #777777;
}

View File

@@ -553,7 +553,7 @@ class Card {
cardDiv.append(testingTextDiv);
}
var borderDiv = $("<div class='borderOverlay'><img class='actionArea' src='/gemp-lotr/images/pixel.png' width='100%' height='100%'></div>");
var borderDiv = $("<div class='borderOverlay actionArea' width='100%' height='100%'></div>");
if (noBorder)
borderDiv.addClass("noBorder");
cardDiv.append(borderDiv);

View File

@@ -96,7 +96,6 @@ var CardFilter = Class.extend({
console.log("Override from deckbuilder");
this.initialStartup = true;
this.overrideFilter = override;
this.filter = this.calculateDeckFilter(this.overrideFilter);
this.start = 0;
$("#resetAllFiltersButton").click();
this.filterChanged();

View File

@@ -246,6 +246,10 @@
{
type: activated
phase: maneuver
requires: {
type: CanSpot
filter: self,Zone(SUPPORT)
}
cost: {
type: exert
select: choose(Nazgul)