MMD_PRC8/_module/nss/rnd_amlt.nss
Jaysyn904 adeff59f82 Initial commit
Initial commit.
2024-08-02 23:18:00 -04:00

40 lines
661 B
Plaintext

void main()
{
int iEnchNum = GetLocalInt(OBJECT_SELF,"times");
if (iEnchNum==1)
{
ExecuteScript("rnd_addcsd",OBJECT_SELF);
return;
}
else if (iEnchNum==2)
{
ExecuteScript("rnd_addcsd",OBJECT_SELF);
ExecuteScript("rnd_addwmisc",OBJECT_SELF);
return;
}
else if (iEnchNum==3)
{
ExecuteScript("rnd_addacb",OBJECT_SELF);
ExecuteScript("rnd_addwmisc",OBJECT_SELF);
ExecuteScript("rnd_addcsd",OBJECT_SELF);
return;
}
else if (iEnchNum==4)
{
ExecuteScript("rnd_addacb",OBJECT_SELF);
ExecuteScript("rnd_addwmisc",OBJECT_SELF);
ExecuteScript("rnd_adddef",OBJECT_SELF);
ExecuteScript("rnd_addcsd",OBJECT_SELF);
return;
}
}