removed a little peice of another project that snuck into bloddthirst patch.

This commit is contained in:
omegablast2002@yahoo.com
2010-08-27 11:04:58 +00:00
parent a856d2908e
commit fd8b1788f0
3 changed files with 1 additions and 4 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -60,7 +60,6 @@ const char* Constants::MTGBasicAbilities[] = {
"poisondamage",
"poisontwodamage",
"poisonthreedamage",
"powerblocker"
};