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

23 lines
684 B
Plaintext

//::///////////////////////////////////////////////
//:: 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());
}