[REQUEST] Drop DB in 5165 Source

12/25/2009 18:55 BALTA00#1
Hello every one, I come here because I am not pro in C#, and I want ask some queest, if anyone know, in my source, when you are killing monster appears in the Inventary DragonBalls, anyone know how to change this?

Thanks for read!
12/25/2009 19:01 Arcо#2
Quote:
Originally Posted by BALTA00 View Post
Hello every one, I come here because I am not pro in C#, and I want ask some queest, if anyone know, in my source, when you are killing monster appears in the Inventary DragonBalls, anyone know how to change this?

Thanks for read!
There is already a drop rate in there for dbs so put this in your source.
In mob.cs with the rest of the drops.
Code:
                    if (MyMath.ChanceSuccess(DropRates.DragonBall))
                            {
                       f (Char.Inventory.Count <= 39)
                                {
                                    Char.AddItem(1088000);
                                    return;
                                } 
                            }
                        DI2.Info.ID = 1088000;
                        DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
                        DI2.Info.CurDur = DI2.Info.MaxDur;
                    }
Sorry if its kinda messed up.
I did it here on the forums instead of trying in C#.
It should work 100% though.
12/25/2009 20:02 BALTA00#3
Quote:
Originally Posted by Hepatitis C View Post
Code:
                    if (MyMath.ChanceSuccess(DropRates.DragonBall))
                            {
                       [COLOR="Red"]iThere is already a drop rate in there for dbs so put this in your source.
In mob.cs with the rest of the drops.
f (Char.Inventory.Count <= 39)
                                {
                                    Char.AddItem(1088000);
                                    return;
                                } 
                            }
                        DI2.Info.ID = 1088000;
                        DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
                        DI2.Info.CurDur = DI2.Info.MaxDur;
                    }
Sorry if its kinda messed up.
I did it here on the forums instead of trying in C#.
It should work 100% though.[/COLOR]
Thanks very much!

I have other problema, if u know how to fix, people use ToxicFog 4 Times, and ToxicFog fixed L4, how can i repair this?