how do i make so that
src.Battlepower=0
src.Battlepower_max=60
src.Battlepower = 10(any number)% of src.Battlepower_max
so if Battlepower_max = 60 and i want to make Battlepower = 10% of Battlepower_max. I want it to be 6 that is 10% of 60
Copyright © 2025 BYOND Software.
All rights reserved.
value / max_value (e.g. 100) * 100 = the percent
X percent of something is X/100 * max_value