Battledale_PRC8/_module/nss/sc_chk_rogue.nss
Jaysyn904 e5b3f6ad61 Finished PRC8 integration
Finished PRC8 integration.  Moved creature abilities to top hak.  Setup tooling.  Created release archive
2024-03-12 21:27:23 -04:00

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;
}