PRC8/nwn/trunk/scripts/prc_doa_lrnscrt.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

28 lines
954 B
Plaintext

//::///////////////////////////////////////////////
//:: Disciple of Asmodeus Learn Secret
//:: prc_doa_lrnscrt.nss
//::///////////////////////////////////////////////
/*
Gives them a +10 bonus to Lore for 1 round a day.
*/
//:://////////////////////////////////////////////
//:: Created By: Stratovarius
//:: Created On: 27.2.2006
//:://////////////////////////////////////////////
#include "prc_alterations"
void main()
{
object oPC = OBJECT_SELF;
effect eLore = EffectSkillIncrease(SKILL_LORE, 10);
effect eVis = EffectVisualEffect(VFX_IMP_MAGICAL_VISION);
effect eDur = EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE);
effect eLink = EffectLinkEffects(eVis, eDur);
eLink = EffectLinkEffects(eLink, eLore);
//Apply linked and VFX effects
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oPC, RoundsToSeconds(1),TRUE,-1,99);
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oPC);
}