move reducedCost and increasedCost out of cardprimitives and into MTGCardInstance
This commit is contained in:
@@ -333,6 +333,15 @@ int MTGCardInstance::has(int basicAbility)
|
||||
return basicAbilities[basicAbility];
|
||||
}
|
||||
|
||||
ManaCost* MTGCardInstance::getReducedManaCost()
|
||||
{
|
||||
return &reducedCost;
|
||||
}
|
||||
ManaCost* MTGCardInstance::getIncreasedManaCost()
|
||||
{
|
||||
return &increasedCost;
|
||||
}
|
||||
|
||||
//sets card as attacked and sends events
|
||||
void MTGCardInstance::eventattacked()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user