Guest User

Ammor stats do NETO

a guest
Jan 19th, 2015
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. $${
  2. do;
  3.  
  4. //=================================== POT
  5. &eff=;
  6. foreach(effects);
  7. &effname=%EFFECTNAME%:;
  8. #time=%EFFECTTIME%;
  9. #id=%EFFECTID%;
  10. if(%#time%>=60);
  11. #prim=%#time%/60;
  12. #seg=%#time%-(%#prim%*60);
  13. if(%#seg%<10);
  14. &seg=0%#seg%;
  15. else;
  16. &seg=%#seg%;
  17. endif;
  18. &efftime=%#prim%:%&seg%;
  19. else;
  20. if(%#time%<10);
  21. &efftime=0:0%#time%;
  22. else;
  23. &efftime=0:%#time%;
  24. endif;
  25. endif;
  26. if(%#time%<11);
  27. &efftime=&c&l%&efftime%;
  28. else;
  29. &efftime=&2%&efftime%;
  30. endif;
  31. &eff=%&eff%\n&f%&effname% %&efftime%;
  32. next;
  33. setlabel(POT,"%&eff%",POT);
  34.  
  35. //=================================== FPS
  36.  
  37. setlabel(FPS,&fFPS&8: &2%FPS%,FPS)
  38.  
  39. //=================================== SET
  40. if(%HELMNAME%="None");
  41. &cap="&4Sem Helmo";
  42. else;
  43. &cap="&fCAPA&8: &2 %HELMDURABILITY%";
  44. if(%HELMDURABILITY% < 40);
  45. &cap="&fCAPA&8: &c&l%HELMDURABILITY%";
  46. endif;
  47. endif;
  48.  
  49. if(%CHESTPLATENAME%="None");
  50. &pet="&4Sem Peitoral";
  51. else;
  52. &pet="&fPEITO&8: &2%CHESTPLATEDURABILITY%";
  53. if(%CHESTPLATEDURABILITY% < 80);
  54. &pet="&fPEITO&8: &c&l%CHESTPLATEDURABILITY%";
  55. endif;
  56. endif;
  57.  
  58. if(%LEGGINGSNAME%="None");
  59. &cal="&4Sem Calça";
  60. else;
  61. &cal="&fCALÇA&8: &2%LEGGINGSDURABILITY%";
  62. if(%LEGGINGSDURABILITY% < 80);
  63. &cal="&6CALÇA&8: &c&l%LEGGINGSDURABILITY%";
  64. endif;
  65. endif;
  66.  
  67. if(%BOOTSNAME%="None");
  68. &bot="&4Sem Bota";
  69. else;
  70. &bot="&fBOTA&8: &2%BOOTSDURABILITY%";
  71. if(%BOOTSDURABILITY% < 60);
  72. &bot="&fBOTA&8: &c&l%BOOTSDURABILITY%";
  73. endif;
  74. endif;
  75.  
  76. setlabel(SET,"%&cap%\n\n%&pet%\n\n%&cal%\n\n%&bot%",SET);
  77.  
  78. //=================================== SETRED
  79.  
  80. if(%HELMDURABILITY% < 50);
  81. &cap=&4TROCA CAPA;
  82. ELSE;
  83. &cap= ;
  84. endif;
  85.  
  86. if(%CHESTPLATEDURABILITY% < 50);
  87. &pet=&4TROCA PEITO;
  88. ELSE;
  89. &pet= ;
  90. endif;
  91.  
  92. if(%LEGGINGSDURABILITY% < 50);
  93. &cal=&4TROCA CALÇA;
  94. ELSE;
  95. &cal= ;
  96. endif;
  97.  
  98. if(%BOOTSDURABILITY% < 50);
  99. &bot=&4TROCA BOTA;
  100. ELSE;
  101. &bot= ;
  102. endif;
  103. SETLABEL(SETRED,"%&cap%\n\n%&pet%\n\n%&cal%\n\n%&bot%",SETRED)
  104.  
  105. loop;
  106. }$$
Advertisement
Add Comment
Please, Sign In to add comment