RATDOG/_module/nss/sc_dc30_dex_chk.nss

20 lines
474 B
Plaintext
Raw Normal View History

//:://///////////////////////////////////////////////////////////////////////
/*
sc_dc30_dex_chk.nss
Does a DC 30 Dexterity check in a conversation.
*/
//:://///////////////////////////////////////////////////////////////////////
int StartingConditional()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
int nDexCheck = d20() + GetAbilityScore(oPC, ABILITY_DEXTERITY, FALSE);
if (nDexCheck <= 29) return FALSE;
return TRUE;
}