ServUO Version
Publish 57
Ultima Expansion
Age Of Shadows
Where can i check doom arties drop rate? Checked demonknight.cs, couldt found the lines
 
In my demon knight.cs,there is next section:
C#:
public static void HandleKill(Mobile victim, Mobile killer)

And the formula inside calculates the chance to drop artifacts:

C#:
double gpoints = pm.GauntletPoints;
            int luck = Math.Max(0, pm.RealLuck);

            pm.GauntletPoints += (int)Math.Max(0, (bc.Fame * (1 + Math.Sqrt(luck) / 100)) / 2);

            const double A = 0.000463316841;  //const double A = 0.000863316841;
            const double B = 0.00000425531915;

            double chance = A * Math.Pow(10, B * gpoints);
            double roll = Utility.RandomDouble();
 
In my demon knight.cs,there is next section:
C#:
public static void HandleKill(Mobile victim, Mobile killer)

And the formula inside calculates the chance to drop artifacts:

C#:
double gpoints = pm.GauntletPoints;
            int luck = Math.Max(0, pm.RealLuck);

            pm.GauntletPoints += (int)Math.Max(0, (bc.Fame * (1 + Math.Sqrt(luck) / 100)) / 2);

            const double A = 0.000463316841;  //const double A = 0.000863316841;
            const double B = 0.00000425531915;

            double chance = A * Math.Pow(10, B * gpoints);
            double roll = Utility.RandomDouble();
Ty =D
 
Back