-
Notifications
You must be signed in to change notification settings - Fork 0
Fountain
The Fountain tool allows you to store and transmit fountain set-ups between friends, as well as get a preview of the overall gold and experience bonus, and its approximated cost for getting that fountain selection.
The UI for this tool looks very similar to the one found in-game, and is ordered for both positive and negative effects on separate listings. Simply click on them to toggle them on, or off and the appropriate values will be updated immediately.
Using the "Save" button you can save the fountain setup to a file, for later loading. Likewise, the "Load" button will load those files in. For save format, see section below labeled Save Format.
Using the "Quick Share" button, it will copy the code to the clipboard to be pasted into a social environment for easy copy/pasting for the "Load Share" button.
In the event you want to mess around with the settings, or otherwise see if something is worth it outside of the game, and wish to clear back to no selection, use the "Reset" button.
The "Show Selected" button, when clicked, will hide all unselected fountain modifiers and the text will become "Show All." Upon reclicking the button, it will then show all of the fountain modifiers again.
The save format of the files, as well as the format of the quick share codes, is done by using a bit-mask toggle. This is done by converting from top to bottom, left to right, the order of the selections before being converted into a 64-bit long. Each of the bitmasked saved elements are stored separated by the letter 'A'
The format is as follows:
#####A#####A##A#
- First section indicates the positive modifiers long value
- Second section indicates the negative modifiers long value
- Third section indicates the overall favor value
- Fourth section indicates if the "Show Selected" button is checked (so it says "Show All") or not