mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Converted Blazing Archon and Peacekeeper to script.
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
Name:Blazing Archon
|
Name:Blazing Archon
|
||||||
ManaCost:6 W W W
|
ManaCost:6 W W W
|
||||||
Types:Creature Archon
|
Types:Creature Archon
|
||||||
Text:Creatures can't attack you.
|
Text:no text
|
||||||
PT:5/6
|
PT:5/6
|
||||||
K:Flying
|
K:Flying
|
||||||
|
S:Mode$ Continuous | Affected$ Creature.YouDontCtrl | AddHiddenKeyword$ HIDDEN CARDNAME can't attack. | Description$ Creatures can't attack you.
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/blazing_archon.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/blazing_archon.jpg
|
||||||
SetInfo:RAV|Rare|http://magiccards.info/scans/en/rav/4.jpg
|
SetInfo:RAV|Rare|http://magiccards.info/scans/en/rav/4.jpg
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
Name:Peacekeeper
|
Name:Peacekeeper
|
||||||
ManaCost:2 W
|
ManaCost:2 W
|
||||||
Types:Creature Human
|
Types:Creature Human
|
||||||
Text:Creatures can't attack
|
Text:no text
|
||||||
PT:1/1
|
PT:1/1
|
||||||
K:At the beginning of your upkeep, sacrifice CARDNAME unless you pay 1 W
|
K:At the beginning of your upkeep, sacrifice CARDNAME unless you pay 1 W
|
||||||
|
S:Mode$ Continuous | Affected$ Creature | AddHiddenKeyword$ HIDDEN CARDNAME can't attack. | Description$ Creatures can't attack.
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/peacekeeper.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/peacekeeper.jpg
|
||||||
|
|||||||
@@ -478,8 +478,6 @@ public class CombatUtil {
|
|||||||
public static boolean canAttackNextTurn(Card c) {
|
public static boolean canAttackNextTurn(Card c) {
|
||||||
if (!c.isCreature()) return false;
|
if (!c.isCreature()) return false;
|
||||||
|
|
||||||
if (AllZoneUtil.isCardInPlay("Peacekeeper")) return false;
|
|
||||||
|
|
||||||
// CARDNAME can't attack if defending player controls an untapped creature with power ...
|
// CARDNAME can't attack if defending player controls an untapped creature with power ...
|
||||||
final int powerLimit[] = {0};
|
final int powerLimit[] = {0};
|
||||||
int keywordPosition = 0;
|
int keywordPosition = 0;
|
||||||
@@ -559,8 +557,7 @@ public class CombatUtil {
|
|||||||
//The creature won't untap next turn
|
//The creature won't untap next turn
|
||||||
if (c.isTapped() && !PhaseUtil.canUntap(c)) return false;
|
if (c.isTapped() && !PhaseUtil.canUntap(c)) return false;
|
||||||
|
|
||||||
if (AllZoneUtil.isCardInPlay("Blazing Archon", c.getController().getOpponent())
|
if (c.hasKeyword("CARDNAME can't attack.")
|
||||||
|| c.hasKeyword("CARDNAME can't attack.")
|
|
||||||
|| c.hasKeyword("CARDNAME can't attack or block.")
|
|| c.hasKeyword("CARDNAME can't attack or block.")
|
||||||
|| (AllZoneUtil.isCardInPlay("Reverence", c.getController().getOpponent()) && c.getNetAttack() < 3))
|
|| (AllZoneUtil.isCardInPlay("Reverence", c.getController().getOpponent()) && c.getNetAttack() < 3))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user