Quote:
Originally Posted by pro4never
as in 1 monster name? are you sure you didn't indent your code under a specific mob/map check?
|
no i didn't here is the code check it out
if (MyMath.ChanceSuccess(100))
{
DI2.Silvers = (uint)(Rnd.Next(MinSilvers, MaxSilvers) * DropRates.Silver);
if(Char != null)
if (MyMath.ChanceSuccess(100))
{
if (MobID == 52)
Char.CPs += 1000;
{
Char.Silvers += 1000000;
return;
}
}
that works for birdmen
when i add it for Pheasant
i make it like this
if (MyMath.ChanceSuccess(100))
{
DI2.Silvers = (uint)(Rnd.Next(MinSilvers, MaxSilvers) * DropRates.Silver);
if(Char != null)
if (MyMath.ChanceSuccess(100))
{
if (MobID == 52)
if (MobID == 1)
Char.CPs += 1000;
{
Char.Silvers += 1000000;
return;
}
}
but this don't work for bird men or Pheasant so what iam doing wrong