Correction

This commit is contained in:
Anthony Calosa
2016-08-01 11:44:07 +08:00
parent 0b0368ffcc
commit 223e2e04b0
4 changed files with 22 additions and 6 deletions

View File

@@ -110,6 +110,18 @@ bool CardPrimitive::isSpell()
return (!isCreature() && !isLand());
}
bool CardPrimitive::isPermanent()
{
return (!isSorceryorInstant());
}
bool CardPrimitive::isSorceryorInstant()
{
if(hasSubtype(Subtypes::TYPE_SORCERY)||hasSubtype(Subtypes::TYPE_INSTANT))
return true;
return false;
}
int CardPrimitive::dredge()
{
return dredgeAmount;