22 lines
603 B
Plaintext
22 lines
603 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_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);
|
||
|
}
|