///////////////////////////////////// // 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; }