18 lines
345 B
Plaintext
18 lines
345 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);
|
||
|
|
||
|
}
|