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

17 lines
525 B
Plaintext

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