mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- Added Dawnglow Infusion
- Fixed X costs resetting colors paid
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -2118,6 +2118,7 @@ res/cardsfolder/d/dawn_elemental.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/d/dawn_of_the_dead.txt svneol=native#text/plain
|
res/cardsfolder/d/dawn_of_the_dead.txt svneol=native#text/plain
|
||||||
res/cardsfolder/d/dawnfluke.txt -text
|
res/cardsfolder/d/dawnfluke.txt -text
|
||||||
res/cardsfolder/d/dawnglare_invoker.txt svneol=native#text/plain
|
res/cardsfolder/d/dawnglare_invoker.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/d/dawnglow_infusion.txt -text
|
||||||
res/cardsfolder/d/dawning_purist.txt svneol=native#text/plain
|
res/cardsfolder/d/dawning_purist.txt svneol=native#text/plain
|
||||||
res/cardsfolder/d/dawnray_archer.txt svneol=native#text/plain
|
res/cardsfolder/d/dawnray_archer.txt svneol=native#text/plain
|
||||||
res/cardsfolder/d/dawnstrider.txt svneol=native#text/plain
|
res/cardsfolder/d/dawnstrider.txt svneol=native#text/plain
|
||||||
|
|||||||
12
res/cardsfolder/d/dawnglow_infusion.txt
Normal file
12
res/cardsfolder/d/dawnglow_infusion.txt
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Name:Dawnglow Infusion
|
||||||
|
ManaCost:X GW
|
||||||
|
Types:Sorcery
|
||||||
|
Text:no text
|
||||||
|
A:SP$ GainLife | Cost$ X WG | LifeAmount$ X | References$ X | ConditionManaSpent$ G | SubAbility$ WPaid | SpellDescription$ You gain X life if G was spent to cast CARDNAME and X life if W was spent to cast it. (Do both if G W was spent.)
|
||||||
|
SVar:WPaid:DB$GainLife | Cost$ 0 | LifeAmount$ X | References$ X | ConditionManaSpent$ W
|
||||||
|
SVar:X:Count$xPaid
|
||||||
|
SVar:Rarity:Uncommon
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/dawnglow_infusion.jpg
|
||||||
|
SetInfo:SHM|Uncommon|http://magiccards.info/scans/en/shm/225.jpg
|
||||||
|
Oracle:You gain X life if {G} was spent to cast Dawnglow Infusion and X life if {W} was spent to cast it. (Do both if {G}{W} was spent.)
|
||||||
|
End
|
||||||
@@ -259,7 +259,7 @@ public class CostMana extends CostPart {
|
|||||||
final Input payX = new InputMana() {
|
final Input payX = new InputMana() {
|
||||||
private static final long serialVersionUID = -6900234444347364050L;
|
private static final long serialVersionUID = -6900234444347364050L;
|
||||||
private int xPaid = 0;
|
private int xPaid = 0;
|
||||||
private String colorsPaid = "";
|
private String colorsPaid = sa.getSourceCard().getColorsPaid();
|
||||||
private ManaCost manaCost = new ManaCost(Integer.toString(numX));
|
private ManaCost manaCost = new ManaCost(Integer.toString(numX));
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user