Aantioch_Infernum/_module/nss/give_150xp3.nss
2023-10-12 22:59:45 -05:00

22 lines
605 B
Plaintext

//::///////////////////////////////////////////////
//:: 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_xp3",GetTag(OBJECT_SELF),oPC);
if (DoOnce==1) return;
if (GetHitDice(oPC) >= 6) return;
GiveXPToCreature(oPC, 150);
SetCampaignInt("150_xp3",GetTag(OBJECT_SELF),1,oPC);
}