//:://///////////////////////////////////////////// //:: mh_art_act3 //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* Creates the Clarity Potion. Take the gold and experience. */ //::////////////////////////////////////////////// //:: Created By: Age //:: Created On: //::////////////////////////////////////////////// void main() { CreateItemOnObject("NW_IT_MPOTION007", GetPCSpeaker()); TakeGoldFromCreature(60, GetPCSpeaker(), TRUE); SetXP(GetPCSpeaker(), GetXP(GetPCSpeaker()) - 5); effect eVis = EffectVisualEffect(VFX_IMP_HEAD_ODD); ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, GetPCSpeaker()); }