41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName islawful
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 4/24/2008 3:37:39 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "prc_class_const"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
int nLawful = (GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_KNIGHT_CHALICE, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_FISTRAZIEL, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_VASSAL, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_INQUISITOR, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_SHADOWBANE_STALKER, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_SHINING_BLADE, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_OLLAM, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_SLAYER_OF_DOMIEL, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_DIABOLIST, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_MONK, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_DWARVEN_DEFENDER, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_SAMURAI, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_IAIJUTSU_MASTER, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_CW_SAMURAI, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_HENSHIN_MYSTIC, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_SOHEI, oPC)
|
|
+GetLevelByClass(CLASS_TYPE_KNIGHT, oPC));
|
|
|
|
if (nLawful > 0)
|
|
{
|
|
return TRUE;
|
|
}
|
|
else
|
|
{
|
|
return FALSE;
|
|
}
|
|
} |