HiddenTradition_PRC8/_module/nss/at_worship_egc.nss
2024-06-20 15:47:42 -04:00

23 lines
402 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
// apply whiz-bang FX
effect eVisual = EffectVisualEffect(VFX_IMP_RESTORATION_GREATER);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVisual, oPC);
// Give the speaker some XP
GiveXPToCreature(oPC, 93);
// Set the variables
SetLocalInt(GetPCSpeaker(), "Worship", 1);
AdjustAlignment(oPC, ALIGNMENT_CHAOTIC, 10);
}