Minor Version Update - Patch Fix for Luck interactions
What's Changed
Added a check for the Luck potion effect within the RNG factor to consider if the player is being affected by a luck potion.
Changed version from 1.2.0 to 1.2.1
Added a Codacy analysis workflow
Fixed a bug where the RNG calculation was based off a percentage of 100 [in the case of (n/1024) * 100] while the actual player luck value was based off raw points out of 1024. This meant that so long as the player had over 100 luck points and met the criteria for that particular effect, it would successfully trigger every time. Now, both the player's luck points and the RNG number calculation is based off a percentage of 100, in the case of [(n/1024) * 100]. A total of 1024 points of luck are available, and the RNG calculates a number within 0 and 1024; This resulting number is then divided by 1024 and then subsequentially multiplied by 100 to retrieve a percentage.