Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
23
_module/nss/evil_chkadv.nss
Normal file
23
_module/nss/evil_chkadv.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
int iFlag;
|
||||
object oPC;
|
||||
|
||||
iResult = FALSE;
|
||||
iFlag = 0;
|
||||
oPC = GetPCSpeaker();
|
||||
|
||||
if (GetTag(OBJECT_SELF) == "ss1_evilquest")
|
||||
iFlag = 1;
|
||||
if (GetTag(OBJECT_SELF) == "dw1_evilquest")
|
||||
iFlag = 1;
|
||||
if (GetTag(OBJECT_SELF) == "ip1_evilquest")
|
||||
iFlag = 1;
|
||||
|
||||
if (iFlag == 1 && GetLocalInt(oPC,GetTag(OBJECT_SELF)) >= GetLocalInt(OBJECT_SELF,"TotalQuests"))
|
||||
iResult = TRUE;
|
||||
|
||||
|
||||
return iResult;
|
||||
}
|
||||
Reference in New Issue
Block a user