Skip to content

Commit

Permalink
Fix Sink Pool Balls goal in Lucky Money
Browse files Browse the repository at this point in the history
  • Loading branch information
theastropath committed Oct 2, 2023
1 parent 813323f commit 64ea128
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions DXRModules/DeusEx/Classes/DXREvents.uc
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ function SetWatchFlags() {
}

InitPoolBalls();
BallsPerTable=14; //This table is missing some balls

break;
case "06_HONGKONG_WANCHAI_STREET":
Expand Down
6 changes: 4 additions & 2 deletions DXRModules/DeusEx/Classes/DXREventsBase.uc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var int bingo_win_countdown;
var name rewatchflags[8];
var int num_rewatchflags;
var float PoolBallHeight;
var int NumPoolTables, PoolTablesSunk;
var int NumPoolTables, PoolTablesSunk, BallsPerTable;

struct BingoOption {
var string event, desc;
Expand Down Expand Up @@ -224,7 +224,7 @@ simulated function int PoolBallsSunk()
ballsSunk++;
}
}
if (ballsSunk>=16){
if (ballsSunk>=BallsPerTable){
tablesSunk++;
}
}
Expand Down Expand Up @@ -255,6 +255,8 @@ simulated function InitPoolBalls()
}
}

BallsPerTable = 16; //Default number - Lucky Money has less

PoolBallHeight -= 1;
}

Expand Down

0 comments on commit 64ea128

Please sign in to comment.