- Converted Preeminent Captain to script.

This commit is contained in:
Sloth
2011-10-31 15:58:16 +00:00
parent c55023e2fc
commit ef98e6c219
3 changed files with 13 additions and 3 deletions

View File

@@ -2257,7 +2257,7 @@ public class CombatUtil {
} // Witch-Maw Nephilim
else if (c.getName().equals("Preeminent Captain") && !c.getCreatureAttackedThisCombat()) {
/*else if (c.getName().equals("Preeminent Captain") && !c.getCreatureAttackedThisCombat()) {
System.out.println("Preeminent Captain Attacks");
CardList soldiers = c.getController().getCardsIn(Zone.Hand);
@@ -2288,7 +2288,7 @@ public class CombatUtil {
}
} // if (creatures.size() > 0)
} // Preeminent Captain
}*/ // Preeminent Captain
else if (c.getName().equals("Sapling of Colfenor") && !c.getCreatureAttackedThisCombat()) {
Player player = c.getController();

View File

@@ -834,6 +834,10 @@ public final class AbilityFactory_ChangeZone {
if (params.containsKey("GainControl")) {
c.addController(af.getHostCard());
}
if (params.containsKey("Attacking")) {
AllZone.getCombat().addAttacker(c);
}
movedCard = AllZone.getGameAction().moveTo(c.getController().getZone(destination), c);
} else {
@@ -987,6 +991,10 @@ public final class AbilityFactory_ChangeZone {
if (params.containsKey("GainControl")) {
c.addController(af.getHostCard());
}
if (params.containsKey("Attacking")) {
AllZone.getCombat().addAttacker(c);
}
// Auras without Candidates stay in their current location
if (c.isAura()) {
final SpellAbility saAura = AbilityFactory_Attach.getAttachSpellAbility(c);