PoA_PRC8/module/nss/takeandiunstaff.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

19 lines
708 B
Plaintext

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