Gambling Calculator

This forum is for members of the public to post any announcements relating to Diablo 2 Mod Making including mod and patch releases amongst other similar subjects.
User avatar
GalaXyHaXz
Hosted Forum Moderator
Crusader
Posts: 54
Joined: Mon Apr 04, 2011 3:44 am

Gambling Calculator

Post by GalaXyHaXz » Fri Jan 03, 2014 12:31 pm

Have you wanted to change the chances for gambling in your mod? Confused by the formula Diablo 2 uses? Well never fear my friend, you did the best you could! Using this simple batch file, you can punch in the chances you want for uniques/sets/rares. The format is 1 in x. So if you wanted uniques to be 1 in 100, type 100 when it asks you the unique chance. It will then spit out the number to put in DifficultyLevels.txt (1.10+) and the decimal number for code editing (1.09) to change the chance of gambling.

Enjoy, and happy 2014 :cool:

Edit: updated so that now it should show the percentage for sets/uniques/rares. However, command prompt is limited to integers, so they will be rounded up. If the percent is less than 1, the batch file will say "less than 1 percent".
You do not have the required permissions to view the files attached to this post.
1.09b Fixup: Download
UnSecurom'd .exe for patches 1.00-1.11b: Download
My very first mod, SLASH: Download

Return to “Member Аnnouncements”