Further file organization
Further file organization
This commit is contained in:
20
nwn/nwnprc/trunk/scripts/prc_ollam.nss
Normal file
20
nwn/nwnprc/trunk/scripts/prc_ollam.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "prc_alterations"
|
||||
#include "prc_class_const"
|
||||
|
||||
void Lore(object oPC ,object oSkin ,int iLevel)
|
||||
{
|
||||
|
||||
if(GetLocalInt(oSkin, "OllamLore") == iLevel) return;
|
||||
|
||||
SetCompositeBonus(oSkin, "OllamLore", iLevel, ITEM_PROPERTY_SKILL_BONUS,SKILL_LORE);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
//Declare main variables.
|
||||
object oPC = OBJECT_SELF;
|
||||
object oSkin = GetPCSkin(oPC);
|
||||
int nClass = GetLevelByClass(CLASS_TYPE_OLLAM, oPC);
|
||||
Lore(oPC, oSkin, nClass);
|
||||
}
|
Reference in New Issue
Block a user