RATDOG/_module/nss/sc_dc30_dex_chk.nss
Jaysyn904 409981289e Fixed exploit
Fixed exploit. Added test Shield scroll.  Tweaked a few creatures.
2023-01-01 23:56:52 -05:00

20 lines
474 B
Plaintext

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