Changed folder name.
Changed folder name.
This commit is contained in:
15
_module/nss/spawnlegend.nss
Normal file
15
_module/nss/spawnlegend.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
void main()
|
||||
{
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
//0 - 56 (as 57 is not counted)
|
||||
int nDice = Random(57);
|
||||
|
||||
//note you must have an artifact with the resref artifact0
|
||||
|
||||
string sName = "legend" + IntToString(nDice);
|
||||
|
||||
//Put one of the above artifacts in the Unique Chest..
|
||||
CreateItemOnObject(sName, oSelf, 1);
|
||||
|
||||
}
|
Reference in New Issue
Block a user