Enemies drop energy before, intentions are more accurate
This commit is contained in:
parent
94b3309bb7
commit
737a851283
6 changed files with 64 additions and 13 deletions
|
|
@ -124,11 +124,14 @@ public class HandControls<BaseCardT> where BaseCardT : BaseCard
|
|||
if (cardPlayability == PlayabilityState.PlayableImmediately
|
||||
|| cardPlayability == PlayabilityState.PlayableInOwnTurn) {
|
||||
if (this.intentions.WillUseCard(card)) {
|
||||
// Debug.Log("Display state of " + card.GetDisplayName() + " = IntendedToPlay");
|
||||
cardUI.State = PlayableState.IntendedToPlay;
|
||||
} else {
|
||||
// Debug.Log("Display state of " + card.GetDisplayName() + " = Playable");
|
||||
cardUI.State = PlayableState.Playable;
|
||||
}
|
||||
} else {
|
||||
// Debug.Log("Display state of " + card.GetDisplayName() + " = Unplayable");
|
||||
cardUI.State = PlayableState.Unplayable;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue