fix windswept_heath.txt missing choice 1, added unearth support without workaround, tweaked alternative cost, added treason/sneak attack ability, added frozen.

This commit is contained in:
omegablast2002@yahoo.com
2010-09-01 21:31:27 +00:00
parent 17eef3ef6f
commit 45f37b7545
13 changed files with 177 additions and 33 deletions

View File

@@ -97,6 +97,7 @@ void MTGCardInstance::initMTGCI(){
belongs_to=NULL;
tapped = 0;
untapping = 0;
frozen = 0;
summoningSickness = 1;
preventable = 0;
target = NULL;
@@ -109,7 +110,6 @@ 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
@@ -297,10 +297,6 @@ int MTGCardInstance::hasSummoningSickness(){
return 1;
}
int MTGCardInstance::getCostAmount(){
return 1;
}
MTGCardInstance * MTGCardInstance::changeController(Player * newController){
Player * originalOwner = controller();
if (originalOwner == newController) return this;