Files
HeroesStone_PRC8/_module/nss/de1_skulldicech5.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

17 lines
504 B
Plaintext

/////////////////////////////////////
// Dragon's Edge
// by Charly Carlos
/////////////////////////////////////
// Check if the PC's total in the Sword and Shields game closer to 15 than
// the dealer's.
/////////////////////////////////////
int StartingConditional()
{
int iResult;
int nPCTotal = GetLocalInt(OBJECT_SELF, "nPCTotalDice");
int nDealerTotal = GetLocalInt(OBJECT_SELF, "nMyTotalDice");
iResult = ((nPCTotal > nDealerTotal) && (nDealerTotal <= 15));
return iResult;
}