mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-16 16:27:15 -05:00
Further file organization
Further file organization
This commit is contained in:
23
nwn/nwnprc/trunk/scripts/prc_fochlyr.nss
Normal file
23
nwn/nwnprc/trunk/scripts/prc_fochlyr.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "prc_alterations"
|
||||
#include "prc_class_const"
|
||||
|
||||
void Lore(object oPC ,object oSkin ,int iLevel)
|
||||
{
|
||||
|
||||
if(GetLocalInt(oSkin, "FochlucanLore") == iLevel)
|
||||
return;
|
||||
|
||||
SetCompositeBonus(oSkin, "FochlucanLore", iLevel, ITEM_PROPERTY_SKILL_BONUS,SKILL_LORE);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
//:: Declare major variables
|
||||
|
||||
object oPC = OBJECT_SELF;
|
||||
object oSkin = GetPCSkin(oPC);
|
||||
int nClass = GetLevelByClass(CLASS_TYPE_FOCHLUCAN_LYRIST, oPC);
|
||||
|
||||
Lore(oPC, oSkin, nClass);
|
||||
}
|
||||
Reference in New Issue
Block a user