Further file organization
Further file organization
This commit is contained in:
30
nwn/nwnprc/trunk/scripts/wol_t_supernal.nss
Normal file
30
nwn/nwnprc/trunk/scripts/wol_t_supernal.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name Supernal Clarity test script
|
||||
//:: FileName wol_t_supernal
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Base attack bonus +3
|
||||
Weapon Proficiency (Rapier)
|
||||
Concentration 4 ranks
|
||||
*/
|
||||
|
||||
#include "prc_inc_template"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
if(!GetHasFeat(FEAT_WEAPON_PROFICIENCY_RAPIER, oPC) && !GetHasFeat(FEAT_WEAPON_PROFICIENCY_MARTIAL, oPC) && !GetHasFeat(FEAT_WEAPON_PROFICIENCY_ELF, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(3 > GetBaseAttackBonus(oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(4 > GetSkillRank(SKILL_CONCENTRATION, oPC, TRUE))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user