Aantioch_Infernum/_module/nss/dragon_g_xp_t_it.nss
EpicValor 2dbcfb160b Custom creatures modded to suit their level
All constructs through dragons, and their associated items.
2023-10-07 21:36:40 -05:00

20 lines
616 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName dragon_g_xp_t_it
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 09/06/2003 21:51:12
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 500);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "dragoncall");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}