WoR_PRC8/_module/nss/treasure_larad.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

20 lines
483 B
Plaintext

#include "NW_O2_CONINCLUDE"
#include "NW_I0_GENERIC"
#include "X2_inc_treasure"
void main()
{
SetListeningPatterns();
WalkWayPoints();
GenerateHighTreasure(OBJECT_SELF);
GenerateHighTreasure(OBJECT_SELF);
{int nRandom = d10(1);
if (nRandom == 1){
CreateItemOnObject("wblhw003", OBJECT_SELF, 1);}
else if (nRandom == 5){
CreateItemOnObject("wblhw003", OBJECT_SELF, 1);}
else {
CreateItemOnObject("x2_WBLHW005", OBJECT_SELF, 1);}}
}