Can someone enlighten me, im a little bit confused onthis code.
if (amount > 500) is it 500+ gold will autopick up? And how about
amount = 10; whats the use of this.
Help would be appreciated.
Thanks in advance.
Code:
if (ServerBase.Kernel.Rate(ServerBase.Constants.MoneyDropRate - lessrate + morepercent))
{
uint amount = (uint)ServerBase.Kernel.Random.Next((int)MinMoneyDropAmount, (int)MaxMoneyDropAmount);
//amount *= ServerBase.Constants.MoneyDropMultiple;
if (amount > 500)
amount = 10;
if (amount == 0)
return;
if (killer.VIPLevel == 1)
{
killer.Money += amount;
return;
}
amount = 10; whats the use of this.
Help would be appreciated.
Thanks in advance.