mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 05:57:15 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
32
trunk/scripts/prc_werewolf.nss
Normal file
32
trunk/scripts/prc_werewolf.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
||||
Reference in New Issue
Block a user