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