Initial upload
Initial upload
This commit is contained in:
26
_module/nss/dungeonreward1.nss
Normal file
26
_module/nss/dungeonreward1.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
void CreateItemOnObjectVoid(string sItemTemplate, object oTarget=OBJECT_SELF, int nStackSize=1)
|
||||
{
|
||||
CreateItemOnObject(sItemTemplate, oTarget, nStackSize);
|
||||
}
|
||||
|
||||
//Created by Guile 01/15/07
|
||||
//Put this script OnEnter of a tracks trigger
|
||||
#include "nw_i0_tool"
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetItemPossessedBy(oPC, "strangestone")!= OBJECT_INVALID)
|
||||
return;
|
||||
|
||||
DelayCommand(30.0, RewardPartyXP(1000, oPC, FALSE));
|
||||
|
||||
DelayCommand(30.0, RewardPartyGP(1000, oPC, FALSE));
|
||||
|
||||
DelayCommand(30.0, CreateItemOnObjectVoid("strangestone", oPC));
|
||||
|
||||
}
|
Reference in New Issue
Block a user