Henchman work
Henchman work.
This commit is contained in:
11
_module/nss/clickforxp.nss
Normal file
11
_module/nss/clickforxp.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
void main()
|
||||
{
|
||||
// Get the creature who triggered this event.
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
// Give 3000 experience to the PC.
|
||||
GiveXPToCreature(oPC, 30000);
|
||||
|
||||
// Send a message to the player's chat window.
|
||||
SendMessageToPC(oPC, "" + GetName(oPC) + " received XP");
|
||||
}
|
Reference in New Issue
Block a user