in normal math, I'd write Ax.10
How do i do this in byond without getting the:
proc.dm:21:error: .10: undefined type path
error?
I assume it would be something like this but i'm not on my home computer
APCheck()
while(src.EXP_POOL>=src.EXP_M_POOL)
var/remainder = EXP_POOL - EXP_M_POOL
src.EXP_POOL=0 + remainder
src.EXP_M_POOL+=round(src.EXP_M_POOL/10)
src.AP+=1
src<<"You have gained an Ability Point"
src << "You now have [src.AP] APs"
Thoughts?
Also, to increase a number by 10%, one might write it as
This, however, can be simplified as