WoR_PRC8/_module/nss/vamp_recall_rew.nss

23 lines
695 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
//::///////////////////////////////////////////////
//:: FileName vamp_recall_rew
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 26/02/2005 2:10:37 PM
//:://////////////////////////////////////////////
void main()
{
object sword = GetItemPossessedBy(GetPCSpeaker(), "Vamp_Sword");
SetPlotFlag(sword, FALSE);
DestroyObject(sword);
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 100);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 200);
// Give the speaker the items
CreateItemOnObject("vamprecall", GetPCSpeaker(), 1);
}