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.
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name Caput Mortuum test script
|
|
//:: FileName wol_t_cptmortum
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Ability to cast death knell as a divine spell
|
|
Any nongood alignment
|
|
Ability to rebuke undead
|
|
*/
|
|
|
|
#include "prc_inc_template"
|
|
|
|
void main()
|
|
{
|
|
object oPC = OBJECT_SELF;
|
|
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
|
|
|
if(!GetHasFeat(FEAT_TURN_UNDEAD, oPC))
|
|
{
|
|
//DoDebug("wol_t_blackarch doesn't have FE: Elf");
|
|
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
|
}
|
|
// Can't cast Death Knell as a divine spell
|
|
if(!PRCGetIsRealSpellKnown(SPELL_DEATH_KNELL, oPC) && 3 > GetLevelByClass(CLASS_TYPE_CLERIC, oPC))
|
|
{
|
|
//DoDebug("wol_t_blackarch doesn't have BAB");
|
|
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
|
}
|
|
// Can't be good
|
|
if(GetAlignmentGoodEvil(oPC) == ALIGNMENT_GOOD)
|
|
{
|
|
//DoDebug("wol_t_blackarch doesn't have Drow");
|
|
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
|
}
|
|
|
|
//DoDebug("wol_t_blackarch end of script");
|
|
} |