Laurent - Added draw/token to the foreach parser (allow to sligthly reduce the number of lines in MTGAbility.cpp and also add few cards to different cards.dat.)
NOTE that all these additions to the foreach parser are only available for the "inplay" area... "countcards" will need to be updated in order to have thing such as graveyard or hand to be taken into consideration (but when it will be done cards such as Spontaneous Generation - MRQ, could be added) Also updated (tentatively) the "cantbeblockedby" in the parser it still does not work...ARG... but I can feel that I'm not far away from the solution... We need also to go through some of the cards.dat to be sure we are not missing any possible addition ...
This commit is contained in:
@@ -1042,17 +1042,6 @@ mana={2}{W}
|
||||
subtype=Aura
|
||||
[/card]
|
||||
[card]
|
||||
text=When Regal Force comes into play, draw a card for each green creature you control.
|
||||
id=147373
|
||||
name=Regal Force
|
||||
rarity=R
|
||||
type=Creature
|
||||
mana={4}{G}{G}{G}
|
||||
power=5
|
||||
subtype=Elemental
|
||||
toughness=5
|
||||
[/card]
|
||||
[card]
|
||||
text=Rekindled Flame deals 4 damage to target creature or player. At the beginning of your upkeep, if an opponent has no cards in hand, you may return Rekindled Flame from your graveyard to your hand.
|
||||
target=creature,player
|
||||
id=158108
|
||||
|
||||
Reference in New Issue
Block a user