alliances

Exports functions for calculating the influence cost of alliance cards in decks. To check if a card's influence can be checked, you should check if the function with the card's NRDB code exists in this module.
Author:
  • Dominic Shelton.
Source:

Methods

(inner) 10013(decklist)

The function for Heritage Committee is bound to nonAllianceCards with 6 Jinteki cards minimum.
Parameters:
Name Type Description
decklist The decklist to check the influence cost in.
Source:
Returns:
0 if the influence cost in the given decklist is 0, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10018(decklist)

Calculates a multiplier for the influence cost of Mumba Temple by counting the number of ICE in the deck.
Parameters:
Name Type Description
decklist The decklist to calculate the influence for.
Source:
Returns:
0 if the influence cost is free, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10019(decklist)

Calculates a multiplier for the influence cost of Museum of History by counting the number of cards in the deck.
Parameters:
Name Type Description
decklist The decklist to calculate the influence for.
Source:
Returns:
0 if the influence cost is free, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10029(decklist)

The function for Product Recall is bound to nonAllianceCards with 6 Haas-Bioroid cards minimum.
Parameters:
Name Type Description
decklist The decklist to check the influence cost in.
Source:
Returns:
0 if the influence cost in the given decklist is 0, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10038(decklist)

Calculates a multiplier for the influence cost of PAD Factory by counting the number of PAD Campaigns in the deck.
Parameters:
Name Type Description
decklist The decklist to calculate the influence for.
Source:
Returns:
0 if the influence cost is free, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10038(decklist)

Calculates a multiplier for the influence cost of Mumbad Virtual Tour by counting the number of Assets in the deck.
Parameters:
Name Type Description
decklist The decklist to calculate the influence for.
Source:
Returns:
0 if the influence cost is free, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10067(decklist)

The function for Jeeves Model Bioroids is bound to nonAllianceCards with 6 Haas-Bioroid cards minimum.
Parameters:
Name Type Description
decklist The decklist to check the influence cost in.
Source:
Returns:
0 if the influence cost in the given decklist is 0, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10068(decklist)

The function for Raman Rai is bound to nonAllianceCards with 6 Jinteki cards minimum.
Parameters:
Name Type Description
decklist The decklist to check the influence cost in.
Source:
Returns:
0 if the influence cost in the given decklist is 0, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10071(decklist)

The function for Salem's Hospitality is bound to nonAllianceCards with 6 NBN cards minimum.
Parameters:
Name Type Description
decklist The decklist to check the influence cost in.
Source:
Returns:
0 if the influence cost in the given decklist is 0, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10072(decklist)

The function for Executive Search Firm is bound to nonAllianceCards with 6 Weyland Consortium cards minimum.
Parameters:
Name Type Description
decklist The decklist to check the influence cost in.
Source:
Returns:
0 if the influence cost in the given decklist is 0, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) 10109(decklist)

The function for Ibrahim Salem is bound to nonAllianceCards with 6 NBN cards minimum.
Parameters:
Name Type Description
decklist The decklist to check the influence cost in.
Source:
Returns:
0 if the influence cost in the given decklist is 0, otherwise 1. The result can be multiplied by the regular influence cost.

(inner) nonAllianceCards(faction, minCards, decklist)

Calculates a multiplier for the influence cost of alliance cards that require a set number of in-faction non-alliance cards to be free.
Parameters:
Name Type Description
faction The faction that cards must be to satisfy the requirement. Can any of 'Jinteki', 'Haas-Bioroid', 'NBN', 'Weyland Consortium'.
minCards The minimum number of such cards that must be in the deck to satisfy the requirement.
decklist The decklist to check for the requirement.
Source:
Returns:
0 if the influence cost in the given decklist is 0, otherwise 1. The result can be multiplied by the regular influence cost.