Initial Upload
Initial Upload
This commit is contained in:
21
_module/nss/give_150xp2.nss
Normal file
21
_module/nss/give_150xp2.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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_xp2",GetTag(OBJECT_SELF),oPC);
|
||||
|
||||
if (DoOnce==1) return;
|
||||
|
||||
if (GetHitDice(oPC) >= 2) return;
|
||||
|
||||
GiveXPToCreature(oPC, 150);
|
||||
SetCampaignInt("150_xp2",GetTag(OBJECT_SELF),1,oPC);
|
||||
}
|
Reference in New Issue
Block a user