consolidate code from Player and GameAction classes related to sacrifice permanents.

This commit is contained in:
jendave
2011-08-06 10:08:50 +00:00
parent cd4e12fa1a
commit e4f37837c8
6 changed files with 18 additions and 52 deletions

View File

@@ -18044,7 +18044,7 @@ public class CardFactory_Creatures {
public void resolve() {
if (card.getController().equals(AllZone.ComputerPlayer))
setTargetPlayer(AllZone.HumanPlayer);
AllZone.GameAction.sacrificeCreature(getTargetPlayer(), this);
getTargetPlayer().sacrificeCreature();
card.setKicked(false);
}