Shargast_PRC8/_module/Chapter 1/nss/ls_mediumlore.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

24 lines
723 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName ls_mediumlore
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 27-12-2002 00:25:41
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
//This caused a division by zero when executed, probably
//because there's no NPC hitdice (I'm guessing here.)
//Instead, I just check if the lore is 12 or more.
// Perform skill checks
// if(!(AutoDC(DC_MEDIUM, SKILL_LORE, GetPCSpeaker())))
// return FALSE;
int nLore=GetSkillRank(SKILL_LORE, GetPCSpeaker());
if (nLore>=12) return TRUE;
return FALSE;
}