PRC8/nwn/nwnprc/trunk/scripts/prc_werewolf.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

33 lines
895 B
Plaintext

//::///////////////////////////////////////////////
//:: Adds the Werewolf skin properties
//:: prc_werewolf
//:: Copyright (c) 2004 Shepherd Soft
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Russell S. Ahlstrom
//:: Created On: May 11, 2004
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "prc_class_const"
#include "prc_feat_const"
void AddLycanthropeSkinProperties(object oPC, object oSkin)
{
if (GetLocalInt(oSkin, "WerewolfArmorBonus") == 2) return;
SetCompositeBonus(oSkin, "WerewolfArmorBonus", 2, ITEM_PROPERTY_AC_BONUS);
SetCompositeBonus(oSkin, "WerewolfWisBonus", 2, ITEM_PROPERTY_ABILITY_BONUS,IP_CONST_ABILITY_WIS);
}
void main()
{
object oPC = OBJECT_SELF;
object oSkin = GetPCSkin(oPC);
AddLycanthropeSkinProperties(oPC, oSkin);
}