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(oPC, 93); //Change Alignment to Chaotic AdjustAlignment(oPC, ALIGNMENT_CHAOTIC, 56); SetDeity (oPC, "Baphomet"); }