- Added cloud ability to pass the symbolic "1000 cards" bar :)
This commit is contained in:
wagic.the.homebrew
2009-02-01 07:34:55 +00:00
parent 0de5993836
commit e984b7f781
7 changed files with 68 additions and 58 deletions

View File

@@ -269,6 +269,32 @@ subtype=Spider
toughness=3
[/card]
[card]
text=Flying (This creature can't be blocked except by creatures with flying or reach.) Cloud Elemental can block only creatures with flying.
abilities=cloud,flying
id=129804
name=Cloud Elemental
rarity=C
color=Blue
type=Creature
mana={2}{U}
power=2
subtype=Elemental
toughness=3
[/card]
[card]
text=Flying (This creature can't be blocked except by creatures with flying or reach.) Cloud Sprite can block only creatures with flying.
abilities=cloud,flying
id=132069
name=Cloud Sprite
rarity=C
color=Blue
type=Creature
mana={U}
power=1
subtype=Faerie
toughness=1
[/card]
[card]
text=Sacrifice Composite Golem: Add {W}{U}{B}{R}{G} to your mana pool.
auto={s}:Add {W}{U}{B}{R}{G}
id=135275

View File

@@ -321,30 +321,6 @@ subtype=Shapeshifter
toughness=0
[/card]
[card]
text=Flying (This creature can't be blocked except by creatures with flying or reach.) Cloud Elemental can block only creatures with flying.
id=129804
name=Cloud Elemental
rarity=C
color=Blue
type=Creature
mana={2}{U}
power=2
subtype=Elemental
toughness=3
[/card]
[card]
text=Flying (This creature can't be blocked except by creatures with flying or reach.) Cloud Sprite can block only creatures with flying.
id=132069
name=Cloud Sprite
rarity=C
color=Blue
type=Creature
mana={U}
power=1
subtype=Faerie
toughness=1
[/card]
[card]
text=Each creature gets +1/+1 for each other creature in play that shares a creature type with it. (For example, if a Goblin Warrior, a Goblin Scout, and a Zombie Goblin are in play, each gets +2/+2.)
id=129502
name=Coat of Arms

View File

@@ -222,6 +222,42 @@ power=2
toughness=1
[/card]
[card]
text=Flying Cloud Dragon can block only creatures with flying.
abilities=cloud,flying
id=4252
name=Cloud Dragon
rarity=R
type=Creature
mana={5}{U}
power=5
subtype=Illusion Dragon
toughness=4
[/card]
[card]
text=Flying Cloud Pirates can block only creatures with flying.
abilities=cloud,flying
id=4253
name=Cloud Pirates
rarity=C
type=Creature
mana={U}
power=1
subtype=Human Pirate
toughness=1
[/card]
[card]
text=Flying Cloud Spirit can block only creatures with flying.
abilities=cloud,flying
id=4254
name=Cloud Spirit
rarity=U
type=Creature
mana={2}{U}
power=3
subtype=Spirit
toughness=1
[/card]
[card]
text=Play Defiant Stand only during the declare attackers step and only if you are the defending player. Target creature gets +1/+3 until the end of the turn. If that creature is tapped, untap it.
target=creature
auto=untap

View File

@@ -98,39 +98,7 @@ power=4
subtype=Rhino
toughness=4
[/card]
[card]
text=Flying Cloud Dragon can block only creatures with flying.
id=4252
name=Cloud Dragon
rarity=R
type=Creature
mana={5}{U}
power=5
subtype=Illusion Dragon
toughness=4
[/card]
[card]
text=Flying Cloud Pirates can block only creatures with flying.
id=4253
name=Cloud Pirates
rarity=C
type=Creature
mana={U}
power=1
subtype=Human Pirate
toughness=1
[/card]
[card]
text=Flying Cloud Spirit can block only creatures with flying.
id=4254
name=Cloud Spirit
rarity=U
type=Creature
mana={2}{U}
power=3
subtype=Spirit
toughness=1
[/card]
[card]
text=Play Command of Unsummoning only during the declare attackers step and only if you are the defending player. Return one or two target attacking creatures to their owner's hand.
id=4255

View File

@@ -96,8 +96,9 @@ class Constants
PLAINSHOME = 35,
FLANKING = 36,
RAMPAGE1 = 37,
CLOUD = 38,
NB_BASIC_ABILITIES = 38,
NB_BASIC_ABILITIES = 39,
RARITY_M = 'M',

View File

@@ -246,6 +246,8 @@ int MTGCardInstance::canBlock(MTGCardInstance * opponent){
if (opponent->basicAbilities[Constants::UNBLOCKABLE]) return 0;
if (opponent->basicAbilities[Constants::FEAR] && !(hasColor(Constants::MTG_COLOR_ARTIFACT) || hasColor(Constants::MTG_COLOR_BLACK))) return 0;
if (opponent->basicAbilities[Constants::FLYING] && !( basicAbilities[Constants::FLYING] || basicAbilities[Constants::REACH])) return 0;
//Can block only creatures with flying if has cloud
if (basicAbilities[Constants::CLOUD] && !( opponent->basicAbilities[Constants::FLYING])) return 0;
// If opponent has shadow and a creature does not have either shadow or reachshadow it cannot be blocked
if (opponent->basicAbilities[Constants::SHADOW] && !( basicAbilities[Constants::SHADOW] || basicAbilities[Constants::REACHSHADOW])) return 0;
// If opponent does not have shadow and a creature has shadow it cannot be blocked

View File

@@ -46,6 +46,7 @@ const char* Constants::MTGBasicAbilities[] = {
"plainshome",
"flanking",
"rampage",
"cloud",
};
const char* Constants::MTGPhaseNames[] =