Added Mine & Caverns raise & lower functionality
Added Mine & Caverns raise & lower functionality. Revamped Level 1 events to match PnP. Updated Level 1: Core. Added new Footcatcher trap type. Added Underwater heartbeat to Glop Lake Underwater. Full compile.
This commit is contained in:
19
_module/nss/sc_search_dc5.nss
Normal file
19
_module/nss/sc_search_dc5.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
//:: Returns true if PC passes a DC 5 search check
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
//:: Declare major variables
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Check if the player's search skill check is successful against DC 5
|
||||
if (GetIsSkillSuccessful(oPC, SKILL_SEARCH, 5))
|
||||
{
|
||||
//:: Player passed the search check
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
//:: Player failed the search check
|
||||
return FALSE;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user