18 lines
295 B
Plaintext
18 lines
295 B
Plaintext
#include "hc_inc"
|
|
|
|
#include "xp_inc"
|
|
|
|
void main()
|
|
{
|
|
object oDM = GetLastSpeaker ();
|
|
object oPC;
|
|
|
|
oPC = GetLocalObject (oDM, "xpwand_target");
|
|
|
|
if (GetIsPC (oPC))
|
|
{
|
|
SendMessageToPC (oPC, "Thank you for roleplaying!");
|
|
xp_GiveXPPercentage (oPC, 12.5f);
|
|
}
|
|
}
|