Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Numerics;
  7.  
  8. namespace AKmonitor
  9. {
  10. class Program
  11. {
  12. static void Main(string[] args)
  13. {
  14.  
  15. int MAX=62;
  16. double[] AK = new double[25] {100000, 130000, 170000, 220000, 290000, 380000,
  17. 490000,640000,830000,1080000,1400000,1820000,2370000,3080000,4000000,5200000,6760000,
  18. 8790000,11430000,14860000,19320000,25120000,32660000,42460000,55200000};
  19.  
  20. double[] AP = new double[62] { 70766330, 99766330, 137766330, 186766330, 250766330, 333766330, 441766330, 581766330, 763766330, 1000766330, 1308766330, 1708766330, 2208766330,
  21. 2904766330, 3784766330,4928766330,6416766330,8352766330,10868766330,14140766330,18392766330,23920766330,31108766330,30452766330,52600766330,68392776330,
  22. 88920766330,115608766330,150304766330,195408766330,254044766330,330272766330,429368766330,558192766330,725664766330,943376766330,1226400766330,1594332766330,2072644766330,2694644766330,3502644766330,4552644766330,5922644766330,
  23. 7702644766330,10012644766330,13012644766330,16912644766330,21982644766330,28572644766330,37142644766330,48242644766330,62742644766330,81542644766330,106042644766330,
  24. 137842644766330,179242644766330,233042644766330,302942644766330,393842644766330,511842644766330,665842644766330,865842644766330};
  25. double APT = 65256330;
  26. double modify;
  27. double APgain = 2500000;
  28. bool fin = false;
  29. int day = 1;
  30. System.DateTime dTime = new System.DateTime(2017, 3, 29);
  31. System.TimeSpan tSpan = new System.TimeSpan(1,0,0,0);
  32. int traitcounter = 0;
  33. int akcounter = 0;
  34. /* Console.WriteLine("Enter base Ap grind per day: ");
  35. APgain = Convert.ToDouble(Console.ReadLine());
  36. Console.WriteLine("Trait you would like to go up to?");
  37. MAX = Convert.ToInt32(Console.ReadLine());
  38. MAX -= 39;*/
  39.  
  40. while(!fin)
  41. {
  42. if (day % 5 == 0)
  43. {
  44. if (akcounter < 24)
  45. {
  46. akcounter++;
  47.  
  48. modify = AK[akcounter]/AK[akcounter - 1];
  49.  
  50. APgain = (APgain*modify);
  51. }
  52. }
  53. APT += APgain;
  54.  
  55. if(AP[traitcounter]<APT)
  56. {
  57. traitcounter++;
  58.  
  59. Console.WriteLine(dTime.ToString("dd/MM/yyyy")+ " Trait: " + (traitcounter + 39)+ " Total AP: "+ APT+" AP farmed a day:"+APgain+" AK="+(akcounter+26));
  60.  
  61. }
  62. dTime += tSpan;
  63. if(day%13==0)
  64. {
  65. //Console.WriteLine(dTime.ToString("dd/MM/yyyy")+ " Trait: " + (traitcounter + 39)+ " Total AP: "+ APT+" AP farmed a day:"+APgain+" AK="+(akcounter+26));
  66. }
  67. day++;
  68. if (traitcounter == MAX)
  69. fin = true;
  70.  
  71.  
  72.  
  73. }
  74. Console.ReadLine();
  75. }
  76. }
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement