The way discounts are calculated now are giving incorrect values.
Using Revolution's Chance as an example.
In-Game:
![image](https://user-images.githubusercontent.com/8222603/222032577-51af14df-471b-4c9f-b6b4-f79f564b6d4a.png)
cost = Math.round(skill.cost * (1 - discount))
cost = Math.round(30 * (1 - 0.66))
cost = Math.round(30 * (0.34))
cost = Math.round(10.2)
cost = 10
Builder:
![image](https://user-images.githubusercontent.com/8222603/222032689-42d67a93-9bbd-4a54-9563-302f474f43cc.png)
cost = skill.cost - Math.floor(discount * skill.cost)
cost = 30 - Math.floor(0.66 * 30)
cost = 30 - Math.floor(19.8)
cost = 30 - 19
cost = 11
And in the inverse case, where the value before rounding is 10.5 or higher, the game would round up to 11 instead of 10.