EN6_PRC8/_module/nss/en6_champ.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

21 lines
404 B
Plaintext

#include "en5_treasure"
void main()
{
object oMob;
int iAreaMaxLevel;
int iItemLevel;
oMob=OBJECT_SELF;
iAreaMaxLevel=GetMaxLevel(GetLocalString(GetArea(OBJECT_SELF),"Zone"));
iItemLevel=GetItemLevel(iAreaMaxLevel);
GetMagicItem(oMob,iItemLevel);
if (Random(5)==0)
GetMagicItem(oMob,iItemLevel,1);
if (Random(5)==0)
GetMagicItem(oMob,iItemLevel,2);
if (Random(50)==0)
GetArtifact(oMob);
}