mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Converted Mijae Djinn
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
Name:Mijae Djinn
|
Name:Mijae Djinn
|
||||||
ManaCost:R R R
|
ManaCost:R R R
|
||||||
Types:Creature Djinn
|
Types:Creature Djinn
|
||||||
Text:Whenever CARDNAME attacks, flip a coin. If you lose the flip, remove CARDNAME from combat and tap it.
|
|
||||||
PT:6/3
|
PT:6/3
|
||||||
|
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ FlipCoin | TriggerDescription$ Whenever CARDNAME attacks, flip a coin. If you lose the flip, remove CARDNAME from combat and tap it.
|
||||||
|
SVar:FlipCoin:AB$ FlipACoin | Cost$ 0 | LoseSubAbility$ DBRemoveFromCombat
|
||||||
|
SVar:DBRemoveFromCombat:DB$ RemoveFromCombat | Defined$ Self | SubAbility$ DBTap
|
||||||
|
SVar:DBTap:DB$ Tap | Defined$ Self
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/mijae_djinn.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/mijae_djinn.jpg
|
||||||
Oracle:Whenever Mijae Djinn attacks, flip a coin. If you lose the flip, remove Mijae Djinn from combat and tap it.
|
Oracle:Whenever Mijae Djinn attacks, flip a coin. If you lose the flip, remove Mijae Djinn from combat and tap it.
|
||||||
SetInfo:3ED Rare
|
SetInfo:3ED Rare
|
||||||
|
|||||||
@@ -1028,14 +1028,8 @@ public class CombatUtil {
|
|||||||
} // creatureAttacked
|
} // creatureAttacked
|
||||||
// Annihilator
|
// Annihilator
|
||||||
|
|
||||||
// Mijae Djinn
|
|
||||||
if (c.getName().equals("Mijae Djinn")) {
|
if (c.getName().equals("Witch-Maw Nephilim") && !c.getDamageHistory().getCreatureAttackedThisCombat()
|
||||||
if (!GuiDialog.flipCoin(c.getController(), c)) {
|
|
||||||
game.getCombat().removeFromCombat(c);
|
|
||||||
c.tap();
|
|
||||||
}
|
|
||||||
} // Mijae Djinn
|
|
||||||
else if (c.getName().equals("Witch-Maw Nephilim") && !c.getDamageHistory().getCreatureAttackedThisCombat()
|
|
||||||
&& (c.getNetAttack() >= 10)) {
|
&& (c.getNetAttack() >= 10)) {
|
||||||
final Card charger = c;
|
final Card charger = c;
|
||||||
final Ability ability2 = new Ability(c, ManaCost.ZERO) {
|
final Ability ability2 = new Ability(c, ManaCost.ZERO) {
|
||||||
|
|||||||
Reference in New Issue
Block a user