PRC8/nwn/nwnprc/trunk/scripts/wol_t_whelm.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

31 lines
821 B
Plaintext

//::///////////////////////////////////////////////
//:: Name Whelm test script
//:: FileName wol_t_whelm
//:://////////////////////////////////////////////
/*
Dwarf
Base attack bonus +3
Weapon proficiency (warhammer)
*/
#include "prc_inc_template"
void main()
{
object oPC = OBJECT_SELF;
int nRace = MyPRCGetRacialType(oPC);
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
if(nRace != RACIAL_TYPE_DWARF)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(3 > GetBaseAttackBonus(oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
if(!GetHasFeat(FEAT_WEAPON_PROFICIENCY_WARHAMMER, oPC) && !GetHasFeat(FEAT_WEAPON_PROFICIENCY_MARTIAL, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}