- Some fixes for the alternate win conditions (should not get rewards if the computer does them).

This commit is contained in:
jendave
2011-08-06 04:32:22 +00:00
parent 1b83b0fca4
commit 533d4f1aac
3 changed files with 44 additions and 31 deletions

View File

@@ -14299,10 +14299,12 @@ public class CardFactory implements NewConstants {
public void resolve() {
AllZone.GameAction.getPlayerLife(getTargetPlayer()).setLife(0);
int gameNumber = 0;
if (Constant.Runtime.WinLose.getWin()==1)
gameNumber = 1;
Constant.Runtime.WinLose.setWinMethod(gameNumber,"Door to Nothingness");
if (getTargetPlayer().equals(Constant.Player.Computer)) {
int gameNumber = 0;
if (Constant.Runtime.WinLose.getWin()==1)
gameNumber = 1;
Constant.Runtime.WinLose.setWinMethod(gameNumber,"Door to Nothingness");
}
}
@Override