Further file organization
Further file organization
This commit is contained in:
27
nwn/nwnprc/trunk/scripts/wol_t_steadfast.nss
Normal file
27
nwn/nwnprc/trunk/scripts/wol_t_steadfast.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name Steadfast test script
|
||||
//:: FileName wol_t_steadfast
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Base attack bonus +3
|
||||
Weapon Focus (Scimitar)
|
||||
*/
|
||||
|
||||
#include "prc_inc_template"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
if(!GetHasFeat(FEAT_WEAPON_FOCUS_SCIMITAR, oPC))
|
||||
{
|
||||
//DoDebug("wol_t_blackarch doesn't have FE: Elf");
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(3 > GetBaseAttackBonus(oPC))
|
||||
{
|
||||
//DoDebug("wol_t_blackarch doesn't have BAB");
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user