mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
idle_thoughts.txt use a common condition check,
a dedicated condition 'ConditionCardsInHand' removed
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
Name:Idle Thoughts
|
Name:Idle Thoughts
|
||||||
ManaCost:3 U
|
ManaCost:3 U
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
A:AB$ Draw | Cost$ 2 | NumCards$ 1 | ConditionCardsInHand$ 0 | SpellDescription$ Draw a card if you have no cards in hand.
|
A:AB$ Draw | Cost$ 2 | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SpellDescription$ Draw a card if you have no cards in hand.
|
||||||
|
SVar:X:Count$InYourHand
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/idle_thoughts.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/idle_thoughts.jpg
|
||||||
Oracle:{2}: Draw a card if you have no cards in hand.
|
Oracle:{2}: Draw a card if you have no cards in hand.
|
||||||
SetInfo:EVE Uncommon
|
SetInfo:EVE Uncommon
|
||||||
@@ -123,10 +123,6 @@ public class SpellAbilityCondition extends SpellAbilityVariables {
|
|||||||
this.setNotAllM12Empires(true);
|
this.setNotAllM12Empires(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.containsKey("ConditionCardsInHand")) {
|
|
||||||
this.setActivateCardsInHand(Integer.parseInt(params.get("ConditionCardsInHand")));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (params.containsKey("ConditionChosenColor")) {
|
if (params.containsKey("ConditionChosenColor")) {
|
||||||
this.setColorToCheck(params.get("ConditionChosenColor"));
|
this.setColorToCheck(params.get("ConditionChosenColor"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user