This card allows you to add a discount to a Dominion upgrade on your ship.
The code currently looks for the highest Dominion upgrade equipped to the ship and is supposed to give it a -2SP discount. When Luaran is equipped to a non-Dominion faction ship with a Dominon Upgrade also equipped, the code will give that Upgrade a -3SP discount instead of a -2SP discount because of the faction penalty that gets assesed.
Need to figure out a code that will not take away the faction penalty and only give a strict -2SP discount to the highest cost Dominion Upgrade equipped to the ship.
This card allows you to add a discount to a Dominion upgrade on your ship.
The code currently looks for the highest Dominion upgrade equipped to the ship and is supposed to give it a -2SP discount. When Luaran is equipped to a non-Dominion faction ship with a Dominon Upgrade also equipped, the code will give that Upgrade a -3SP discount instead of a -2SP discount because of the faction penalty that gets assesed.
For example: https://bit.ly/3vTu5ql
Need to figure out a code that will not take away the faction penalty and only give a strict -2SP discount to the highest cost Dominion Upgrade equipped to the ship.
Current Code: https://github.com/AngryTribble/Star-Trek-Attack-Wing-Utopia/blob/c9188593a8c4b10dd419990db465f2a294e47531/src/js/common/utopia-card-rules.js#L1729-L1761
Card Image: https://i.imgur.com/QhXVkeo.jpg