Initial upload
Initial upload
This commit is contained in:
26
_module/nss/levelupscript2.nss
Normal file
26
_module/nss/levelupscript2.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//Created by Guile 12/31/06
|
||||
//Put this script OnEnter of a tracks trigger
|
||||
|
||||
#include "nw_i0_tool"
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
if (GetHitDice(oPC) <= 1)
|
||||
{
|
||||
RewardPartyXP(3330, oPC, FALSE);
|
||||
|
||||
RewardPartyGP(33300, oPC, FALSE);
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user