WoR_PRC8/_module/nss/xp_kobold.nss

21 lines
684 B
Plaintext
Raw Normal View History

2025-04-03 11:49:34 -04:00
//::///////////////////////////////////////////////
//:: FileName xp_bugbear
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 3/24/2003 11:07:37 AM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
RewardPartyXP(25, GetPCSpeaker());
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "KoboldSlaveKey");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
AdjustReputation(GetPCSpeaker(), GetObjectByTag("faction_kobold"), 2);
SetIsDestroyable(TRUE);
DestroyObject(OBJECT_SELF);
}