Fixed exploit

Fixed exploit. Added test Shield scroll.  Tweaked a few creatures.
This commit is contained in:
Jaysyn904
2023-01-01 23:56:52 -05:00
parent 21cd68333a
commit 409981289e
27 changed files with 1411 additions and 191 deletions

View File

@@ -0,0 +1,29 @@
//::///////////////////////////////////////////////
//::
//:: sc_30dc_distrap.nss
//::
//:: Copyright (c) 2023 Project RATDOG
//::
//:://////////////////////////////////////////////
/*
Performs a 30DC Disable Trap check in
conversation
*/
//:://////////////////////////////////////////////
//::
//:: Created By: Jaysyn
//:: Created On: 20230101
//::
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
if (!GetIsSkillSuccessful(oPC, SKILL_DISABLE_TRAP, 30)) return FALSE;
return TRUE;
}

View 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;
}