Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
22
_module/nss/en4_tg_gl0.nss
Normal file
22
_module/nss/en4_tg_gl0.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "prc_class_const"
|
||||
#include "utl_i_sqluuid"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
object oPC;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
iResult = FALSE;
|
||||
|
||||
if (SQLocalsUUID_GetInt(oPC,"PCGuild") == 0 && SQLocalsUUID_GetInt(oPC,"PCGuildLevel") == 0)
|
||||
if (GetLevelByClass(CLASS_TYPE_ROGUE,oPC) > 0
|
||||
|| GetLevelByClass(CLASS_TYPE_BARD,oPC) > 0
|
||||
|| GetLevelByClass(CLASS_TYPE_NINJA,oPC) > 0
|
||||
|| GetLevelByClass(CLASS_TYPE_SCOUT,oPC) > 0
|
||||
|| GetLevelByClass(CLASS_TYPE_SWORDSAGE,oPC) > 0
|
||||
|| GetLevelByClass(CLASS_TYPE_PSYCHIC_ROGUE,oPC) > 0)
|
||||
iResult = TRUE;
|
||||
|
||||
return iResult;
|
||||
}
|
Reference in New Issue
Block a user