- Fixed the descriptions of some hard coded triggers.

- Converted Zur the Enchanter to script.
This commit is contained in:
Sloth
2012-03-01 11:41:02 +00:00
parent 9081907070
commit 01f93a1b30
2 changed files with 8 additions and 3 deletions

View File

@@ -1,9 +1,11 @@
Name:Zur the Enchanter
ManaCost:1 W U B
Types:Legendary Creature Human Wizard
Text:Whenever CARDNAME attacks, you may search your library for an enchantment card with converted mana cost 3 or less and put it onto the battlefield. If you do, shuffle your library.
Text:no text
PT:1/4
K:Flying
T:Mode$ Attacks | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigChange | TriggerDescription$ Whenever CARDNAME attacks, you may search your library for an enchantment card with converted mana cost 3 or less and put it onto the battlefield. If you do, shuffle your library.
SVar:TrigChange:AB$ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Battlefield | ChangeType$ Enchantment.cmcLE3 | ChangeNum$ 1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/zur_the_enchanter.jpg
SetInfo:CSP|Rare|http://magiccards.info/scans/en/cs/135.jpg

View File

@@ -2617,6 +2617,7 @@ public class CombatUtil {
final StringBuilder sb = new StringBuilder();
sb.append("Annihilator - Defending player sacrifices ").append(a).append(" permanents.");
ability.setStackDescription(sb.toString());
ability.setDescription(sb.toString());
AllZone.getStack().add(ability);
} // find
@@ -2632,7 +2633,7 @@ public class CombatUtil {
}
} // Mijae Djinn
if (c.getName().equals("Zur the Enchanter") && !c.getCreatureAttackedThisCombat()) {
/*if (c.getName().equals("Zur the Enchanter") && !c.getCreatureAttackedThisCombat()) {
// hack, to make sure this doesn't break grabbing an oblivion ring:
c.setCreatureAttackedThisCombat(true);
@@ -2695,7 +2696,7 @@ public class CombatUtil {
}
}
} // enchantments.size > 0
} // Zur the enchanter
}*/ // Zur the enchanter
else if (c.getName().equals("Spectral Bears")) {
final Player opp = c.getController().getOpponent();
@@ -2899,6 +2900,7 @@ public class CombatUtil {
final StringBuilder sb2 = new StringBuilder();
sb2.append(b.getName()).append(" - gets -").append(mag).append("/-").append(mag).append(" until EOT.");
ability2.setStackDescription(sb2.toString());
ability2.setDescription(sb2.toString());
AllZone.getStack().add(ability2);
Log.debug("Adding Flanking!");
@@ -2953,6 +2955,7 @@ public class CombatUtil {
final StringBuilder sb = new StringBuilder();
sb.append(c).append(" - (Exalted) gets +1/+1 until EOT.");
ability.setStackDescription(sb.toString());
ability.setDescription(sb.toString());
AllZone.getStack().addSimultaneousStackEntry(ability);
}