23 lines
402 B
Plaintext
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);
|
|
|
|
}
|