Trees/Shaking/row

It automatically calculates the correct chance from a given input taking into consideration all previous chances. This is necessary because it is not correct to claim that the line  somewhere inside the if-else tree in ShakeTree is identical to a flat 1/35 chance. (Instead, one must take into consideration all previous if and else if checks.) Typically, there are also other conditions aside from just the chance, such as Halloween being active or that it is daytime. This subpage is capable of recognizing that and printing differentiated chances.

Pass the tree drop as the first, the chance as in the source code as the second, the tree type as the third, and the condition as the fourth unnamed parameter. The chance must be in a  format, e.g. 1/35 or 2/7. Valid values for tree types and conditions are and, respectively; separate multiple with a comma.

To only initialize the variables that hold the exclusivity icons, set the first unnamed parameter to init images; all other parameters will have no effect in that case. Access the icons with, e.g..

Arbres/Shaking/row 树/摇晃/row