diff --git a/projects/mtg/include/MTGDefinitions.h b/projects/mtg/include/MTGDefinitions.h index 115d4589a..b991e3912 100644 --- a/projects/mtg/include/MTGDefinitions.h +++ b/projects/mtg/include/MTGDefinitions.h @@ -107,9 +107,8 @@ class Constants POISONDAMAGE = 49, POISONTWODAMAGE = 50, POISONTHREEDAMAGE = 51, - POWERBLOCKER = 52, - NB_BASIC_ABILITIES = 53, + NB_BASIC_ABILITIES = 52, RARITY_S = 'S', //Special Rarity diff --git a/projects/mtg/src/MTGCardInstance.cpp b/projects/mtg/src/MTGCardInstance.cpp index 580dc5251..2aa3f2249 100644 --- a/projects/mtg/src/MTGCardInstance.cpp +++ b/projects/mtg/src/MTGCardInstance.cpp @@ -343,7 +343,6 @@ int MTGCardInstance::canBlock(MTGCardInstance * opponent){ if (!opponent->isAttacker()) return 0; // Comprehensive rule 502.7f : If a creature with protection attacks, it can't be blocked by creatures that have the stated quality. if (opponent->protectedAgainst(this)) return 0; - if (opponent->power > !(defenser->power) && opponent->has(basicAbilities[Constants::POWERBLOCKER])) return 0; if (opponent->cantBeBlockedBy(this)) return 0; if (opponent->basicAbilities[Constants::UNBLOCKABLE]) return 0; if (opponent->basicAbilities[Constants::ONEBLOCKER] && opponent->blocked) return 0; diff --git a/projects/mtg/src/MTGDefinitions.cpp b/projects/mtg/src/MTGDefinitions.cpp index e69d84954..6a6a4657c 100644 --- a/projects/mtg/src/MTGDefinitions.cpp +++ b/projects/mtg/src/MTGDefinitions.cpp @@ -60,7 +60,6 @@ const char* Constants::MTGBasicAbilities[] = { "poisondamage", "poisontwodamage", "poisonthreedamage", -"powerblocker" };