mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Fixed Gaea's Cradle etc. bug if zero mana is generated.
- Fixed text of Strafe and Sunlance.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
Name:Strafe
|
Name:Strafe
|
||||||
ManaCost:R
|
ManaCost:R
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:Strafe deals 3 damage to target nonRed creature.
|
Text:no text
|
||||||
A:SP$DealDamage|Cost$R|ValidTgts$Creature.nonRed|TgtPrompt$Select target nonred Creature|NumDmg$3|SpellDescription$Strafe deals 3 damage to target nonred creature.
|
A:SP$DealDamage|Cost$R|ValidTgts$Creature.nonRed|TgtPrompt$Select target nonred Creature|NumDmg$3|SpellDescription$Strafe deals 3 damage to target nonred creature.
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/strafe.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/strafe.jpg
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Name:Sunlance
|
Name:Sunlance
|
||||||
ManaCost:W
|
ManaCost:W
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:Sunlance deals 3 damage to target nonWhite creature.
|
Text:no text
|
||||||
A:SP$DealDamage|Cost$W|ValidTgts$Creature.nonWhite|TgtPrompt$Select target nonwhite Creature|NumDmg$3|SpellDescription$Sunlance deals 3 damage to target nonwhite creature.
|
A:SP$DealDamage|Cost$W|ValidTgts$Creature.nonWhite|TgtPrompt$Select target nonwhite Creature|NumDmg$3|SpellDescription$Sunlance deals 3 damage to target nonwhite creature.
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://resources.wizards.com/magic/cards/plc/en-us/card122355.jpg
|
SVar:Picture:http://resources.wizards.com/magic/cards/plc/en-us/card122355.jpg
|
||||||
|
|||||||
@@ -318,6 +318,9 @@ abstract public class Ability_Mana extends SpellAbility implements java.io.Seria
|
|||||||
int count = CardFactoryUtil.xCount(sourceCard, countSB.toString());
|
int count = CardFactoryUtil.xCount(sourceCard, countSB.toString());
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
|
if(count == 0) sb.append("0");
|
||||||
|
|
||||||
for(int i = 0; i < count; i++){
|
for(int i = 0; i < count; i++){
|
||||||
if (i != 0)
|
if (i != 0)
|
||||||
sb.append(" "); // added a space here to play nice with the new ManaPool
|
sb.append(" "); // added a space here to play nice with the new ManaPool
|
||||||
|
|||||||
Reference in New Issue
Block a user