Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,30 @@
//::///////////////////////////////////////////////
//:: Name Hammer of Witches test script
//:: FileName wol_t_witches
//:://////////////////////////////////////////////
/*
Ability to cast 2nd-level divine spells
Lore 2 ranks
Cannot have levels in an arcane spellcasting class
*/
#include "prc_inc_template"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
if(GetLocalInt(oPC, "PRC_DivSpell2"))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(GetLevelByTypeArcane(oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(2 > GetSkillRank(SKILL_LORE, oPC, TRUE))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}