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

19 lines
390 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUNBEAM), GetLocation(oPC));
// Give the speaker some XP
GiveXPToCreature(oPC, 50);
// Set the variables
SetLocalInt(GetPCSpeaker(), "Worship", 1);
AdjustAlignment(oPC, ALIGNMENT_LAWFUL, 10);
AdjustAlignment(oPC, ALIGNMENT_EVIL, 10);
}