22 lines
603 B
Plaintext
Raw Permalink Normal View History

2023-08-08 16:22:17 -04:00
//::///////////////////////////////////////////////
//:: FileName give_150xp
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 07/10/2003 20:00:33
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some XP
object oPC = GetPCSpeaker();
int DoOnce = GetCampaignInt("150_xp",GetTag(OBJECT_SELF),oPC);
if (DoOnce==1) return;
if (GetHitDice(oPC) >= 2) return;
GiveXPToCreature(oPC, 150);
SetCampaignInt("150_xp",GetTag(OBJECT_SELF),1,oPC);
}