Module commit
Module commit.
This commit is contained in:
14
_module/nss/_unlock_skill1.nss
Normal file
14
_module/nss/_unlock_skill1.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int iSkillGain = GetLocalInt(oPC,"iSkillGain");
|
||||
int iSkillBook = GetLocalInt(oPC,"iSkillBookUse");
|
||||
if (iSkillBook!=0)
|
||||
{
|
||||
AssignCommand(oPC,DelayCommand(30.0,SetLocalInt(oPC,"iSkillBookUse",0)));
|
||||
return FALSE;
|
||||
}
|
||||
if (iSkillGain!=0) return TRUE;
|
||||
return FALSE;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user