Fixed exploit
Fixed exploit. Added test Shield scroll. Tweaked a few creatures.
This commit is contained in:
19
_module/nss/sc_dc30_dex_chk.nss
Normal file
19
_module/nss/sc_dc30_dex_chk.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
//:://///////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user