mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Some fixes for the alternate win conditions (should not get rewards if the computer does them).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user