2009-07-31, 09:25 PM
Pardon the semi-necropost, I kind of wasn't around at the time of posting.
10000010 = -126
11000001 = -63
While we're at it, can you take a look at how the formula works the other way around (especially with magic attacks)? And, do you know if this formula also works with monsters' magic attacks? Or do they just not miss (I don't recall)?
Kortestanov Wrote:Oh I didn't know that. nice.Uhh... yes. What he said is still correct, if working with signed integers
And yes, its a glider :f6:
EDIT: You are talking about SHR. SAR is arithmetic, so if the most significant bit is 1 you need to add another 1 to the left.
e.g. sar'ing the binary string 10000010 would result in 11000001
10000010 = -126
11000001 = -63
While we're at it, can you take a look at how the formula works the other way around (especially with magic attacks)? And, do you know if this formula also works with monsters' magic attacks? Or do they just not miss (I don't recall)?

