mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 12:07:15 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
30
trunk/scripts/wol_t_faithful.nss
Normal file
30
trunk/scripts/wol_t_faithful.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name Faithful Avenger test script
|
||||
//:: FileName wol_t_faithful
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Base attack bonus +5
|
||||
Weapon Proficiency (Greatsword)
|
||||
Good alignment
|
||||
*/
|
||||
|
||||
#include "prc_inc_template"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
if(!GetHasFeat(FEAT_WEAPON_PROFICIENCY_GREATSWORD, oPC) && !GetHasFeat(FEAT_WEAPON_PROFICIENCY_MARTIAL, oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(5 > GetBaseAttackBonus(oPC))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(GetAlignmentGoodEvil(oPC) != ALIGNMENT_GOOD)
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user