Jeck - Added and tested "oneblocker" ability, which allows for cards that "can't be blocked by more than one creature.". I've put in Stalking Tiger (I think... these primitives are cool! I just added the prim and all of a sudden it was in 10E), but this should also add Charging Rhino, Familiar Ground, "Huang Zhong, Shu General", Ironhoof Ox, Krosan Vorine, Norwood Riders, Vorrac Battlehorns, "Yuan Shao, the indecisive".

Test and more cards (the ones I can figure out how to do) forthcoming.
This commit is contained in:
wagic.jeck
2010-02-08 18:18:44 +00:00
parent 4279658379
commit b348ab5d24
5 changed files with 45316 additions and 45312 deletions

View File

@@ -38047,15 +38047,6 @@ mana={3}
type=Artifact
[/card]
[card]
name=Stalking Tiger
text=Stalking Tiger can't be blocked by more than one creature.
mana={3}{G}
type=Creature
subtype=Cat
power=3
toughness=3
[/card]
[card]
name=Stalking Vengeance
text=Haste Whenever another creature you control is put into a graveyard from the battlefield, it deals damage equal to its power to target player.
mana={5}{R}{R}

File diff suppressed because it is too large Load Diff

View File

@@ -102,8 +102,9 @@ class Constants
DEATHTOUCH = 44,
HORSEMANSHIP = 45,
CANTREGENERATE = 46,
ONEBLOCKER = 47,
NB_BASIC_ABILITIES = 47,
NB_BASIC_ABILITIES = 48,
RARITY_M = 'M', //Mythics

View File

@@ -347,6 +347,7 @@ int MTGCardInstance::canBlock(MTGCardInstance * opponent){
if (opponent->protectedAgainst(this)) return 0;
if (opponent->cantBeBlockedBy(this)) return 0;
if (opponent->basicAbilities[Constants::UNBLOCKABLE]) return 0;
if (opponent->basicAbilities[Constants::ONEBLOCKER] && opponent->blocked) return 0;
if (opponent->basicAbilities[Constants::FEAR] && !(hasType(Subtypes::TYPE_ARTIFACT) || hasColor(Constants::MTG_COLOR_BLACK))) return 0;
//intimidate

View File

@@ -55,6 +55,7 @@ const char* Constants::MTGBasicAbilities[] = {
"deathtouch",
"horsemanship",
"cantregenerate",
"oneblocker",
};