Jump to content

Math guys.


Syre

Recommended Posts

Okay, so I'm about 90% sure I understand this equation...but i'll ask for help anyways.

At1: At value of our main weapon (the one we are synthing to)

At2: At value of our auxilliary weapon (the one we are spectrumizing)

Case 1: At1 >= At2

At1 = At1 + floor(0.25 * At2)

Case 2: At1 < At2

At1 = At1 + floor(0.25 * At2 + 0.75 * (At2 - At1))

Where At is attack value.

So, what I'm THINKING is, in case 1...

Say, at1 = 101 and at2 = 100 the at given (as this is a formula to find out how much attack is gained), would be

at1(new) = 101 + (.25 * 100) rounded down

Which means the new would be...

126.

Now for equation 2, again using 101 and 100, just swapped

At1(new) = 100 + (0.25 * 101 + 0.75 * (101 - 100)) rounded down, so...

125, as 75% of 1 is 0 when 'floored'

This is how the math went in my head

125 = 100 + (25 + .75(1)) (floored)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...