Further file organization
Further file organization
This commit is contained in:
30
nwn/nwnprc/trunk/scripts/wol_t_wyrmbane.nss
Normal file
30
nwn/nwnprc/trunk/scripts/wol_t_wyrmbane.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name Wyrmbane Helm test script
|
||||
//:: FileName wol_t_wyrmbane
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Ability to cast 2nd-level arcane spells
|
||||
Base attack bonus +3
|
||||
Proficient with martial weapons
|
||||
*/
|
||||
|
||||
#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(GetLocalInt(oPC, "PRC_ArcSpell2"))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(!GetHasFeat(FEAT_WEAPON_PROFICIENCY_MARTIAL, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user