- IMPORTANT: Legendary is not an ability anymore, creating cards with super types should be much more natural. You can now say "type=Snow Land", and stuff like that. No backward compatibility!!!
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-01-03 03:11:30 +00:00
parent 79a98e1c8f
commit 69c5dee979
48 changed files with 415 additions and 540 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#include "../include/config.h"
#include "../include/MTGRules.h"
#include "../include/Translate.h"
#include "../include/Subtypes.h"
#include "../include/GameOptions.h"
MTGPutInPlayRule::MTGPutInPlayRule(int _id):MTGAbility(_id, NULL){
@@ -519,7 +520,7 @@ HUDDisplay::~HUDDisplay(){
MTGLegendRule::MTGLegendRule(int _id):ListMaintainerAbility(_id){};
int MTGLegendRule::canBeInList(MTGCardInstance * card){
if (card->basicAbilities[Constants::LEGENDARY] && game->isInPlay(card)){
if (card->hasType(Subtypes::TYPE_LEGENDARY) && game->isInPlay(card)){
return 1;
}
return 0;