FrameBreak Tool



What is a "breakpoint"?
Standard weapons in AceOnline related games only profit from very specific values of enchanted reattack. Read about it (very detailed) here

How are these values calculated?
An algorithm from an Excel-document by Ant converted into runnable code is used:

FbListCalc

Input: double drea (>0), int fmode (>0), int fps (>0)
int framebreaks[];
double last = 0;
for (int i = 0; i < 81; i++) {
   double bps;
   double t1 = 1 / (drea * (1 - i / 100)) * fmode;
   for (int j = 1; j < 61; j++) {
      double t2 = fps / j;
      if (t2 <= t1) {
         bps = t2;
         break;
      }
   }
   if (last != 0 && last != bps) {
      framebreaks[] = i;
   }
   last = bps;

   Print: i - bps
}
Output: framebreaks