#include "x0_i0_partywide" void main() { object oTarget; effect eVFX; effect eDamage; // Get the PC who is in this conversation. object oPC = GetPCSpeaker(); object oSelf = OBJECT_SELF; // Cause damage. eDamage = EffectDamage(15, DAMAGE_TYPE_ACID); eVFX = EffectVisualEffect(VFX_IMP_POISON_S); oTarget = GetObjectByTag("Kumal"); ApplyEffectToObject(DURATION_TYPE_INSTANT, eDamage, oTarget); ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX , oTarget); // Have text appear over the PC's head. FloatingTextStringOnCreature("Kumal tries to rise, only to fall heavily.", oPC); // Give 5 experience (to party) to the PC. GiveXPToAll(oPC, 5); // Destroy an object (not fully effective until this script ends). DelayCommand(3.0, DestroyObject(oSelf)); }