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