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,45 @@
/*
Nimbus of Light
Shown a light with radius 5 feets and +2 circumstance bonus to
persuade, taunt
Created By: Starlight
Created On: 2004-5-5
*/
#include "prc_alterations"
#include "prc_feat_const"
void main()
{
object oPC = OBJECT_SELF;
string nMes = "";
PRCRemoveSpellEffects(GetSpellId(), oPC, oPC);
effect ePersuade = EffectSkillIncrease(SKILL_PERSUADE, 2);
effect eTaunt = EffectSkillIncrease(SKILL_SENSE_MOTIVE, 2);
effect eLight = EffectVisualEffect(VFX_DUR_LIGHT_WHITE_5);
effect eLink = EffectLinkEffects(ePersuade, eTaunt);
eLink = ExtraordinaryEffect(EffectLinkEffects(eLink, eLight));
if (GetAlignmentGoodEvil(oPC) == ALIGNMENT_GOOD)
{
if (!GetHasFeatEffect(FEAT_NIMBUSLIGHT))
{
// Apply the Light and Skill increase
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oPC);
// Display the message
nMes = "*Nimbus of Light Activated*";
}
else
{
// Display the message
nMes = "*Nimbus of Light Deactivated*";
}
}
else
{
nMes = "You cannot activate Nimbus of Light if you are not good";
}
FloatingTextStringOnCreature(nMes, oPC, FALSE);
}