Battledale_PRC8/_module/nss/jw_persu_ck21_gd.nss

21 lines
565 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: FileName persuade_check25
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 24/07/2002 19:56:31
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
int iDC = 21;
int iBonus = GetSkillRank(SKILL_PERSUADE, GetPCSpeaker());
if (((d20() + iBonus) >= iDC)&&(GetAlignmentGoodEvil(GetPCSpeaker())==ALIGNMENT_GOOD))
{
return TRUE;
}
return FALSE;
}