Like to code so a specefic monster only drop that item,here you go: Dont know if this is the correct,since now im using the post above as an refference,and just typing what I got in ma head:
Ill release two,because I dont know which one works. If none of them work,remove one =, and see if it works,like this : if (Name = "MOBNAME")
First one:
Quote:
if (Name == "MOBNAME")
{
if (Other.ChanceSuccess(60))
{
string Item = "1088001-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
World.ItemDrops(item);
}
}
|
This is the second one:
Quote:
if (Name == "MOBNAME")
{
string Item = "1088001-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
World.ItemDrops(item);
}
|
I get my source back tomorrow,when I will be releasing tons of stuffs,and help tons,lawl. See you then!
Emme