mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Converted Preeminent Captain to script.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user