added support for alternative casting cost, evoke, added support for phantom cycle,hydras, added support for exile/bounce as casting cost
This commit is contained in:
@@ -109,6 +109,7 @@ void MTGCardInstance::initMTGCI(){
|
||||
next = NULL;
|
||||
lastController = NULL;
|
||||
regenerateTokens = 0;
|
||||
costAmount = 0;
|
||||
blocked = false;
|
||||
currentZone = NULL;
|
||||
data = this; //an MTGCardInstance point to itself for data, allows to update it without killing the underlying database item
|
||||
@@ -296,6 +297,10 @@ int MTGCardInstance::hasSummoningSickness(){
|
||||
return 1;
|
||||
}
|
||||
|
||||
int MTGCardInstance::getCostAmount(){
|
||||
return 1;
|
||||
}
|
||||
|
||||
MTGCardInstance * MTGCardInstance::changeController(Player * newController){
|
||||
Player * originalOwner = controller();
|
||||
if (originalOwner == newController) return this;
|
||||
|
||||
Reference in New Issue
Block a user