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,36 @@
//::///////////////////////////////////////////////
//:: Name Bow of the Black Archer test script
//:: FileName wol_t_blackarch
//:://////////////////////////////////////////////
/*
Cannot be drow
Base attack bonus +3
Hide 2 ranks
Move Silently 2 ranks
Favored enemy elves +2
*/
#include "prc_inc_template"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
if(GetLocalInt(oPC, "PRC_PsiPower2"))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(2 > GetSkillRank(SKILL_CONCENTRATION, oPC, TRUE))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(!GetHasFeat(FEAT_ZEN_ARCHERY, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(3 > GetBaseAttackBonus(oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}