mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Various little tweaks.
This commit is contained in:
@@ -7,6 +7,7 @@ K:Trample
|
|||||||
K:Lifelink
|
K:Lifelink
|
||||||
S:Mode$ ReduceCost | ValidTarget$ Card.Self | Activator$ You | Type$ Spell | Amount$ 2 | Description$ Spells you cast that target CARDNAME cost 2 less to cast.
|
S:Mode$ ReduceCost | ValidTarget$ Card.Self | Activator$ You | Type$ Spell | Amount$ 2 | Description$ Spells you cast that target CARDNAME cost 2 less to cast.
|
||||||
S:Mode$ RaiseCost | ValidTarget$ Card.Self | Activator$ Opponent | Type$ Spell | Amount$ 2 | Description$ Spells your opponents cast that target CARDNAME cost 2 more to cast.
|
S:Mode$ RaiseCost | ValidTarget$ Card.Self | Activator$ Opponent | Type$ Spell | Amount$ 2 | Description$ Spells your opponents cast that target CARDNAME cost 2 more to cast.
|
||||||
|
SVar:EnchantMe:Multiple
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/elderwood_scion.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/elderwood_scion.jpg
|
||||||
SetInfo:PC2|Rare|http://magiccards.info/scans/en/pc2/88.jpg
|
SetInfo:PC2|Rare|http://magiccards.info/scans/en/pc2/88.jpg
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ SVar:X:Count$Valid Land.Snow+YouDontCtrl
|
|||||||
T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Land.Snow+YouCtrl | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ When you control no snow lands, sacrifice Ronom Serpent.
|
T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Land.Snow+YouCtrl | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ When you control no snow lands, sacrifice Ronom Serpent.
|
||||||
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
|
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
|
||||||
SVar:NeedsToPlay:Land.Snow+YouCtrl
|
SVar:NeedsToPlay:Land.Snow+YouCtrl
|
||||||
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/ronom_serpent.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/ronom_serpent.jpg
|
||||||
SetInfo:CSP|Common|http://magiccards.info/scans/en/cs/45.jpg
|
SetInfo:CSP|Common|http://magiccards.info/scans/en/cs/45.jpg
|
||||||
|
|||||||
@@ -561,8 +561,8 @@ public class AbilityFactoryPump {
|
|||||||
// will the creature attack (only relevant for sorcery speed)?
|
// will the creature attack (only relevant for sorcery speed)?
|
||||||
if (phase.getPhase().isBefore(PhaseType.COMBAT_DECLARE_ATTACKERS)
|
if (phase.getPhase().isBefore(PhaseType.COMBAT_DECLARE_ATTACKERS)
|
||||||
&& phase.isPlayerTurn(AllZone.getComputerPlayer())
|
&& phase.isPlayerTurn(AllZone.getComputerPlayer())
|
||||||
&& CardFactoryUtil.doesCreatureAttackAI(c)
|
&& attack > 0
|
||||||
&& attack > 0) {
|
&& CardFactoryUtil.doesCreatureAttackAI(c)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1427,7 +1427,6 @@ public class CardFactoryCreatures {
|
|||||||
sb.append("any number of creatures with total power 12 or greater.");
|
sb.append("any number of creatures with total power 12 or greater.");
|
||||||
sacOrSac.setStackDescription(sb.toString());
|
sacOrSac.setStackDescription(sb.toString());
|
||||||
AllZone.getStack().addSimultaneousStackEntry(sacOrSac);
|
AllZone.getStack().addSimultaneousStackEntry(sacOrSac);
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -364,13 +364,8 @@ public class CardFactoryUtil {
|
|||||||
*/
|
*/
|
||||||
public static boolean doesCreatureAttackAI(final Card card) {
|
public static boolean doesCreatureAttackAI(final Card card) {
|
||||||
final List<Card> att = ComputerUtil.getAttackers().getAttackers();
|
final List<Card> att = ComputerUtil.getAttackers().getAttackers();
|
||||||
for (final Card element : att) {
|
|
||||||
if (element.equals(card)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
return att.contains(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user