- Added "lord until end of turn" (see titanic ultimatum in ALA)
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-04-30 12:45:16 +00:00
parent 8b008a4bda
commit 041b3e16bb
7 changed files with 109 additions and 28 deletions
+14 -2
View File
@@ -609,7 +609,15 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
if (lordType == PARSER_LORD){
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,power,toughness));
if (!cost){
if(card->hasType("instant") || card->hasType("sorcery")){
game->addObserver(NEW ALordUEOT(id,card,lordTargets,lordIncludeSelf,power,toughness));
}else{
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,power,toughness));
}
}else{
//TODO
}
}else{
if(tc){
game->addObserver(NEW ATargetterPowerToughnessModifierUntilEOT(id, card,power,toughness, cost, tc,doTap));
@@ -682,7 +690,11 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
break;
}else{
if (lordType == PARSER_LORD){
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,0,0,j,0,modifier));
if(card->hasType("instant") || card->hasType("sorcery")){
game->addObserver(NEW ALordUEOT(id,card,lordTargets,lordIncludeSelf,0,0,j,0,modifier));
}else{
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,0,0,j,0,modifier));
}
}else if (lordType == PARSER_ASLONGAS){
game->addObserver(NEW AKirdApe(id,card,lordTargets,lordIncludeSelf,0,0,j,modifier));
}else{