Jump to content
  • 0
Sign in to follow this  

Someone help me convert this calculation to C #.?



I did this calculation in Excel, and would like to apply it to a function.



A14 = nudLevel.Value


And the calc is





Currently it is like this, of course full of errors, because I have not yet learned to move with operators


        private void nudLevel_ValueChanged(object sender, EventArgs e)
            mEditorItem.Level = (int) nudLevel.Value;
            nudExp.Value = 10 * nudLevel.Value + 1.5 ^ 2,2 + 250 * (nudLevel.Value / 20) ^ 4;


This is the button I'm modifying

It is a function that will automatically change the mob's XP depending on his level


If anyone can help me, I would appreciate it more

Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Sign in to follow this  

  • Create New...