Closed sIKE23 closed 8 years ago
To get the dissipate value from a card object, do the following:
Suppose the card object is stored in card
computeTraits(card)
to return a dictionary object (dictionary
) containing the traits associated with card
dictionary.get("Dissipate")
). If it returns None, then the object has no dissipate value; otherwise, it will return the integer equal to the dissipate value of card
Needs more work, need to add isFaceUp check (I think)
Working as expected now....closing
Right now we have to add an entry for each card with the Dissipate trait in the FlipCard() function of the Actions,py like:
There are a bunch of cards in Academy and PvS that use the Dissipate trait so I think it is natural to add this in so I am thinking (still in the FlipCard() function):
@ACG8: How do I get that Dissipate Value?