Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
29 lines
826 B
Plaintext
29 lines
826 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName sc_chk_rogue
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 26.06.2002 17:43:20
|
|
//:://////////////////////////////////////////////
|
|
#include "prc_class_const"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
int iRogue = GetLevelByClass(CLASS_TYPE_ROGUE, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SCOUT, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_NINJA, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_FACTOTUM, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_PSYCHIC_ROGUE, oPC);
|
|
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(iRogue >= 1)
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
} |