ID:140740
 
I'm trying to make level = mtai + mnin + mgen / 100
but using the current code it seems to only do mtai + mnin = level
any idea?
Code:
        var/Level=round(src.Mtai+ src.Mnin+ src.Mgen /100)
stat("Level: [Level]")



        var/Level=round((src.Mtai+src.Mnin+src.Mgen )/100)
stat("Level: [Level]")


http://www.byond.com/docs/ref/info.html#/operator
Read the order of operation part.