GooS
Azrael
- Reaction score
- 154
It might have just been that I was tired but in GUI I can't find any way to make Decimals except for this way:
This is the way I want hero attributes to increase, however since I couldn't find a way to add direct decimals I had to do 11/10 to get 1.1.
BUT for the real question, will this actually be read as a decimal or closest rounded up Integer?
This will make a hero that starts with 18 str get 19.8 but that cant be so
as a follow up question after I've gotten the number 19.8 THEN I want to round it up to closest integer, 20 in this case. (does it do this automatically? as when you use static increases through unit editor you can set them to decimal values and they round up.)
Code:
Hero - Modify Strength of (Triggering unit): Set to ((Strength of (Triggering unit) (Exclude bonuses)) x (11 / 10)
This is the way I want hero attributes to increase, however since I couldn't find a way to add direct decimals I had to do 11/10 to get 1.1.
BUT for the real question, will this actually be read as a decimal or closest rounded up Integer?
This will make a hero that starts with 18 str get 19.8 but that cant be so
as a follow up question after I've gotten the number 19.8 THEN I want to round it up to closest integer, 20 in this case. (does it do this automatically? as when you use static increases through unit editor you can set them to decimal values and they round up.)