22 lines
415 B
Plaintext
22 lines
415 B
Plaintext
|
|
void main()
|
|
{
|
|
// apply whiz-bang FX
|
|
object oPC = GetPCSpeaker();
|
|
|
|
|
|
effect eVisual = EffectVisualEffect(VFX_IMP_RESTORATION_GREATER);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVisual, oPC);
|
|
|
|
|
|
// Give the speaker some XP
|
|
GiveXPToCreature(GetPCSpeaker(), 33);
|
|
|
|
|
|
//Change Alignment to Lawful
|
|
AdjustAlignment(oPC, ALIGNMENT_LAWFUL, 72);
|
|
|
|
SetLocalInt (oPC, "BaptiseLaw", 1);
|
|
|
|
}
|