PRC8_fork/nwn/trunk/scripts/prc_ollam.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

21 lines
456 B
Plaintext

#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);
}