PRC8/trunk/scripts/mh_art_act2.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

23 lines
680 B
Plaintext

//::///////////////////////////////////////////////
//:: mh_art_act2
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Creates the Antidote.
Take the gold and experience.
*/
//:://////////////////////////////////////////////
//:: Created By: Age
//:: Created On:
//:://////////////////////////////////////////////
void main()
{
CreateItemOnObject("NW_IT_MPOTION006", GetPCSpeaker());
TakeGoldFromCreature(150, GetPCSpeaker(), TRUE);
SetXP(GetPCSpeaker(), GetXP(GetPCSpeaker()) - 12);
effect eVis = EffectVisualEffect(VFX_IMP_HEAD_ODD);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, GetPCSpeaker());
}