Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2023-09-21 19:51:32 -04:00
parent 65b5bd7fd3
commit 102ba7dab6
6400 changed files with 5741850 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/**
* Check if the total is 9, 10, or 11 and this is the 2nd card, if so,
* it is possible to double down
*
* Copyright (C) 2003 Jim Woodgate - woody@realtime.net
*/
int StartingConditional() {
int currentPlayer = GetLocalInt(OBJECT_SELF, "BJCURRENTPLYR");
int total = GetLocalInt(OBJECT_SELF, "BJPLYRTOTAL"+IntToString(currentPlayer));
int numCards = GetLocalInt(OBJECT_SELF, "BJPLYRNUMCRDS"+IntToString(currentPlayer));
if (numCards == 2
&& (total > 8 && total < 12))
return TRUE;
return FALSE;
}