Battledale_PRC8/_module/nss/jw_createelf4.nss

14 lines
344 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oPC=GetPCSpeaker();
object oToken=GetItemPossessedBy(oPC,"jw_newtok4");
TakeGoldFromCreature(3000,oPC,TRUE);
DestroyObject(oToken);
CreateItemOnObject("jw_newitem4",oPC,1);
PlayAnimation(ANIMATION_LOOPING_CONJURE2,1.0,3.0);
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(481),oPC));
}