PWE_PRC8/_module/nss/ls_mediumlore.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -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;
}