I'm looking to rewrite scripts, but the current system use rates, and I want integers for my scripts in rolls.
A lot of the things, like pre-emtive (rate > 1.5) or criticals.
I want to rewrite some script using integers set in the maker, but convert them to whole numbers.
Do I just do something like (self.cri * 100).to_i to make it a whole number and work with it from there?
A lot of the things, like pre-emtive (rate > 1.5) or criticals.
I want to rewrite some script using integers set in the maker, but convert them to whole numbers.
Do I just do something like (self.cri * 100).to_i to make it a whole number and work with it from there?