Card.CanChainAttack
Source Code | Usage Examples | Card Functions
Checks if a card can make a number of attacks in a row.
Signature
Card.CanChainAttack(Card c, [int attackcount = 2, bool on_monsters_only = false]) → bool
lua
c:CanChainAttack(attackcount,on_monsters_only)Parameters
Card
cThe card to check.
int
attackcountOptional. Defaults to
2.The minimum amount of attacks
cshould be able to declare.bool
on_monsters_onlyOptional. Defaults to
false.If
true, checks only the possibility of follow-up attacks on monsters.