generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
16
_module/nss/de1_skulldicech2.nss
Normal file
16
_module/nss/de1_skulldicech2.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
/////////////////////////////////////
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user