PHP Code:
if (MyMath.ChanceSuccess(PlusNineRate * Char.MagicFind) && Program.PlusNineDropLimit < 25)
{
Program.SendToLog(Char.Name + " found a +9!");
DI3.Info.Plus = 9;
DI3.Info.CurDur = 10000;
DI3.Info.MaxDur = 10000;
Char.AddItem(DI3.Info);
Program.PlusNineDropLimit++;
World.SendMsgToAll("SYSTEM", "An enemy killed by " + Char.Name + " just dropped a +9 " + DI3.Info.DBInfo.Name + "! (" + DI3.Loc.X + ", " + DI3.Loc.Y + ")", 2011, 0);
Char.MyClient.LocalMessage(2005, "An enemy just dropped a +9 " + DI3.Info.DBInfo.Name + ". (" + DI3.Loc.X + ", " + DI3.Loc.Y + ")");
}
Thank you for taking the time to have a look <3