generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
13
_module/nss/boss_gold.nss
Normal file
13
_module/nss/boss_gold.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
object oMod = GetModule();
|
||||
int oX1 = GetLocalInt(oMod, "xcheck");
|
||||
int oC1 = GetLocalInt(oMod, "challenge");
|
||||
if ((oX1!=1)&&(oC1!=1))
|
||||
{
|
||||
object oTarget = OBJECT_SELF;
|
||||
string sItemTemplate1 = "nw_it_gold001"; // gold
|
||||
int nStackSize = 15000; // Create 20000 gold;
|
||||
CreateItemOnObject(sItemTemplate1, oTarget, nStackSize);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user