Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Help with the code

$
0
0
![alt text][1] [1]: /storage/temp/44543-my-code.png why does plusDamage become 1 in the console when it is meant to be 1.1. basically what i am trying to do is make it so what ever number you put in extra damage will be a percentage (e.g 10 will add 10% more damage to the damage outcome) by adding 100 then dividing by 100. put it in a calculator it says 1.1 which is the outcome i want, because down the bottom I times the outcome, but in unity it says 1.

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>