PoA_PRC8/_module/nss/takeandiunstaff.nss

19 lines
708 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
//::///////////////////////////////////////////////
//:: FileName takeandiunstaff
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 8/30/2002 6:36:06 PM
//:://////////////////////////////////////////////
void main()
{
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AnduinsStaff");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
object oContainer = GetObjectByTag("anduinescape");
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_DISPEL_DISJUNCTION), oContainer);
}