Ancordia_PRC8/_module/nss/quest_persuade2.nss

10 lines
286 B
Plaintext
Raw Normal View History

2023-09-21 19:51:32 -04:00
#include "quest_inc"
int StartingConditional()
{
object oPC = GetPCSpeaker();
if (GetLocalInt(oPC, "FailedSkill") == TRUE) return FALSE;
int nDC = GetAdjustedSkillDC(oPC);
if (GetIsSkillSuccessful(oPC, SKILL_PERSUADE, nDC) == TRUE) return TRUE;
else return FALSE;
}