Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyVulcan committed Sep 28, 2018
1 parent 375d75e commit 254995b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions src/js/common/utopia-card-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -8352,13 +8352,10 @@ module.factory( "cardRules", [ "$filter", "$factions", function($filter, $factio
factionPenalty: function(upgrade, ship, fleet) {
return ship && $factions.hasFaction( ship, "ferengi", ship, fleet ) ? 0 : 1 && $factions.hasFaction( ship, "kazon", ship, fleet ) ? 0 : 1 && $factions.hasFaction( ship, "xindi", ship, fleet ) ? 0 : 1;
},
intercept: {
ship: {
canEquip: function(upgrade,ship,fleet) {
if ( ship && ship.attack <= 2 )
return canEquip;
}
}
canEquip: function(upgrade,ship,fleet) {
if( ship.attack <= 2 )
return onePerShip("upgradeName")(upgrade,ship,fleet);
return false;
}
},
//Enhanced Shield Emitters
Expand Down
2 changes: 1 addition & 1 deletion staw-utopia/js/utopia.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion staw-utopia/js/utopia.min.js.map

Large diffs are not rendered by default.

0 comments on commit 254995b

Please sign in to comment.