///////////////////////////////////// // Dragon's Edge // by Charly Carlos ///////////////////////////////////// // Checks if the sword card has the same color and number with the shield card. ///////////////////////////////////// int StartingConditional() { int iResult; string sSword = GetLocalString(OBJECT_SELF, "sSwordSuit"); string sShield = GetLocalString(OBJECT_SELF, "sShieldSuit"); iResult = ((GetLocalString(OBJECT_SELF, "sSwordNumber") == GetLocalString(OBJECT_SELF, "sShieldNumber")) && (((sSword == "Diamonds") && ((sShield == "Hearts") || (sShield == "Diamonds"))) || ((sSword == "Hearts") && ((sShield == "Hearts") || (sShield == "Diamonds"))) || ((sSword == "Spades") && ((sShield == "Spades") || (sShield == "Clovers"))) || ((sSword == "Clovers") && ((sShield == "Spades") || (sShield == "Clovers"))))); return iResult; }