20 lines
392 B
Plaintext
20 lines
392 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUNBEAM), GetLocation(oPC));
|
|
|
|
// Give the speaker some XP
|
|
GiveXPToCreature(oPC, 100);
|
|
|
|
// Set the variables
|
|
SetLocalInt(GetPCSpeaker(), "Worship", 1);
|
|
|
|
AdjustAlignment(oPC, ALIGNMENT_NEUTRAL, 5);
|
|
|
|
AdjustAlignment(oPC, ALIGNMENT_GOOD, 10);
|
|
|
|
}
|