[request]for mobs

12/22/2009 15:36 coreymills#1
how to make a certin mob drop an item like GoldGhost dropping SkyTokens
12/22/2009 20:42 Arcо#2
Quote:
Originally Posted by coreymills View Post
how to make a certin mob drop an item like GoldGhost dropping SkyTokens
Hmm haven't tried it for a certain mob.
But I've made a drop for a certain map.
You can use that.
Here's the code.
Just adjust it to the wa you want it.
In mob.cs.
Code:
else if (MyMath.ChanceSuccess(DropRates.SecondRB) && Char.Loc.Map == 1070)
                    {
                        DI2.Info.ID = 722727;
                        DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
                        DI2.Info.CurDur = DI2.Info.MaxDur;
                    }
You just have to make a droprate for it and define it.