forked from Jaysyn/PRC8
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name Gravetouched Ghoul template test script
|
|
//:: FileName tmp_t_gravetouch
|
|
//::
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Strat
|
|
//:: Created On: 27/1/21
|
|
//:://////////////////////////////////////////////
|
|
|
|
#include "prc_inc_template"
|
|
|
|
void main()
|
|
{
|
|
object oPC = OBJECT_SELF;
|
|
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
|
|
|
int nRace = MyPRCGetRacialType(oPC);
|
|
|
|
// These are the legal races
|
|
if (nRace != RACIAL_TYPE_HUMANOID_MONSTROUS &&
|
|
nRace != RACIAL_TYPE_GIANT &&
|
|
nRace != RACIAL_TYPE_DWARF &&
|
|
nRace != RACIAL_TYPE_ELF &&
|
|
nRace != RACIAL_TYPE_FEY &&
|
|
nRace != RACIAL_TYPE_GNOME &&
|
|
nRace != RACIAL_TYPE_HUMANOID_GOBLINOID &&
|
|
nRace != RACIAL_TYPE_HALFELF &&
|
|
nRace != RACIAL_TYPE_HALFLING &&
|
|
nRace != RACIAL_TYPE_HALFORC &&
|
|
nRace != RACIAL_TYPE_HUMAN &&
|
|
nRace != RACIAL_TYPE_HUMANOID_MONSTROUS &&
|
|
nRace != RACIAL_TYPE_HUMANOID_ORC &&
|
|
nRace != RACIAL_TYPE_HUMANOID_REPTILIAN &&
|
|
nRace != RACIAL_TYPE_ABERRATION)
|
|
{
|
|
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
|
}
|
|
} |