- Fixed the Sacrifice cost list not being set for the AI.

- Added Carapace.
This commit is contained in:
Sloth
2011-12-16 17:26:35 +00:00
parent a8c1d8625f
commit 048f4740b3
4 changed files with 18 additions and 0 deletions

View File

@@ -125,6 +125,7 @@ public class CostSacrifice extends CostPartWithList {
*/
@Override
public final void payAI(final SpellAbility ability, final Card source, final CostPayment payment) {
this.addListToHash(ability, "Sacrificed");
for (final Card c : this.getList()) {
AllZone.getGameAction().sacrifice(c);
}