Jump to content

Elin:Code Analysis/Unclassified: Difference between revisions

m
(add code analysis for gamble chest)
Line 151: Line 151:
* This code defines what happens when you open a gamble chest.
* This code defines what happens when you open a gamble chest.
* Winning only grants you orens.
* Winning only grants you orens.
* The maximum orens you can win is (500 × Chest Level) + 5000. For example, if the chest's name ends with +50, based on this formula, you can win an amount between 15000 and 30000 orens.
* The maximum orens you can win is (500 × Chest Level) + 5000.  
** For example, if the chest's name ends with +50, based on this formula, you can win an amount between 15000 and 30000 orens.
* If a gamble chest is unlocked by an informer, a bug causes the winning amount to be between 2,500 and 3,000 orens.
* The minimum orens you can win is half of the maximum.
* The minimum orens you can win is half of the maximum.
* The winning chance is based on the total number of gamble chests opened, allowing players to exploit it through save scumming. For example, if you save your progress, open chests, and win on the 9th one, reloading will always result in a win on the 9th chest.
* The winning chance is based on the total number of gamble chests opened, allowing players to exploit it through save scumming. For example, if you save your progress, open chests, and win on the 9th one, reloading will always result in a win on the 9th chest.
2

edits