mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
1) Changed "comes into play" to "enters the battlefield" as part of the cards.txt entries for the previous cards.
2) Added Flight of Fancy via keyword and I included it's LQ pic url. 3) Made some modifications to the comes into play, draw a card. keyword method.
This commit is contained in:
@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
|
|||||||
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
||||||
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||||
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||||
|
flight_of_fancy.jpg http://www.wizards.com/global/images/magic/general/flight_of_fancy.jpg
|
||||||
elvish_vanguard.jpg http://www.wizards.com/global/images/magic/general/elvish_vanguard.jpg
|
elvish_vanguard.jpg http://www.wizards.com/global/images/magic/general/elvish_vanguard.jpg
|
||||||
tribal_forcemage.jpg http://www.wizards.com/global/images/magic/general/tribal_forcemage.jpg
|
tribal_forcemage.jpg http://www.wizards.com/global/images/magic/general/tribal_forcemage.jpg
|
||||||
nirkana_cutthroat.jpg http://www.wizards.com/global/images/magic/general/nirkana_cutthroat.jpg
|
nirkana_cutthroat.jpg http://www.wizards.com/global/images/magic/general/nirkana_cutthroat.jpg
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
Elvish Vanguard
|
Flight of Fancy
|
||||||
1 G
|
3 U
|
||||||
Creature Elf
|
Enchantment Aura
|
||||||
Whenever another Elf enters the battlefield, put a +1/+1 counter on Elvish Vanguard.
|
Enchanted creature has flying.
|
||||||
1/1
|
Enchant creature
|
||||||
|
enPump:Flying
|
||||||
|
When CARDNAME enters the battlefield, draw two cards.
|
||||||
|
|
||||||
Arctic Wolves
|
Arctic Wolves
|
||||||
3 G G
|
3 G G
|
||||||
@@ -10,7 +12,7 @@ Creature Wolf
|
|||||||
no text
|
no text
|
||||||
4/5
|
4/5
|
||||||
Cumulative upkeep:2
|
Cumulative upkeep:2
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Carven Caryatid
|
Carven Caryatid
|
||||||
1 G G
|
1 G G
|
||||||
@@ -18,21 +20,21 @@ Creature Spirit
|
|||||||
no text
|
no text
|
||||||
2/5
|
2/5
|
||||||
Defender
|
Defender
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Council of Advisors
|
Council of Advisors
|
||||||
2 U
|
2 U
|
||||||
Creature Human Advisor
|
Creature Human Advisor
|
||||||
no text
|
no text
|
||||||
1/1
|
1/1
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Elvish Visionary
|
Elvish Visionary
|
||||||
1 G
|
1 G
|
||||||
Creature Elf Shaman
|
Creature Elf Shaman
|
||||||
no text
|
no text
|
||||||
1/1
|
1/1
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Eternity Snare
|
Eternity Snare
|
||||||
5 U
|
5 U
|
||||||
@@ -40,7 +42,7 @@ Enchantment Aura
|
|||||||
Enchanted creature doesn't untap during its controller's untap step.
|
Enchanted creature doesn't untap during its controller's untap step.
|
||||||
Enchant creature
|
Enchant creature
|
||||||
enPumpCurse:This card doesn't untap during your untap step.
|
enPumpCurse:This card doesn't untap during your untap step.
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Frog Tongue
|
Frog Tongue
|
||||||
G
|
G
|
||||||
@@ -48,7 +50,7 @@ Enchantment Aura
|
|||||||
Enchanted creature has reach.
|
Enchanted creature has reach.
|
||||||
Enchant creature
|
Enchant creature
|
||||||
enPump:Reach
|
enPump:Reach
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Jungle Barrier
|
Jungle Barrier
|
||||||
2 G U
|
2 G U
|
||||||
@@ -56,21 +58,21 @@ Creature Plant Wall
|
|||||||
no text
|
no text
|
||||||
2/6
|
2/6
|
||||||
Defender
|
Defender
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Kavu Climber
|
Kavu Climber
|
||||||
3 G G
|
3 G G
|
||||||
Creature Kavu
|
Creature Kavu
|
||||||
no text
|
no text
|
||||||
3/3
|
3/3
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Merchant of Secrets
|
Merchant of Secrets
|
||||||
2 U
|
2 U
|
||||||
Creature Human Wizard
|
Creature Human Wizard
|
||||||
no text
|
no text
|
||||||
1/1
|
1/1
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Messenger Falcons
|
Messenger Falcons
|
||||||
2 GU W
|
2 GU W
|
||||||
@@ -78,21 +80,21 @@ Creature Bird
|
|||||||
no text
|
no text
|
||||||
2/2
|
2/2
|
||||||
Flying
|
Flying
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Multani's Acolyte
|
Multani's Acolyte
|
||||||
G G
|
G G
|
||||||
Creature Elf
|
Creature Elf
|
||||||
no text
|
no text
|
||||||
2/1
|
2/1
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
Echo:G G
|
Echo:G G
|
||||||
|
|
||||||
Prophetic Prism
|
Prophetic Prism
|
||||||
2
|
2
|
||||||
Artifact
|
Artifact
|
||||||
no text
|
no text
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
tap: add W
|
tap: add W
|
||||||
tap: add B
|
tap: add B
|
||||||
tap: add U
|
tap: add U
|
||||||
@@ -105,7 +107,7 @@ Enchantment Aura
|
|||||||
Enchanted creature gets +1/+1.
|
Enchanted creature gets +1/+1.
|
||||||
Enchant creature
|
Enchant creature
|
||||||
enPump:+1/+1
|
enPump:+1/+1
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Shielding Plax
|
Shielding Plax
|
||||||
2 GU
|
2 GU
|
||||||
@@ -113,14 +115,14 @@ Enchantment Aura
|
|||||||
Enchanted creature can't be the target of spells or abilities your opponents control.
|
Enchanted creature can't be the target of spells or abilities your opponents control.
|
||||||
Enchant creature
|
Enchant creature
|
||||||
enPump:This card can't be the target of spells or abilities your opponents control.
|
enPump:This card can't be the target of spells or abilities your opponents control.
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Striped Bears
|
Striped Bears
|
||||||
3 G
|
3 G
|
||||||
Creature Bear
|
Creature Bear
|
||||||
no text
|
no text
|
||||||
2/2
|
2/2
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Unquestioned Authority
|
Unquestioned Authority
|
||||||
2 W
|
2 W
|
||||||
@@ -128,7 +130,7 @@ Enchantment Aura
|
|||||||
Enchanted creature has protection from creatures.
|
Enchanted creature has protection from creatures.
|
||||||
Enchant creature
|
Enchant creature
|
||||||
enPump:Protection from creatures
|
enPump:Protection from creatures
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Wall of Blossoms
|
Wall of Blossoms
|
||||||
1 G
|
1 G
|
||||||
@@ -136,7 +138,7 @@ Creature Wall
|
|||||||
no text
|
no text
|
||||||
0/4
|
0/4
|
||||||
Defender
|
Defender
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Wall of Omens
|
Wall of Omens
|
||||||
1 W
|
1 W
|
||||||
@@ -144,14 +146,20 @@ Creature Wall
|
|||||||
no text
|
no text
|
||||||
0/4
|
0/4
|
||||||
Defender
|
Defender
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
Wistful Selkie
|
Wistful Selkie
|
||||||
GU GU GU
|
GU GU GU
|
||||||
Creature Merfolk Wizard
|
Creature Merfolk Wizard
|
||||||
no text
|
no text
|
||||||
2/2
|
2/2
|
||||||
When CARDNAME comes into play, draw a card.
|
When CARDNAME enters the battlefield, draw a card.
|
||||||
|
|
||||||
|
Elvish Vanguard
|
||||||
|
1 G
|
||||||
|
Creature Elf
|
||||||
|
Whenever another Elf enters the battlefield, put a +1/+1 counter on Elvish Vanguard.
|
||||||
|
1/1
|
||||||
|
|
||||||
Tribal Forcemage
|
Tribal Forcemage
|
||||||
1 G
|
1 G
|
||||||
|
|||||||
@@ -3382,12 +3382,19 @@ public class CardFactory implements NewConstants {
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
if(card.getKeyword().contains("When CARDNAME comes into play, draw a card.")) {
|
if (card.getKeyword().contains("When CARDNAME enters the battlefield, draw a card.") ||
|
||||||
|
card.getKeyword().contains("When CARDNAME enters the battlefield, draw two cards.")) {
|
||||||
|
|
||||||
final SpellAbility ability = new Ability(card, "0") {
|
final SpellAbility ability = new Ability(card, "0") {
|
||||||
@Override
|
@Override
|
||||||
public void resolve() {
|
public void resolve() {
|
||||||
|
int drawCardsNum = 1;
|
||||||
|
if (card.getKeyword().contains("When CARDNAME enters the battlefield, draw two cards.")) {
|
||||||
|
drawCardsNum = 2;
|
||||||
|
}
|
||||||
|
for (int i = 0; i < drawCardsNum; i++) {
|
||||||
AllZone.GameAction.drawCard(card.getController());
|
AllZone.GameAction.drawCard(card.getController());
|
||||||
|
}//for loop
|
||||||
}//resolve()
|
}//resolve()
|
||||||
};//SpellAbility
|
};//SpellAbility
|
||||||
Command intoPlay = new Command() {
|
Command intoPlay = new Command() {
|
||||||
@@ -3395,7 +3402,16 @@ public class CardFactory implements NewConstants {
|
|||||||
private static final long serialVersionUID = 1707519783018941582L;
|
private static final long serialVersionUID = 1707519783018941582L;
|
||||||
|
|
||||||
public void execute() {
|
public void execute() {
|
||||||
ability.setStackDescription(card.getName() + " - " + card.getController() + " draws a card.");
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append(card.getName());
|
||||||
|
sb.append(" - ");
|
||||||
|
sb.append(card.getController());
|
||||||
|
sb.append(" draws ");
|
||||||
|
if (card.getKeyword().contains("When CARDNAME enters the battlefield, draw a card.")) {
|
||||||
|
sb.append("a card.");
|
||||||
|
} else sb.append("two cards.");
|
||||||
|
|
||||||
|
ability.setStackDescription(sb.toString());
|
||||||
AllZone.Stack.add(ability);
|
AllZone.Stack.add(ability);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user