Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
//::///////////////////////////////////////////////
//:: [Archivist - Lore Mastery]
//:: [prc_archivist.nss]
//:://////////////////////////////////////////////
#include "inc_item_props"
#include "prc_class_const"
#include "prc_feat_const"
void main()
{
object oPC = OBJECT_SELF;
int nLevel = GetLevelByClass(CLASS_TYPE_ARCHIVIST, oPC);
if(nLevel > 1)
{
object oSkin = GetPCSkin(oPC);
int nLoreBonus = GetHasFeat(FEAT_EPIC_LORE_MASTERY, oPC) ? nLevel / 2 : (nLevel + 3) / 5;
SetCompositeBonus(oSkin, "Lore_Mastery", nLoreBonus, ITEM_PROPERTY_SKILL_BONUS, SKILL_LORE);
}
}