document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. /*
  2. ——————————————————————————————————
  3. BSI ——-LSI——– Build Type——–Levelling speed———-Battle Strength
  4. 0 – 1 —- 8 – 9 —-> Power Leveler —– Extremely Fast ———- Very Weak
  5. 1 – 3 —> 6 – 8 —-> Monster Hunter ——- Very Fast —————- Weak
  6. 3 – 5 —> 4 – 6—–> Hybrid ————- Fast ————————— Strong
  7. 5 – 7 —> 2 – 4 —-> PvP —————– Slow ———————- Very Strong
  8. >7 —–> < 2——> Pure PvP——— Very Slow ———– Extremely Strong
  9. ——————————————————————————————————
  10.  
  11. example:  int ENE=181, stamina=128, level = 106; LSI = 4.12264, BSI = 3.4717;
  12. */
  13. #include <iostream>
  14. using namespace std;
  15.  
  16. int main()
  17. {
  18.     int ENE,STA,ATT,DEF;
  19.     float LVL;
  20.     cout << "Calculate Battle Strength Index[BSI] and Leveling Strength Index[LSI]"<<endl;
  21.     cout << "----------------------------------" << endl;
  22.     cout << "BSI ---LSI--- Build Type---Levelling speed----Battle Strength" << endl;
  23.     cout << "0 - 1 -- 8 - 9 --> Power Leveler -- Extremely Fast ---- Very Weak"<<endl;
  24.     cout << "1 - 3 -> 6 - 8 --> Monster Hunter --- Very Fast ------- Weak"<<endl;
  25.     cout << "3 - 5 -> 4 - 6 --> Hybrid ----- Fast --------- Strong"<<endl;
  26.     cout << "5 - 7 -> 2 - 4 --> PvP ------ Slow -------- Very Strong"<<endl;
  27.     cout << ">7 --> < 2 --> Pure PvP--- Very Slow ---- Extremely Strong"<<endl;
  28.     cout << "----------------------------------"<<endl<<endl;
  29.     cout << "Enter LVL: " ; cin >> LVL;
  30.     cout << "Enter ENERGY: " ; cin >> ENE;
  31.     cout << "Enter STAMINA: "; cin >> STA;
  32.     cout << "Enter ATTACK: "; cin >> ATT;
  33.     cout << "Enter DEFENSE: "; cin >> DEF;
  34.     cout << endl;
  35.     float LSI = (ENE + (STA*2)) / LVL;
  36.     float BSI = (ATT + DEF ) / LVL;
  37.     cout <<"LSI: " << LSI << " BSI: " <<BSI << endl;
  38.     if ((BSI>=0&&BSI<=1) && (LSI>=8&&LSI<=9))
  39.     cout << "You are Power Leveler. Extremely fast levelling speed but very weak battle strength.";
  40.     else if ((BSI>=1&&BSI<=3) && (LSI>=6&&LSI<=9))
  41.     cout << "You are Monster Hunter. Very fast levelling speed but weak battle strength.";
  42.     else if ((BSI>=3&&BSI<=5) && (LSI>=4&&LSI<=6))
  43.     cout << "You are Hybrid. Fast levelling speed and strong battle strength.";
  44.     else if ((BSI>=5&&BSI<=7) && (LSI>=2&&LSI<=4))
  45.     cout << "You are PVP. Slow levelling speed but very strong battle strength.";
  46.     else if ((BSI>7) && (LSI<2))
  47.     cout << "You are PVP. Slow levelling speed but very strong battle strength.";
  48.     cin.ignore(100,\'\\n\');
  49.     cin.get();
  50.     return 0;
  51. }
');