mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added the prefix "SVar$" to xCount (formerly only available in AbilityFactory.calculateAmount).
- Fixed another issue with Conclave's Blessing.
This commit is contained in:
@@ -4,9 +4,12 @@ Types:Enchantment Aura
|
|||||||
Text:no text
|
Text:no text
|
||||||
K:Convoke
|
K:Convoke
|
||||||
A:SP$Attach | Cost$ 3 W | ValidTgts$ Creature | AILogic$ Pump
|
A:SP$Attach | Cost$ 3 W | ValidTgts$ Creature | AILogic$ Pump
|
||||||
S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddToughness$ X | Description$ Enchanted creature gets +0/+2 for each other creature you control.
|
S:Mode$ Continuous | Affected$ Card.AttachedBy+YouCtrl | AddToughness$ X | Description$ Enchanted creature gets +0/+2 for each other creature you control.
|
||||||
SVar:X:SVar$OtherCreats/Twice
|
S:Mode$ Continuous | Affected$ Card.AttachedBy+YouDontCtrl | AddToughness$ Y
|
||||||
SVar:OtherCreats:Count$Valid Creature.YouCtrl/Minus.1
|
SVar:X:SVar$A/Twice
|
||||||
|
SVar:A:Count$Valid Creature.YouCtrl/Minus.1
|
||||||
|
SVar:Y:SVar$B/Twice
|
||||||
|
SVar:B:Count$Valid Creature.YouCtrl
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/conclaves_blessing.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/conclaves_blessing.jpg
|
||||||
SetInfo:RAV|Common|http://magiccards.info/scans/en/rav/11.jpg
|
SetInfo:RAV|Common|http://magiccards.info/scans/en/rav/11.jpg
|
||||||
|
|||||||
@@ -2694,6 +2694,11 @@ public class CardFactoryUtil {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (l[0].startsWith("SVar$")) {
|
||||||
|
final String sVar = l[0].replace("SVar$", "");
|
||||||
|
return CardFactoryUtil.doXMath(xCount(c, c.getSVar(sVar)), m, c);
|
||||||
|
}
|
||||||
|
|
||||||
// Manapool
|
// Manapool
|
||||||
if (l[0].contains("ManaPool")) {
|
if (l[0].contains("ManaPool")) {
|
||||||
final String color = l[0].split(":")[1];
|
final String color = l[0].split(":")[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user