Quote:
Originally Posted by BALTA00
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.