PRC8/nwn/trunk/racescripts/race_kil_ancient.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

20 lines
551 B
Plaintext

// Killoren Aspect of the Ancient
#include "prc_alterations"
void main()
{
object oPC = OBJECT_SELF;
int nBonus = GetHitDice(oPC);
if (GetHasFeat(FEAT_KILLOREN_ANCIENT, oPC)) nBonus += 4;
effect eLore = SupernaturalEffect(EffectSkillIncrease(SKILL_LORE, nBonus));
SetLocalInt(oPC, "KillorenAncient", TRUE);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLore, oPC, HoursToSeconds(24));
DecrementRemainingFeatUses(oPC, FEAT_KILLOREN_ASPECT_H);
DecrementRemainingFeatUses(oPC, FEAT_KILLOREN_ASPECT_D);
}