PRC8_fork/trunk/racescripts/race_kil_ancient.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -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);
}