Files
HeroesStone_PRC8/_module/nss/1in6sorc.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

24 lines
573 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName 1in6sorc
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 10/03/2005 18:55:32
//:://////////////////////////////////////////////
int StartingConditional()
{
// Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_SORCERER, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
return FALSE;
// Add the randomness
if(Random(6) >= 1)
return FALSE;
return TRUE;
}