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 Ramethene Sword test script
//:: FileName wol_t_ramthene
//:://////////////////////////////////////////////
/*
Base attack bonus +4
Spellcraft 2 ranks
EWP: Bastard Sword
*/
#include "prc_inc_template"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
if(4 > GetBaseAttackBonus(oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(2 > GetSkillRank(SKILL_SPELLCRAFT, oPC, TRUE))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(!GetHasFeat(FEAT_WEAPON_PROFICIENCY_EXOTIC, oPC) && !GetHasFeat(FEAT_WEAPON_PROFICIENCY_BASTARD_SWORD, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}